aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-31 12:24:18 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-31 12:24:18 +0000
commit01feaa058ed41800ced5605859592de8028c0ee5 (patch)
tree9306ad5af76ca0e5c0b5a01fe6a9e41cd13903af /Makefile.target
parentbf53ca01900d093e75f0b85eb00ebf359fbee301 (diff)
Save some vm space for the regular program loading zone, by
Pierre d'Herbemont git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2371 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index ca6cd9600e..b840cc7822 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -172,6 +172,11 @@ ifeq ($(CONFIG_DARWIN),yes)
LIBS+=-lmx
endif
+ifdef CONFIG_DARWIN_USER
+# Leave some space for the regular program loading zone
+BASE_LDFLAGS+=-Wl,-segaddr,__STD_PROG_ZONE,0x1000 -image_base 0x0e000000
+endif
+
OP_CFLAGS+=$(OS_CFLAGS)
#########################################################