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 Use -n for ELF. Using -N might work, but...
details: https://anonhg.NetBSD.org/src/rev/5cfe0dda00de
branches: trunk
changeset: 472709:5cfe0dda00de
user: christos <christos%NetBSD.org@localhost>
date: Wed May 05 10:50:02 1999 +0000
description:
Use -n for ELF. Using -N might work, but produces only one section.
No flags will not work, because it will produce a kernel loaded at 0xf0000000.
This is because the bfd ELF pagesize (in elf32-sparc.c) is 0x10000. Since
we need to load at 0xf0004000, we use -n.
diffstat:
sys/arch/sparc/conf/Makefile.sparc | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (20 lines):
diff -r bfee55ea986b -r 5cfe0dda00de sys/arch/sparc/conf/Makefile.sparc
--- a/sys/arch/sparc/conf/Makefile.sparc Wed May 05 10:15:53 1999 +0000
+++ b/sys/arch/sparc/conf/Makefile.sparc Wed May 05 10:50:02 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sparc,v 1.58 1999/04/30 13:31:52 christos Exp $
+# $NetBSD: Makefile.sparc,v 1.59 1999/05/05 10:50:02 christos Exp $
# Makefile for NetBSD
#
@@ -60,10 +60,6 @@
.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