Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2014 15:04:33 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270168 - in head: . bin/rmail gnu/usr.bin/binutils/addr2line gnu/usr.bin/binutils/nm gnu/usr.bin/binutils/objcopy gnu/usr.bin/binutils/objdump gnu/usr.bin/binutils/readelf gnu/usr.bin/...
Message-ID:  <201408191504.s7JF4XJq083360@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Aug 19 15:04:32 2014
New Revision: 270168
URL: http://svnweb.freebsd.org/changeset/base/270168

Log:
  Revert r267233 for now. PIE support needs to be reworked.
  
  1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other
     build-only utility libraries.
  2. Another 40% is fixed by generating _pic.a variants of various libraries.
  3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR)
     where it never would work anyhow, such as csu or loader. This suggests
     there may be better ways of adding support to the tree. Many of these
     cases can be fixed such that -fPIE will work but there is really no
     reason to have it in those cases.
  4. Some of the uses are working around hacks done to some Makefiles that are
     really building libraries but have been using bsd.prog.mk because the code
     is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have
     been needed.
  
  We likely do want to enable PIE by default (opt-out) for non-tree consumers
  (such as ports). For in-tree though we probably want to only enable PIE
  (opt-in) for common attack targets such as remote service daemons and setuid
  utilities. This is also a great performance compromise since ASLR is expected
  to reduce performance. As such it does not make sense to enable it in all
  utilities such as ls(1) that have little benefit to having it enabled.
  
  Reported by:	kib

Deleted:
  head/tools/build/options/WITH_PIE
Modified:
  head/Makefile.inc1
  head/bin/rmail/Makefile
  head/gnu/usr.bin/binutils/addr2line/Makefile
  head/gnu/usr.bin/binutils/nm/Makefile
  head/gnu/usr.bin/binutils/objcopy/Makefile
  head/gnu/usr.bin/binutils/objdump/Makefile
  head/gnu/usr.bin/binutils/readelf/Makefile
  head/gnu/usr.bin/binutils/size/Makefile
  head/gnu/usr.bin/binutils/strings/Makefile
  head/gnu/usr.bin/binutils/strip/Makefile
  head/gnu/usr.bin/gdb/gdb/Makefile
  head/gnu/usr.bin/gdb/gdbtui/Makefile
  head/gnu/usr.bin/gdb/kgdb/Makefile
  head/gnu/usr.bin/groff/src/devices/grodvi/Makefile
  head/gnu/usr.bin/groff/src/devices/grohtml/Makefile
  head/gnu/usr.bin/groff/src/devices/grolbp/Makefile
  head/gnu/usr.bin/groff/src/devices/grolj4/Makefile
  head/gnu/usr.bin/groff/src/devices/grops/Makefile
  head/gnu/usr.bin/groff/src/devices/grotty/Makefile
  head/gnu/usr.bin/groff/src/preproc/eqn/Makefile
  head/gnu/usr.bin/groff/src/preproc/grn/Makefile
  head/gnu/usr.bin/groff/src/preproc/html/Makefile
  head/gnu/usr.bin/groff/src/preproc/pic/Makefile
  head/gnu/usr.bin/groff/src/preproc/refer/Makefile
  head/gnu/usr.bin/groff/src/preproc/soelim/Makefile
  head/gnu/usr.bin/groff/src/preproc/tbl/Makefile
  head/gnu/usr.bin/groff/src/roff/groff/Makefile
  head/gnu/usr.bin/groff/src/roff/troff/Makefile
  head/gnu/usr.bin/groff/src/utils/addftinfo/Makefile
  head/gnu/usr.bin/groff/src/utils/hpftodit/Makefile
  head/gnu/usr.bin/groff/src/utils/indxbib/Makefile
  head/gnu/usr.bin/groff/src/utils/lkbib/Makefile
  head/gnu/usr.bin/groff/src/utils/lookbib/Makefile
  head/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile
  head/gnu/usr.bin/rcs/Makefile.inc
  head/gnu/usr.bin/texinfo/info/Makefile
  head/gnu/usr.bin/texinfo/infokey/Makefile
  head/gnu/usr.bin/texinfo/install-info/Makefile
  head/gnu/usr.bin/texinfo/makeinfo/Makefile
  head/gnu/usr.bin/texinfo/texindex/Makefile
  head/kerberos5/libexec/digest-service/Makefile
  head/kerberos5/libexec/hprop/Makefile
  head/kerberos5/libexec/hpropd/Makefile
  head/kerberos5/libexec/ipropd-master/Makefile
  head/kerberos5/libexec/ipropd-slave/Makefile
  head/kerberos5/libexec/kadmind/Makefile
  head/kerberos5/libexec/kcm/Makefile
  head/kerberos5/libexec/kdc/Makefile
  head/kerberos5/libexec/kdigest/Makefile
  head/kerberos5/libexec/kfd/Makefile
  head/kerberos5/libexec/kimpersonate/Makefile
  head/kerberos5/libexec/kpasswdd/Makefile
  head/kerberos5/tools/asn1_compile/Makefile
  head/kerberos5/tools/slc/Makefile
  head/kerberos5/usr.bin/hxtool/Makefile
  head/kerberos5/usr.bin/kadmin/Makefile
  head/kerberos5/usr.bin/kcc/Makefile
  head/kerberos5/usr.bin/kdestroy/Makefile
  head/kerberos5/usr.bin/kf/Makefile
  head/kerberos5/usr.bin/kgetcred/Makefile
  head/kerberos5/usr.bin/kinit/Makefile
  head/kerberos5/usr.bin/kpasswd/Makefile
  head/kerberos5/usr.bin/ksu/Makefile
  head/kerberos5/usr.bin/string2key/Makefile
  head/kerberos5/usr.bin/verify_krb5_conf/Makefile
  head/kerberos5/usr.sbin/iprop-log/Makefile
  head/kerberos5/usr.sbin/kstash/Makefile
  head/kerberos5/usr.sbin/ktutil/Makefile
  head/lib/csu/amd64/Makefile
  head/lib/csu/i386-elf/Makefile
  head/libexec/mail.local/Makefile
  head/libexec/rtld-elf/Makefile
  head/libexec/smrsh/Makefile
  head/libexec/telnetd/Makefile
  head/sbin/fsck/Makefile
  head/sbin/ipf/ipf/Makefile
  head/sbin/ipf/ipfstat/Makefile
  head/sbin/ipf/ipftest/Makefile
  head/sbin/ipf/ipmon/Makefile
  head/sbin/ipf/ipnat/Makefile
  head/sbin/ipf/ippool/Makefile
  head/sbin/ipf/ipresend/Makefile
  head/sbin/rcorder/Makefile
  head/share/mk/bsd.opts.mk
  head/share/mk/bsd.prog.mk
  head/sys/boot/i386/boot2/Makefile
  head/sys/boot/i386/btx/btx/Makefile
  head/sys/boot/i386/btx/btxldr/Makefile
  head/sys/boot/i386/btx/lib/Makefile
  head/sys/boot/i386/loader/Makefile
  head/sys/boot/mips/beri/boot2/Makefile
  head/sys/boot/mips/beri/loader/Makefile
  head/sys/boot/pc98/boot2/Makefile
  head/sys/boot/pc98/btx/lib/Makefile
  head/sys/boot/pc98/loader/Makefile
  head/sys/boot/sparc64/boot1/Makefile
  head/sys/boot/sparc64/loader/Makefile
  head/usr.bin/clang/clang-tblgen/Makefile
  head/usr.bin/clang/clang.prog.mk
  head/usr.bin/clang/tblgen/Makefile
  head/usr.bin/compile_et/Makefile
  head/usr.bin/mandoc/Makefile
  head/usr.bin/svn/svn/Makefile
  head/usr.bin/svn/svnadmin/Makefile
  head/usr.bin/svn/svndumpfilter/Makefile
  head/usr.bin/svn/svnlook/Makefile
  head/usr.bin/svn/svnmucc/Makefile
  head/usr.bin/svn/svnrdump/Makefile
  head/usr.bin/svn/svnserve/Makefile
  head/usr.bin/svn/svnsync/Makefile
  head/usr.bin/svn/svnversion/Makefile
  head/usr.bin/telnet/Makefile
  head/usr.bin/vacation/Makefile
  head/usr.sbin/amd/amd/Makefile
  head/usr.sbin/amd/amq/Makefile
  head/usr.sbin/amd/fixmount/Makefile
  head/usr.sbin/amd/fsinfo/Makefile
  head/usr.sbin/amd/hlfsd/Makefile
  head/usr.sbin/amd/mk-amd-map/Makefile
  head/usr.sbin/amd/pawd/Makefile
  head/usr.sbin/amd/wire-test/Makefile
  head/usr.sbin/btxld/Makefile
  head/usr.sbin/cron/cron/Makefile
  head/usr.sbin/cron/crontab/Makefile
  head/usr.sbin/crunch/crunchgen/Makefile
  head/usr.sbin/crunch/crunchide/Makefile
  head/usr.sbin/editmap/Makefile
  head/usr.sbin/fifolog/fifolog_create/Makefile
  head/usr.sbin/fifolog/fifolog_reader/Makefile
  head/usr.sbin/fifolog/fifolog_writer/Makefile
  head/usr.sbin/ftp-proxy/ftp-proxy/Makefile
  head/usr.sbin/lpr/chkprintcap/Makefile
  head/usr.sbin/lpr/lpc/Makefile
  head/usr.sbin/lpr/lpd/Makefile
  head/usr.sbin/lpr/lpq/Makefile
  head/usr.sbin/lpr/lpr/Makefile
  head/usr.sbin/lpr/lprm/Makefile
  head/usr.sbin/lpr/pac/Makefile
  head/usr.sbin/mailstats/Makefile
  head/usr.sbin/makefs/Makefile
  head/usr.sbin/makemap/Makefile
  head/usr.sbin/nmtree/Makefile
  head/usr.sbin/ntp/ntp-keygen/Makefile
  head/usr.sbin/ntp/ntpd/Makefile
  head/usr.sbin/ntp/ntpdate/Makefile
  head/usr.sbin/ntp/ntpdc/Makefile
  head/usr.sbin/ntp/ntpq/Makefile
  head/usr.sbin/ntp/ntptime/Makefile
  head/usr.sbin/praliases/Makefile
  head/usr.sbin/sendmail/Makefile

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/Makefile.inc1	Tue Aug 19 15:04:32 2014	(r270168)
@@ -246,7 +246,7 @@ BMAKE=		MAKEOBJDIRPREFIX=${WORLDTMP} \
 		${BMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \
 		DESTDIR= \
 		BOOTSTRAPPING=${OSRELDATE} \
-		SSP_CFLAGS= MK_PIE=no \
+		SSP_CFLAGS= \
 		MK_HTML=no MK_INFO=no NO_LINT=yes MK_MAN=no \
 		-DNO_PIC MK_PROFILE=no -DNO_SHARED \
 		-DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \
@@ -258,7 +258,7 @@ TMAKE=		MAKEOBJDIRPREFIX=${OBJTREE} \
 		TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
 		DESTDIR= \
 		BOOTSTRAPPING=${OSRELDATE} \
-		SSP_CFLAGS= MK_PIE=no \
+		SSP_CFLAGS= \
 		-DNO_LINT \
 		-DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no MK_CLANG_FULL=no MK_LLDB=no MK_TESTS=no
 
@@ -276,7 +276,7 @@ KTMAKE=		TOOLS_PREFIX=${WORLDTMP} MAKEOB
 		${KTMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \
 		DESTDIR= \
 		BOOTSTRAPPING=${OSRELDATE} \
-		SSP_CFLAGS= MK_PIE=no \
+		SSP_CFLAGS= \
 		MK_HTML=no MK_INFO=no -DNO_LINT MK_MAN=no \
 		-DNO_PIC MK_PROFILE=no -DNO_SHARED \
 		-DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no
@@ -1426,7 +1426,7 @@ NXBMAKE=	${NXBENV} ${MAKE} \
 		CLANG_TBLGEN=${OBJTREE}/nxb-bin/usr/bin/clang-tblgen \
 		MACHINE=${TARGET} MACHINE_ARCH=${TARGET_ARCH} \
 		MK_GDB=no MK_TESTS=no \
-		SSP_CFLAGS= MK_PIE=no \
+		SSP_CFLAGS= \
 		MK_HTML=no MK_INFO=no NO_LINT=yes MK_MAN=no \
 		-DNO_PIC MK_PROFILE=no -DNO_SHARED \
 		-DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \

Modified: head/bin/rmail/Makefile
==============================================================================
--- head/bin/rmail/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/bin/rmail/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,8 +14,6 @@ MAN=	rmail.8
 WARNS?=	2
 CFLAGS+=-I${SENDMAIL_DIR}/include -I.
 
-NO_PIE=	yes
-
 LIBSMDIR=	${.OBJDIR}/../../lib/libsm
 LIBSM=		${LIBSMDIR}/libsm.a
 

Modified: head/gnu/usr.bin/binutils/addr2line/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/addr2line/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/binutils/addr2line/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,6 +14,4 @@ DPADD+=	${RELTOP}/libbfd/libbfd.a
 DPADD+=	${RELTOP}/libiberty/libiberty.a
 LDADD=	${DPADD}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/binutils/nm/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/nm/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/binutils/nm/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -15,6 +15,4 @@ DPADD+=	${RELTOP}/libbfd/libbfd.a
 DPADD+=	${RELTOP}/libiberty/libiberty.a
 LDADD=	${DPADD}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/binutils/objcopy/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/objcopy/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/binutils/objcopy/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,6 +14,4 @@ DPADD+=	${RELTOP}/libbfd/libbfd.a
 DPADD+=	${RELTOP}/libiberty/libiberty.a
 LDADD=	${DPADD}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/binutils/objdump/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/objdump/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/binutils/objdump/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -16,6 +16,4 @@ DPADD+=	${RELTOP}/libbfd/libbfd.a
 DPADD+=	${RELTOP}/libiberty/libiberty.a
 LDADD=	${DPADD}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/binutils/readelf/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/readelf/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/binutils/readelf/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -17,6 +17,4 @@ DPADD+=	${RELTOP}/libbfd/libbfd.a
 DPADD+=	${RELTOP}/libiberty/libiberty.a
 LDADD=	${DPADD}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/binutils/size/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/size/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/binutils/size/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,6 +14,4 @@ DPADD+=	${RELTOP}/libbfd/libbfd.a
 DPADD+=	${RELTOP}/libiberty/libiberty.a
 LDADD=	${DPADD}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/binutils/strings/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/strings/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/binutils/strings/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,6 +14,4 @@ DPADD+=	${RELTOP}/libbfd/libbfd.a
 DPADD+=	${RELTOP}/libiberty/libiberty.a
 LDADD=	${DPADD}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/binutils/strip/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/strip/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/binutils/strip/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -15,6 +15,4 @@ DPADD+=	${RELTOP}/libiberty/libiberty.a
 LDADD=	${DPADD}
 INSTALLFLAGS= -S
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/gdb/gdb/Makefile
==============================================================================
--- head/gnu/usr.bin/gdb/gdb/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/gdb/gdb/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,7 +14,5 @@ LDFLAGS+= -Wl,-E
 DPADD=	${GDBLIBS} ${BULIBS} ${LIBM} ${LIBREADLINE} ${LIBTERMCAPW} ${LIBGNUREGEX}
 LDADD=	${GDBLIBS} ${BULIBS} -lm ${LDREADLINE} -ltermcapw -lgnuregex
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 CFLAGS+=	-DDEBUGDIR=\"${DEBUGDIR}\"

Modified: head/gnu/usr.bin/gdb/gdbtui/Makefile
==============================================================================
--- head/gnu/usr.bin/gdb/gdbtui/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/gdb/gdbtui/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -15,6 +15,4 @@ LDFLAGS+= -Wl,-E
 DPADD=	${GDBLIBS} ${BULIBS} ${LIBM} ${LIBREADLINE} ${LIBTERMCAPW} ${LIBGNUREGEX}
 LDADD=	${GDBLIBS} ${BULIBS} -lm ${LDREADLINE} -ltermcapw -lgnuregex
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/gdb/kgdb/Makefile
==============================================================================
--- head/gnu/usr.bin/gdb/kgdb/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/gdb/kgdb/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -17,6 +17,4 @@ LDADD=	${GDBLIBS} ${BULIBS} -lkvm${GDB_S
 CFLAGS+= -Wl,-export-dynamic
 .endif
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/devices/grodvi/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/devices/grodvi/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/devices/grodvi/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBDRIVER} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBDRIVER} ${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/devices/grohtml/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/devices/grohtml/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/devices/grohtml/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBDRIVER} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBDRIVER} ${LIBGROFF} -lm
 MAN=
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/devices/grolbp/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/devices/grolbp/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/devices/grolbp/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBDRIVER} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBDRIVER} ${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/devices/grolj4/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/devices/grolj4/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/devices/grolj4/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -7,6 +7,4 @@ DPADD=		${LIBDRIVER} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBDRIVER} ${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/devices/grops/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/devices/grops/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/devices/grops/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBDRIVER} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBDRIVER} ${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/devices/grotty/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/devices/grotty/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/devices/grotty/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBDRIVER} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBDRIVER} ${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/preproc/eqn/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/preproc/eqn/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/preproc/eqn/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -11,8 +11,6 @@ SCRIPTS=	neqn
 MAN=		eqn.1 neqn.1
 CLEANFILES=	eqn.cpp eqn_tab.h ${SCRIPTS} ${MAN} y.tab.c y.tab.h
 
-NO_PIE=	yes
-
 eqn_tab.h: eqn.cpp
 
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/preproc/grn/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/preproc/grn/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/preproc/grn/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=	 	${LIBGROFF} ${LIBM}
 LDADD=	 	${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/preproc/html/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/preproc/html/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/preproc/html/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBGROFF}
 LDADD=		${LIBGROFF}
 MAN=
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/preproc/pic/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/preproc/pic/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/preproc/pic/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -8,8 +8,6 @@ DPADD=		${LIBGROFF} ${LIBM}
 LDADD=		${LIBGROFF} -lm
 CLEANFILES=	${MAN} pic.cpp pic_tab.h y.tab.c y.tab.h
 
-NO_PIE=	yes
-
 pic_tab.h: pic.cpp
 
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/preproc/refer/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/preproc/refer/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/preproc/refer/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -7,6 +7,4 @@ DPADD=		${LIBBIB} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBBIB} ${LIBGROFF} -lm
 CLEANFILES=	label.cpp label_tab.h ${MAN} y.tab.c y.tab.h
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/preproc/soelim/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/preproc/soelim/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/preproc/soelim/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBGROFF}
 LDADD=		${LIBGROFF}
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/preproc/tbl/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/preproc/tbl/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/preproc/tbl/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBGROFF} ${LIBM}
 LDADD=		${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/roff/groff/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/roff/groff/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/roff/groff/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBGROFF} ${LIBM}
 LDADD=		${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/roff/troff/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/roff/troff/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/roff/troff/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -7,8 +7,6 @@ DPADD=		${LIBGROFF} ${LIBM}
 LDADD=		${LIBGROFF} -lm
 CLEANFILES=	majorminor.cpp ${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 majorminor.cpp: ${GROFF_DIST}/VERSION ${GROFF_DIST}/REVISION

Modified: head/gnu/usr.bin/groff/src/utils/addftinfo/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/utils/addftinfo/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/utils/addftinfo/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBGROFF}
 LDADD=		${LIBGROFF}
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/utils/hpftodit/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/utils/hpftodit/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/utils/hpftodit/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBGROFF} ${LIBM}
 LDADD=		${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/utils/indxbib/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/utils/indxbib/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/utils/indxbib/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,8 +6,6 @@ DPADD=		${LIBBIB} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBBIB} ${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 beforeinstall:
 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
 	    ${DIST_DIR}/eign ${DESTDIR}${SHAREDIR}/dict/

Modified: head/gnu/usr.bin/groff/src/utils/lkbib/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/utils/lkbib/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/utils/lkbib/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBBIB} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBBIB} ${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/utils/lookbib/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/utils/lookbib/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/utils/lookbib/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBBIB} ${LIBGROFF} ${LIBM}
 LDADD=		${LIBBIB} ${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,6 +6,4 @@ DPADD=		${LIBGROFF} ${LIBM}
 LDADD=		${LIBGROFF} -lm
 CLEANFILES=	${MAN}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/gnu/usr.bin/rcs/Makefile.inc
==============================================================================
--- head/gnu/usr.bin/rcs/Makefile.inc	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/rcs/Makefile.inc	Tue Aug 19 15:04:32 2014	(r270168)
@@ -1,4 +1,3 @@
 # $FreeBSD$
 
 LIBRCS=	${.OBJDIR}/../lib/librcs.a
-NO_PIE=	yes

Modified: head/gnu/usr.bin/texinfo/info/Makefile
==============================================================================
--- head/gnu/usr.bin/texinfo/info/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/texinfo/info/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -13,8 +13,6 @@ CFLAGS+= -DINFODIR=\"${INFODIR}:/usr/loc
 DPADD=	${LIBTERMCAPW} ${LIBTXI}
 LDADD=	-ltermcapw ${LIBTXI}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH:	${TXIDIR}/info ${TXIDIR}/doc

Modified: head/gnu/usr.bin/texinfo/infokey/Makefile
==============================================================================
--- head/gnu/usr.bin/texinfo/infokey/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/texinfo/infokey/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,8 +6,6 @@ SRCS=	infokey.c key.c
 DPADD=	${LIBTXI}
 LDADD=	${LIBTXI}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH:	${TXIDIR}/info ${TXIDIR}/doc

Modified: head/gnu/usr.bin/texinfo/install-info/Makefile
==============================================================================
--- head/gnu/usr.bin/texinfo/install-info/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/texinfo/install-info/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -5,8 +5,6 @@ PROG=	install-info
 DPADD=	${LIBTXI}
 LDADD=	${LIBTXI}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH:	${TXIDIR}/util ${TXIDIR}/doc

Modified: head/gnu/usr.bin/texinfo/makeinfo/Makefile
==============================================================================
--- head/gnu/usr.bin/texinfo/makeinfo/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/texinfo/makeinfo/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -8,8 +8,6 @@ SRCS=	cmds.c defun.c files.c float.c foo
 DPADD=	${LIBTXI}
 LDADD=	${LIBTXI}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH:	$(TXIDIR)/makeinfo $(TXIDIR)/doc

Modified: head/gnu/usr.bin/texinfo/texindex/Makefile
==============================================================================
--- head/gnu/usr.bin/texinfo/texindex/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/gnu/usr.bin/texinfo/texindex/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -5,8 +5,6 @@ PROG=	texindex
 DPADD=	${LIBTXI}
 LDADD=	${LIBTXI}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH:	${TXIDIR}/util ${TXIDIR}/doc

Modified: head/kerberos5/libexec/digest-service/Makefile
==============================================================================
--- head/kerberos5/libexec/digest-service/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/digest-service/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,8 +14,6 @@ LDADD=	-lhdb -lkdc ${LDHEIMIPCS} -lkrb5 
 	${LIBVERS} -lheimntlm
 USEPRIVATELIB= heimipcs
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kdc

Modified: head/kerberos5/libexec/hprop/Makefile
==============================================================================
--- head/kerberos5/libexec/hprop/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/hprop/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -16,8 +16,6 @@ LDADD=	-lhdb -lkrb5 -lhx509 -lroken ${LI
 	-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kdc

Modified: head/kerberos5/libexec/hpropd/Makefile
==============================================================================
--- head/kerberos5/libexec/hpropd/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/hpropd/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -10,8 +10,6 @@ LDADD=	-lhdb -lkrb5 -lhx509 -lroken ${LI
 	-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kdc

Modified: head/kerberos5/libexec/ipropd-master/Makefile
==============================================================================
--- head/kerberos5/libexec/ipropd-master/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/ipropd-master/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -11,8 +11,6 @@ LDADD=	-lkadm5srv -lhdb -lkrb5 -lhx509 -
 	-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 foo::
 	echo ${LIBHX509}
 

Modified: head/kerberos5/libexec/ipropd-slave/Makefile
==============================================================================
--- head/kerberos5/libexec/ipropd-slave/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/ipropd-slave/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -11,8 +11,6 @@ LDADD=	-lkadm5srv -lhdb -lkrb5 -lhx509 -
 	-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/lib/kadm5

Modified: head/kerberos5/libexec/kadmind/Makefile
==============================================================================
--- head/kerberos5/libexec/kadmind/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/kadmind/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -15,8 +15,6 @@ LDADD=	-lkadm5srv -lgssapi -lhdb -lkrb5 
 	-lasn1 ${LIBVERS} -lcrypto -lcrypt ${LDAPLDADD}
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kadmin

Modified: head/kerberos5/libexec/kcm/Makefile
==============================================================================
--- head/kerberos5/libexec/kcm/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/kcm/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -26,8 +26,6 @@ LDADD=	-lhdb -lkrb5 -lroken -lasn1 -lhei
 USEPRIVATELIB= heimipcs
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kcm

Modified: head/kerberos5/libexec/kdc/Makefile
==============================================================================
--- head/kerberos5/libexec/kdc/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/kdc/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,8 +14,6 @@ DPADD=	${LIBKDC} ${LIBHDB} ${LIBKRB5} ${
 	${LIBCRYPTO} ${LIBCRYPT} ${LIBVERS}
 LDADD=	-lkdc -lhdb -lkrb5 -lroken -lasn1 -lcrypto -lcrypt ${LIBVERS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kdc

Modified: head/kerberos5/libexec/kdigest/Makefile
==============================================================================
--- head/kerberos5/libexec/kdigest/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/kdigest/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -13,8 +13,6 @@ SRCS=	kdigest.c \
 	kdigest-commands.c \
 	kdigest-commands.h
 
-NO_PIE=	yes
-
 kdigest-commands.h: kdigest-commands.in
 	${SLC} ${.ALLSRC:M*.in}
 

Modified: head/kerberos5/libexec/kfd/Makefile
==============================================================================
--- head/kerberos5/libexec/kfd/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/kfd/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -9,8 +9,6 @@ DPADD=	${LIBKRB5} ${LIBROKEN} ${LIBASN1}
 LDADD=	-lkrb5 -lroken -lasn1 -lcrypto -lcrypt \
 	${LIBVERS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/appl/kf

Modified: head/kerberos5/libexec/kimpersonate/Makefile
==============================================================================
--- head/kerberos5/libexec/kimpersonate/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/kimpersonate/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -11,8 +11,6 @@ DPADD=	${LIBKAFS5} ${LIBKRB5} ${LIBHEIMN
 LDADD=	-lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt \
 	${LIBVERS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kuser

Modified: head/kerberos5/libexec/kpasswdd/Makefile
==============================================================================
--- head/kerberos5/libexec/kpasswdd/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/libexec/kpasswdd/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -9,8 +9,6 @@ LDADD=	-lkadm5srv -lhdb -lkrb5 -lhx509 -
 	-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kpasswd

Modified: head/kerberos5/tools/asn1_compile/Makefile
==============================================================================
--- head/kerberos5/tools/asn1_compile/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/tools/asn1_compile/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -27,8 +27,6 @@ CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5D
 
 CLEANFILES= roken.h lex.c parse.c
 
-NO_PIE=	yes
-
 roken.h:
 	 make-roken > ${.TARGET}
 

Modified: head/kerberos5/tools/slc/Makefile
==============================================================================
--- head/kerberos5/tools/slc/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/tools/slc/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,8 +14,6 @@ CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5D
 
 CLEANFILES= roken.h slc-gram.c slc-lex.c
 
-NO_PIE=	yes
-
 roken.h:
 	${MAKE_ROKEN} > ${.TARGET}
 

Modified: head/kerberos5/usr.bin/hxtool/Makefile
==============================================================================
--- head/kerberos5/usr.bin/hxtool/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/hxtool/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -10,8 +10,6 @@ DPADD=	${LIBHX509} ${LIBROKEN} ${LIBASN1
 LDADD=	-lhx509 -lroken -lasn1 -lcrypto -lcrypt ${LIBSL} ${LIBVERS} -ledit
 SRCS=	hxtool.c hxtool-commands.c hxtool-commands.h
 
-NO_PIE=	yes
-
 hxtool-commands.h: hxtool-commands.in
 	${SLC} ${.ALLSRC:M*.in}
 

Modified: head/kerberos5/usr.bin/kadmin/Makefile
==============================================================================
--- head/kerberos5/usr.bin/kadmin/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/kadmin/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -36,8 +36,6 @@ LDADD=	-lkadm5clnt -lkadm5srv -lhdb -lkr
 	-ledit -lncursesw ${LDAPLDADD}
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in

Modified: head/kerberos5/usr.bin/kcc/Makefile
==============================================================================
--- head/kerberos5/usr.bin/kcc/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/kcc/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -19,8 +19,6 @@ SRCS=	kcc.c \
 	kswitch.c \
 	copy_cred_cache.c
 
-NO_PIE=	yes
-
 kcc-commands.h: kcc-commands.in
 	${SLC} ${.ALLSRC:M*.in}
 

Modified: head/kerberos5/usr.bin/kdestroy/Makefile
==============================================================================
--- head/kerberos5/usr.bin/kdestroy/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/kdestroy/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -8,8 +8,6 @@ LDADD=	-lkafs5 -lkrb5 -lheimntlm -lroken
 	-lasn1 -lcrypto -lcrypt
 MAN=	kdestroy.1
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kuser

Modified: head/kerberos5/usr.bin/kf/Makefile
==============================================================================
--- head/kerberos5/usr.bin/kf/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/kf/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -9,8 +9,6 @@ DPADD=	${LIBKRB5} ${LIBROKEN} ${LIBASN1}
 LDADD=	-lkrb5 -lroken -lasn1 -lcrypto -lcrypt \
 	${LIBVERS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/appl/kf

Modified: head/kerberos5/usr.bin/kgetcred/Makefile
==============================================================================
--- head/kerberos5/usr.bin/kgetcred/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/kgetcred/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,8 +6,6 @@ CFLAGS+=	-I${KRB5DIR}/lib/asn1 \
 DPADD=	${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBVERS}
 LDADD=	-lkrb5 -lroken -lasn1 -lcrypto -lcrypt ${LIBVERS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kuser

Modified: head/kerberos5/usr.bin/kinit/Makefile
==============================================================================
--- head/kerberos5/usr.bin/kinit/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/kinit/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -7,8 +7,6 @@ DPADD=	${LIBKAFS5} ${LIBKRB5} ${LIBHEIMN
 LDADD=	-lkafs5 -lkrb5 -lheimntlm -lroken ${LIBVERS} \
 	-lasn1 -lcrypto -lcrypt -lcom_err
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kuser

Modified: head/kerberos5/usr.bin/kpasswd/Makefile
==============================================================================
--- head/kerberos5/usr.bin/kpasswd/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/kpasswd/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -7,8 +7,6 @@ DPADD=	${LIBKRB5} ${LIBHX509} ${LIBROKEN
 LDADD=	-lkrb5 -lhx509 -lroken ${LIBVERS} \
 	-lasn1 -lcrypto -lcrypt -lcom_err
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kpasswd

Modified: head/kerberos5/usr.bin/ksu/Makefile
==============================================================================
--- head/kerberos5/usr.bin/ksu/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/ksu/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -13,8 +13,6 @@ DPADD=	${LIBKAFS5} ${LIBKRB5} ${LIBHX509
 LDADD=	-lkafs5 -lkrb5 -lhx509 -lroken ${LIBVERS} \
 	-lasn1 -lcrypto -lcrypt -lcom_err
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/appl/su

Modified: head/kerberos5/usr.bin/string2key/Makefile
==============================================================================
--- head/kerberos5/usr.bin/string2key/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/string2key/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -11,8 +11,6 @@ DPADD=	${LIBHDB} ${LIBKRB5} ${LIBROKEN} 
 	${LIBCRYPT} ${LIBVERS}
 LDADD=	-lhdb -lkrb5 -lroken -lasn1 -lcrypto -lcrypt ${LIBVERS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kdc

Modified: head/kerberos5/usr.bin/verify_krb5_conf/Makefile
==============================================================================
--- head/kerberos5/usr.bin/verify_krb5_conf/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.bin/verify_krb5_conf/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -8,8 +8,6 @@ DPADD=	${LIBKAFS5} ${LIBKRB5} ${LIBHX509
 LDADD=	-lkafs5 -lkrb5 -lhx509 -lroken ${LIBVERS} \
 	-lasn1 -lcrypto -lcrypt -lcom_err
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/lib/krb5

Modified: head/kerberos5/usr.sbin/iprop-log/Makefile
==============================================================================
--- head/kerberos5/usr.sbin/iprop-log/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.sbin/iprop-log/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -13,8 +13,6 @@ DPADD=	${LIBKADM5SRV} ${LIBHDB} ${LIBKRB
 LDADD=	-lkadm5srv -lhdb -lkrb5 -lasn1 -lcrypto -lcrypt ${LIBSL} -lroken \
 	${LIBVERS} -ledit
 
-NO_PIE=	yes
-
 iprop-commands.h: iprop-commands.in
 	${SLC} ${.ALLSRC:M*.in}
 

Modified: head/kerberos5/usr.sbin/kstash/Makefile
==============================================================================
--- head/kerberos5/usr.sbin/kstash/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.sbin/kstash/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -10,8 +10,6 @@ LDADD=	-lhdb -lkrb5 -lroken ${LIBVERS} \
 	-lasn1 -lcrypto -lcrypt ${LDAPLDADD}
 LDFLAGS=${LDAPLDFLAGS}
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 .PATH: ${KRB5DIR}/kdc

Modified: head/kerberos5/usr.sbin/ktutil/Makefile
==============================================================================
--- head/kerberos5/usr.sbin/ktutil/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/kerberos5/usr.sbin/ktutil/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -22,8 +22,6 @@ DPADD=	${LIBKADM5CLNT} ${LIBKRB5} ${LIBS
 LDADD=	-lkadm5clnt -lkrb5 ${LIBSL} -lroken ${LIBVERS} \
 	-lasn1 -lcrypto -lcrypt -ledit
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>
 
 ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in

Modified: head/lib/csu/amd64/Makefile
==============================================================================
--- head/lib/csu/amd64/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/lib/csu/amd64/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -9,8 +9,6 @@ CFLAGS+=	-I${.CURDIR}/../common \
 		-I${.CURDIR}/../../libc/include
 CFLAGS+=	-fno-omit-frame-pointer
 
-NO_PIE=	yes
-
 all: ${OBJS}
 
 CLEANFILES=	${OBJS}

Modified: head/lib/csu/i386-elf/Makefile
==============================================================================
--- head/lib/csu/i386-elf/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/lib/csu/i386-elf/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -13,8 +13,6 @@ CFLAGS+=	-I${.CURDIR}/../common \
 CLEANFILES=	${FILES} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_c.o
 CLEANFILES+=	crt1_c.s gcrt1_c.s Scrt1_c.s
 
-NO_PIE=	yes
-
 # See the comment in lib/csu/common/crtbrand.c for the reason crt1_c.c is not
 # directly compiled to .o files.
 

Modified: head/libexec/mail.local/Makefile
==============================================================================
--- head/libexec/mail.local/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/libexec/mail.local/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -9,8 +9,6 @@ SRCS=	mail.local.c
 MAN=	mail.local.8
 CFLAGS+=-I${SENDMAIL_DIR}/include -I.
 
-NO_PIE=	yes
-
 WARNS?=	2
 WFORMAT=0
 

Modified: head/libexec/rtld-elf/Makefile
==============================================================================
--- head/libexec/rtld-elf/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/libexec/rtld-elf/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -78,8 +78,6 @@ beforeinstall:
 
 .PATH: ${.CURDIR}/${RTLD_ARCH}
 
-NO_PIE=	yes
-
 .if ${MK_TESTS} != "no"
 SUBDIR+=	tests
 .endif

Modified: head/libexec/smrsh/Makefile
==============================================================================
--- head/libexec/smrsh/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/libexec/smrsh/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -9,8 +9,6 @@ SRCS=	smrsh.c
 MAN=	smrsh.8
 CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
 
-NO_PIE=	yes
-
 LIBSMDIR=	${.OBJDIR}/../../lib/libsm
 LIBSM=		${LIBSMDIR}/libsm.a
 

Modified: head/libexec/telnetd/Makefile
==============================================================================
--- head/libexec/telnetd/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/libexec/telnetd/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -20,8 +20,6 @@ WFORMAT?=	0
 CFLAGS+=	-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
 		-DENV_HACK -DSTREAMSPTY
 
-NO_PIE=	yes
-
 .if ${MK_INET6_SUPPORT} != "no"
 CFLAGS+=	-DINET6
 .endif

Modified: head/sbin/fsck/Makefile
==============================================================================
--- head/sbin/fsck/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/fsck/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -5,6 +5,4 @@ PROG=	fsck
 SRCS=	fsck.c fsutil.c preen.c
 MAN=	fsck.8
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/sbin/ipf/ipf/Makefile
==============================================================================
--- head/sbin/ipf/ipf/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/ipf/ipf/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -39,6 +39,4 @@ DPADD+=	${LIBPCAP}
 LDADD+=	-lpcap
 .endif
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/sbin/ipf/ipfstat/Makefile
==============================================================================
--- head/sbin/ipf/ipfstat/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/ipf/ipfstat/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -8,6 +8,4 @@ MAN=		ipfstat.8
 DPADD+=  	${LIBCURSES}
 LDADD+=  	-lcurses
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/sbin/ipf/ipftest/Makefile
==============================================================================
--- head/sbin/ipf/ipftest/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/ipf/ipftest/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -32,8 +32,6 @@ CLEANFILES+=	ipnat.tab.c ipnat.tab.h
 CLEANFILES+=	ippool_y.c ippool_l.c
 CLEANFILES+=	ippool.tab.c ippool.tab.h
 
-NO_PIE=	yes
-
 ipnat_y.c: ipnat_y.y
 	${YACC} -b ipnat -d ${.ALLSRC}
 	sed -e 's/yy/ipnat_yy/g' \

Modified: head/sbin/ipf/ipmon/Makefile
==============================================================================
--- head/sbin/ipf/ipmon/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/ipf/ipmon/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -11,8 +11,6 @@ DPSRCS+=	${GENHDRS}
 
 CLEANFILES+=	${GENHDRS} ipmon_y.c ipmon_l.c
 
-NO_PIE=	yes
-
 ipmon_y.c: ipmon_y.y
 	${YACC} -d ${.ALLSRC}
 	sed -e 's/yy/ipmon_yy/g' \

Modified: head/sbin/ipf/ipnat/Makefile
==============================================================================
--- head/sbin/ipf/ipnat/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/ipf/ipnat/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -11,8 +11,6 @@ DPSRCS+=	${GENHDRS}
 
 CLEANFILES+=	${GENHDRS} ipnat_y.c ipnat_l.c
 
-NO_PIE=	yes
-
 ipnat_y.c: ipnat_y.y
 	${YACC} -d ${.ALLSRC}
 	sed -e 's/yy/ipnat_yy/g' \

Modified: head/sbin/ipf/ippool/Makefile
==============================================================================
--- head/sbin/ipf/ippool/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/ipf/ippool/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -10,8 +10,6 @@ DPSRCS+=	${GENHDRS}
 
 CLEANFILES+=	${GENHDRS} ippool_y.c ippool_l.c
 
-NO_PIE=	yes
-
 ippool_y.c: ippool_y.y
 	${YACC} -d ${.ALLSRC}
 	sed -e 's/yy/ippool_yy/g' \

Modified: head/sbin/ipf/ipresend/Makefile
==============================================================================
--- head/sbin/ipf/ipresend/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/ipf/ipresend/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -4,8 +4,6 @@ PROG=		ipresend
 SRCS=		ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
 MAN=		ipresend.1
 
-NO_PIE=	yes
-
 .PATH:		${.CURDIR}/../../../contrib/ipfilter/ipsend
 
 .include <bsd.prog.mk>

Modified: head/sbin/rcorder/Makefile
==============================================================================
--- head/sbin/rcorder/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sbin/rcorder/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -14,8 +14,6 @@ CFLAGS+= -DORDER -I.
 SRCS+=	util.h
 CLEANFILES+=	util.h
 
-NO_PIE=	yes
-
 util.h:
 	ln -sf ${.CURDIR}/../../lib/libutil/libutil.h ${.TARGET}
 

Modified: head/share/mk/bsd.opts.mk
==============================================================================
--- head/share/mk/bsd.opts.mk	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/share/mk/bsd.opts.mk	Tue Aug 19 15:04:32 2014	(r270168)
@@ -68,8 +68,7 @@ __DEFAULT_NO_OPTIONS = \
     CTF \
     DEBUG_FILES \
     INSTALL_AS_USER \
-    INFO \
-    PIE
+    INFO
 
 .include <bsd.mkopt.mk>
 

Modified: head/share/mk/bsd.prog.mk
==============================================================================
--- head/share/mk/bsd.prog.mk	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/share/mk/bsd.prog.mk	Tue Aug 19 15:04:32 2014	(r270168)
@@ -11,18 +11,6 @@
 CFLAGS+=${COPTS}
 .endif
 
-.if ${MK_PIE} != "no" && (!defined(NO_PIE) || ${NO_PIE} == "no")
-.if !defined(RESCUE) && !defined(NO_SHARED)
-CFLAGS+= -fPIE -pie
-LDFLAGS+= -pie
-.elif defined(NO_SHARED)
-.if ${NO_SHARED} == "no" || ${NO_SHARED} == "NO"
-CFLAGS+= -fPIE -pie
-LDFLAGS+= -pie
-.endif
-.endif
-.endif
-
 .if ${MK_ASSERT_DEBUG} == "no"
 CFLAGS+= -DNDEBUG
 NO_WERROR=

Modified: head/sys/boot/i386/boot2/Makefile
==============================================================================
--- head/sys/boot/i386/boot2/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/i386/boot2/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -22,8 +22,6 @@ BOOT2_UFS?=	UFS1_AND_UFS2
 #BOOT2_UFS?=	UFS2_ONLY
 #BOOT2_UFS?=	UFS1_ONLY
 
-NO_PIE=	yes
-
 CFLAGS=	-Os \
 	-fomit-frame-pointer \
 	-mrtd \

Modified: head/sys/boot/i386/btx/btx/Makefile
==============================================================================
--- head/sys/boot/i386/btx/btx/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/i386/btx/btx/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -5,8 +5,6 @@ INTERNALPROG=
 MAN=
 SRCS=	btx.S
 
-NO_PIE=	yes
-
 .if defined(BOOT_BTX_NOHANG)
 BOOT_BTX_FLAGS=0x1
 .else

Modified: head/sys/boot/i386/btx/btxldr/Makefile
==============================================================================
--- head/sys/boot/i386/btx/btxldr/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/i386/btx/btxldr/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -5,8 +5,6 @@ INTERNALPROG=
 MAN=
 SRCS=	btxldr.S
 
-NO_PIE=	yes
-
 CFLAGS+=-DLOADER_ADDRESS=${LOADER_ADDRESS}
 CFLAGS+=-I${.CURDIR}/../../common
 

Modified: head/sys/boot/i386/btx/lib/Makefile
==============================================================================
--- head/sys/boot/i386/btx/lib/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/i386/btx/lib/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -7,6 +7,4 @@ SRCS=	btxcsu.S btxsys.s btxv86.s
 CFLAGS+=-I${.CURDIR}/../../common
 LDFLAGS=-Wl,-r
 
-NO_PIE=	yes
-
 .include <bsd.prog.mk>

Modified: head/sys/boot/i386/loader/Makefile
==============================================================================
--- head/sys/boot/i386/loader/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/i386/loader/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -8,8 +8,6 @@ PROG=		${LOADER}.sym
 INTERNALPROG=
 NEWVERSWHAT?=	"bootstrap loader" x86
 
-NO_PIE=	yes
-
 # architecture-specific loader code
 SRCS=		main.c conf.c vers.c
 

Modified: head/sys/boot/mips/beri/boot2/Makefile
==============================================================================
--- head/sys/boot/mips/beri/boot2/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/mips/beri/boot2/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -32,8 +32,6 @@
 BINDIR?=	/boot
 INSTALLFLAGS=	-b
 
-NO_PIE=	yes
-
 LOADERS=	flashboot jtagboot
 FILES=		${LOADERS} ${LOADERS:S/$/.md5/}
 

Modified: head/sys/boot/mips/beri/loader/Makefile
==============================================================================
--- head/sys/boot/mips/beri/loader/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/mips/beri/loader/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -36,8 +36,6 @@ PROG?=		loader
 NEWVERSWHAT=	"BERI loader" ${MACHINE_CPUARCH}
 INSTALLFLAGS=	-b
 
-NO_PIE=	yes
-
 # Architecture-specific loader code
 SRCS=		start.S						\
 		main.c						\

Modified: head/sys/boot/pc98/boot2/Makefile
==============================================================================
--- head/sys/boot/pc98/boot2/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/pc98/boot2/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -6,8 +6,6 @@
 #CC:=		gcc
 #COMPILER_TYPE:=	gcc
 
-NO_PIE=	yes
-
 FILES=		boot boot1 boot2
 
 NM?=		nm

Modified: head/sys/boot/pc98/btx/lib/Makefile
==============================================================================
--- head/sys/boot/pc98/btx/lib/Makefile	Tue Aug 19 11:06:21 2014	(r270167)
+++ head/sys/boot/pc98/btx/lib/Makefile	Tue Aug 19 15:04:32 2014	(r270168)
@@ -7,6 +7,4 @@ SRCS=	btxcsu.S btxsys.s btxv86.s
 CFLAGS+=-I${.CURDIR}/../../../i386/common
 LDFLAGS=-Wl,-r
 

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408191504.s7JF4XJq083360>