X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2FMakefile;h=c5e4855268431e6b01023c6af6b0cdbeca5f32bc;hb=979d9e154fd0d644f65cac9cf20b379e107a8cee;hp=662938664d079be36d339958acde8ece5f914acf;hpb=eebf478f38971e30aee103803a117bed178414ad;p=pintos-anon diff --git a/src/tests/userprog/Makefile b/src/tests/userprog/Makefile index 6629386..c5e4855 100644 --- a/src/tests/userprog/Makefile +++ b/src/tests/userprog/Makefile @@ -2,9 +2,13 @@ include ../../Make.config SHELL = /bin/sh -LDFLAGS = -nostdlib -static -Wl,-T,elf.x +LDFLAGS = -nostdlib -static 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 + VPATH = ../.. DEFINES = -DUSER