Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/efiboot Don't build this as a PIE binary...



details:   https://anonhg.NetBSD.org/src/rev/6d2148cb05cc
branches:  trunk
changeset: 445683:6d2148cb05cc
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 08 21:47:04 2018 +0000

description:
Don't build this as a PIE binary, PIE binaries need PHDR and this barfs
under the new binutils: error: PHDR segment not covered by LOAD segment
[including bsd.init.mk includes ../Makefile.inc which disables PIE like
 all the other bootloaders do]

diffstat:

 sys/arch/i386/stand/efiboot/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 667e6e33381b -r 6d2148cb05cc sys/arch/i386/stand/efiboot/Makefile
--- a/sys/arch/i386/stand/efiboot/Makefile      Thu Nov 08 20:29:37 2018 +0000
+++ b/sys/arch/i386/stand/efiboot/Makefile      Thu Nov 08 21:47:04 2018 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: Makefile,v 1.3 2018/07/08 17:01:02 christos Exp $
+#      $NetBSD: Makefile,v 1.4 2018/11/08 21:47:04 christos Exp $
+
+.include <bsd.init.mk>
 
 SUBDIR=        bootia32
 .if ${MACHINE} == "amd64"



Home | Main Index | Thread Index | Old Index