disable PIE for boot code.

This commit is contained in:
christos 2008-10-20 03:02:07 +00:00
parent c25473a894
commit 44c25f2fda
7 changed files with 34 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.boot,v 1.35 2008/10/19 21:27:46 snj Exp $
# $NetBSD: Makefile.boot,v 1.36 2008/10/20 03:02:07 christos Exp $
S= ${.CURDIR}/../../../../../
@ -15,6 +15,10 @@ SRCS= ${SOURCES}
SRCS+= vers.c
.endif
PIE_CFLAGS=
PIE_AFLAGS=
PIE_LDFLAGS=
.include <bsd.own.mk>
STRIPFLAG= # nothing

View File

@ -1,7 +1,10 @@
# $NetBSD: Makefile.bootxx,v 1.32 2008/08/29 00:02:23 gmcgarry Exp $
# $NetBSD: Makefile.bootxx,v 1.33 2008/10/20 03:02:07 christos Exp $
S= ${.CURDIR}/../../../../../
PIE_CFLAGS=
PIE_LDFLAGS=
PIE_AFLAGS=
NOMAN=
PROG?= bootxx_${FS}
BINDIR= /usr/mdec

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2006/06/25 14:35:18 lukem Exp $
# $NetBSD: Makefile,v 1.7 2008/10/20 03:02:07 christos Exp $
S= ${.CURDIR}/../../../..
@ -13,6 +13,10 @@ LIBC= # nothing
PRIMARY_LOAD_ADDRESS=0x600
SECONDARY_LOAD_ADDRESS=0x10000
PIE_CFLAGS=
PIE_LDFLAGS=
PIE_AFLAGS=
.include <bsd.own.mk>
PROG= cdboot

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2003/04/01 21:25:35 mycroft Exp $
# $NetBSD: Makefile,v 1.24 2008/10/20 03:02:07 christos Exp $
S= ${.CURDIR}/../../../../
@ -32,6 +32,10 @@ I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes
VERSIONFILE= ${.CURDIR}/version
PIE_CFLAGS=
PIE_LDFLAGS=
PIE_AFLAGS=
.include <bsd.own.mk>
release: check_RELEASEDIR

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.fat,v 1.1 2007/01/06 20:47:15 dsl Exp $
# $NetBSD: Makefile.fat,v 1.2 2008/10/20 03:02:07 christos Exp $
S= ${.CURDIR}/../../../../../
@ -10,6 +10,10 @@ LIBCRTBEGIN= # nothing
LIBCRTEND= # nothing
LIBC= # nothing
PIE_CFLAGS=
PIE_LDFLAGS=
PIE_AFLAGS=
.include <bsd.own.mk>
STRIPFLAG= # override

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mbr,v 1.12 2006/06/29 06:31:12 lukem Exp $
# $NetBSD: Makefile.mbr,v 1.13 2008/10/20 03:02:07 christos Exp $
S= ${.CURDIR}/../../../../../
@ -9,6 +9,10 @@ LIBCRTBEGIN= # nothing
LIBCRTEND= # nothing
LIBC= # nothing
PIE_CFLAGS=
PIE_LDFLAGS=
PIE_AFLAGS=
.include <bsd.own.mk>
STRIPFLAG= # override

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2007/02/27 18:17:28 he Exp $
# $NetBSD: Makefile,v 1.15 2008/10/20 03:02:07 christos Exp $
S= ${.CURDIR}/../../../../
@ -19,6 +19,10 @@ SRCS= main.c dev_net.c devopen.c conf.c exec.c pxe.c pxe_call.S
.PATH: ${.CURDIR}/../libsa
SRCS+= nfs.c
PIE_CFLAGS=
PIE_AFLAGS=
PIE_LDFLAGS=
.include <bsd.own.mk>
.if ${MACHINE} == "amd64"