From 979d9e154fd0d644f65cac9cf20b379e107a8cee Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 20 Sep 2004 22:24:21 +0000 Subject: [PATCH] Make page alignment optional. --- src/tests/userprog/Makefile | 6 +++++- src/tests/userprog/{elf.x => fullpage.x} | 0 2 files changed, 5 insertions(+), 1 deletion(-) rename src/tests/userprog/{elf.x => fullpage.x} (100%) 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 diff --git a/src/tests/userprog/elf.x b/src/tests/userprog/fullpage.x similarity index 100% rename from src/tests/userprog/elf.x rename to src/tests/userprog/fullpage.x -- 2.30.2