summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-01-31 20:06:33 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-01-31 20:06:33 +0000
commitc9a4aad74770824be904f134f877e6be6561e9c0 (patch)
tree7cda6acc363c41dbd7e00cc91961bbfb924bdfee /sys/arch
parentde0c93d675056b873853b267fe41459aba28847a (diff)
Change how the bootloader links to get around size/start address issues
introduced by W^X. exe size goes back to 60640 from 126456.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/stand/ofwboot/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/stand/ofwboot/Makefile b/sys/arch/macppc/stand/ofwboot/Makefile
index dd464abf906..65913208e75 100644
--- a/sys/arch/macppc/stand/ofwboot/Makefile
+++ b/sys/arch/macppc/stand/ofwboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2001/09/01 15:34:13 drahn Exp $
+# $OpenBSD: Makefile,v 1.2 2003/01/31 20:06:32 drahn Exp $
# $NetBSD: Makefile,v 1.2 1997/04/17 07:46:24 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -19,7 +19,7 @@ BINDIR= /usr/mdec
NEWVERSWHAT= "OpenFirmware Boot"
# For now...
-RELOC= 20074
+RELOC= 20000
ENTRY= _start
@@ -32,7 +32,7 @@ CPPFLAGS+= -DXCOFF_GLUE # for booting PCI Powermacs
LIBS!= cd $(.CURDIR)/$(R); $(MAKE) libdep
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
- ${LD} -X -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
+ ${LD} -N -X -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \
${OBJS} ${LIBS}
.include <bsd.prog.mk>