Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/crash workaround for MKPIE=yes until binutils-2.20....
details: https://anonhg.NetBSD.org/src/rev/5b8c50033146
branches: trunk
changeset: 754184:5b8c50033146
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 23 02:10:01 2010 +0000
description:
workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer
diffstat:
usr.sbin/crash/Makefile | 4 ++--
usr.sbin/crash/ldscript.crash | 9 +++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r d3a41db97145 -r 5b8c50033146 usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile Fri Apr 23 00:18:50 2010 +0000
+++ b/usr.sbin/crash/Makefile Fri Apr 23 02:10:01 2010 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.4 2010/02/03 15:34:46 roy Exp $
+# $NetBSD: Makefile,v 1.5 2010/04/23 02:10:01 christos Exp $
PROG= crash
MAN= crash.8
RUMPKERNEL= yes # XXX: Avoid -mcmodel=kernel
-LDADD+= -lkvm -ledit -lterminfo
+LDADD+= -lkvm -ledit -lterminfo -T${.CURDIR}/ldscript.crash
DPADD+= ${LIBKVM} ${LIBEDIT} ${LIBTERMINFO}
# some ddb kernel components need limited modifications. for now,
diff -r d3a41db97145 -r 5b8c50033146 usr.sbin/crash/ldscript.crash
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/crash/ldscript.crash Fri Apr 23 02:10:01 2010 +0000
@@ -0,0 +1,9 @@
+
+SECTIONS
+{
+ .note.netbsd.ident :
+ {
+ KEEP(*(.note.netbsd.ident));
+ }
+}
+INSERT AFTER .gnu.version_r;
Home |
Main Index |
Thread Index |
Old Index