]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
Save some vm space for the regular program loading zone, by
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 31 Jan 2007 12:24:18 +0000 (12:24 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 31 Jan 2007 12:24:18 +0000 (12:24 +0000)
Pierre d'Herbemont

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2371 c046a42c-6fe2-441c-8c8c-71466251a162

Makefile.target

index ca6cd9600eeadd535f292b476b05a3ba5539d109..b840cc78229880e8ecbd30cc54a16ac423585a07 100644 (file)
@@ -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)
 
 #########################################################