Move segment rounding LDFLAGS into tests/userprog/Makefile.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 27 Oct 2004 03:55:03 +0000 (03:55 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 27 Oct 2004 03:55:03 +0000 (03:55 +0000)
src/Makefile.userprog
src/tests/userprog/Makefile

index 26d622d92d35848af03e1363e68e1fd79506f979..6b3c25027d2df1445ee00472292f17d619b044e3 100644 (file)
@@ -13,10 +13,6 @@ CPPFLAGS = -nostdinc -I$(SRCDIR) -I- -I$(SRCDIR)/lib -I$(SRCDIR)/lib/user
 LDFLAGS = -nostdlib -static -s
 LDLIBS = $(shell $(CC) -print-libgcc-file-name)
 
-# Uncomment the line below to round up segment sizes to full pages for
-# testing purposes only.
-#LDFLAGS += -Wl,-T,fullpage.x
-
 # C library sources linked into every test program.
 LIB_SRC  = lib/debug.c                 # Debug code.
 LIB_SRC += lib/random.c                        # Pseudo-random numbers.
index 2aad5a3e5f4f0d097ff8b1115dc020da7c15f615..291cf75bbffb83a55a102f9689276c26c871ab23 100644 (file)
@@ -14,3 +14,7 @@ recursor_SRC = recursor.c
 shell_SRC = shell.c
 
 include $(SRCDIR)/Makefile.userprog
+
+# Uncomment the line below to round up segment sizes to full pages for
+# testing purposes only.
+#LDFLAGS += -Wl,-T,fullpage.x