Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/stand/boot Explicitly set NOPIE. GOT seems...
details: https://anonhg.NetBSD.org/src/rev/133889be0f3f
branches: trunk
changeset: 357470:133889be0f3f
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Nov 12 08:24:37 2017 +0000
description:
Explicitly set NOPIE. GOT seems problematic on elf2aout(1) conversion.
Fixes silent hangup of luna68k boot.
Should be pulled up to netbsd-8.
Current bsd.own.mk sets NOPIE in case of BINDIR=/usr/mdec for standalone
programs and in luna68k case it's defined in ../Makefile.inc.
However, many bootloader Makefiles include bsd.own.mk first to override
CFLAGS etc. and Makefile.inc is not included (so BINDIR is not set) yet
at the point.
diffstat:
sys/arch/luna68k/stand/boot/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r ed6ab626f9c8 -r 133889be0f3f sys/arch/luna68k/stand/boot/Makefile
--- a/sys/arch/luna68k/stand/boot/Makefile Sun Nov 12 07:55:05 2017 +0000
+++ b/sys/arch/luna68k/stand/boot/Makefile Sun Nov 12 08:24:37 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2017/04/08 19:53:21 christos Exp $
+# $NetBSD: Makefile,v 1.14 2017/11/12 08:24:37 tsutsui Exp $
# @(#)Makefile 8.2 (Berkeley) 8/15/93
NOMAN= # defined
+NOPIE= # defined
.include <bsd.own.mk>
Home |
Main Index |
Thread Index |
Old Index