summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2003-01-31 20:06:32 +0000
committerdrahn <drahn@openbsd.org>2003-01-31 20:06:32 +0000
commitaae11f39fa37e00314a04886dbc4e2753bc1e7c2 (patch)
tree2d6536ad2b3a89f8f98eb7ccf4d8ce412c70c787
parentThe fix introduced with 1.294 to solve issues with route-to in (diff)
downloadwireguard-openbsd-aae11f39fa37e00314a04886dbc4e2753bc1e7c2.tar.xz
wireguard-openbsd-aae11f39fa37e00314a04886dbc4e2753bc1e7c2.zip
Change how the bootloader links to get around size/start address issues
introduced by W^X. exe size goes back to 60640 from 126456.
-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>