From 9d946c0ccc9ff18bfe02e66ee6abf854f743a58e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 27 Oct 2004 03:55:03 +0000 Subject: [PATCH] Move segment rounding LDFLAGS into tests/userprog/Makefile. --- src/Makefile.userprog | 4 ---- src/tests/userprog/Makefile | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2