From: Ben Pfaff Date: Wed, 27 Oct 2004 03:55:03 +0000 (+0000) Subject: Move segment rounding LDFLAGS into tests/userprog/Makefile. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=commitdiff_plain;h=d4b02357cd5e2d9dd666b82a6e831e30ced8c10b Move segment rounding LDFLAGS into tests/userprog/Makefile. --- diff --git a/src/Makefile.userprog b/src/Makefile.userprog index 26d622d..6b3c250 100644 --- a/src/Makefile.userprog +++ b/src/Makefile.userprog @@ -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. diff --git a/src/tests/userprog/Makefile b/src/tests/userprog/Makefile index 2aad5a3..291cf75 100644 --- a/src/tests/userprog/Makefile +++ b/src/tests/userprog/Makefile @@ -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