Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/conf Add -n for ELF, note weirdness in comment.
details: https://anonhg.NetBSD.org/src/rev/ebd3db9c348e
branches: trunk
changeset: 472479:ebd3db9c348e
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 30 13:31:52 1999 +0000
description:
Add -n for ELF, note weirdness in comment.
diffstat:
sys/arch/sparc/conf/Makefile.sparc | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r a01b42fe970d -r ebd3db9c348e sys/arch/sparc/conf/Makefile.sparc
--- a/sys/arch/sparc/conf/Makefile.sparc Fri Apr 30 13:28:58 1999 +0000
+++ b/sys/arch/sparc/conf/Makefile.sparc Fri Apr 30 13:31:52 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sparc,v 1.57 1999/04/18 10:52:31 mrg Exp $
+# $NetBSD: Makefile.sparc,v 1.58 1999/04/30 13:31:52 christos Exp $
# Makefile for NetBSD
#
@@ -59,6 +59,12 @@
LINKFLAGS= -Ttext F0004000 -e start
.if ${OBJECT_FMT} != "ELF"
LINKFLAGS+= -N -p
+.else
+# Something is wrong here:
+# No flags: two load sections, one starting at 0xf0000000 not 0xf0004000
+# -N: One load section, not desirable, kernel does not load properly
+# -n: Appears to DTRT, but still the kernel does not load properly
+LINKFLAGS+= -n
.endif
STRIPFLAGS= -d
Home |
Main Index |
Thread Index |
Old Index