diff options
author | 2015-10-22 18:54:41 +0000 | |
---|---|---|
committer | 2015-10-22 18:54:41 +0000 | |
commit | b9d698a016ffc11ce0326abe89ab955a1cf5889d (patch) | |
tree | 6af1b9e6195afbfd2117c230843dddca92a3ce08 | |
parent | Drop historical comment and an old '#if notyet'. (diff) | |
download | wireguard-openbsd-b9d698a016ffc11ce0326abe89ab955a1cf5889d.tar.xz wireguard-openbsd-b9d698a016ffc11ce0326abe89ab955a1cf5889d.zip |
Build boot blocks with -msmall-data -msmall-text.
-rw-r--r-- | sys/arch/alpha/stand/boot/Makefile | 5 | ||||
-rw-r--r-- | sys/arch/alpha/stand/bootxx/Makefile | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/alpha/stand/boot/Makefile b/sys/arch/alpha/stand/boot/Makefile index b70b3d2ea75..5ba99b7ba28 100644 --- a/sys/arch/alpha/stand/boot/Makefile +++ b/sys/arch/alpha/stand/boot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2012/09/01 15:10:06 pascal Exp $ +# $OpenBSD: Makefile,v 1.20 2015/10/22 18:54:41 miod Exp $ # $NetBSD: Makefile,v 1.17 1997/04/17 07:27:46 thorpej Exp $ S= ${.CURDIR}/../../../.. @@ -28,7 +28,8 @@ DEFNS= -DCOMPAT_UFS AFLAGS += -DASSEMBLER ${DEFNS} -fno-pie CPPFLAGS += -I${.CURDIR}/../../../../lib/libsa -I${.CURDIR}/../.. -I${S} ${DEFNS} -CFLAGS = -Os -Werror -mno-fp-regs -fno-pie +CFLAGS = -Os -Werror -mno-fp-regs -fno-pie \ + -msmall-data -msmall-text ${PROG}.nosym: ${PROG}.sym cp ${PROG}.sym ${PROG}.nosym diff --git a/sys/arch/alpha/stand/bootxx/Makefile b/sys/arch/alpha/stand/bootxx/Makefile index 28a22012bfb..b57041cd64e 100644 --- a/sys/arch/alpha/stand/bootxx/Makefile +++ b/sys/arch/alpha/stand/bootxx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2013/06/13 11:27:56 deraadt Exp $ +# $OpenBSD: Makefile,v 1.15 2015/10/22 18:54:41 miod Exp $ # $NetBSD: Makefile,v 1.12 1997/04/17 07:27:49 thorpej Exp $ S= ${.CURDIR}/../../../.. @@ -23,7 +23,8 @@ DEFNS= -DPRIMARY_BOOTBLOCK AFLAGS += -DASSEMBLER ${DEFNS} -fno-pie CPPFLAGS += -I${.CURDIR}/../.. -I${S} ${DEFNS} -CFLAGS = -Werror -mno-fp-regs -fno-pie +CFLAGS = -Werror -mno-fp-regs -fno-pie \ + -msmall-data -msmall-text ${PROG}.nosym: ${PROG}.sym cp ${PROG}.sym ${PROG}.nosym |