Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/stand/ofwboot Move the origin to 1000000 to...



details:   https://anonhg.NetBSD.org/src/rev/990a99fe0abd
branches:  trunk
changeset: 472834:990a99fe0abd
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sun May 09 18:31:21 1999 +0000

description:
Move the origin to 1000000 to reduce the likelyhood of conflicts with other
bootloaders/kernels.

diffstat:

 sys/arch/sparc64/stand/ofwboot/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r ce4bb754e1e8 -r 990a99fe0abd sys/arch/sparc64/stand/ofwboot/Makefile
--- a/sys/arch/sparc64/stand/ofwboot/Makefile   Sun May 09 17:50:27 1999 +0000
+++ b/sys/arch/sparc64/stand/ofwboot/Makefile   Sun May 09 18:31:21 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 1999/02/13 02:54:49 lukem Exp $
+#      $NetBSD: Makefile,v 1.10 1999/05/09 18:31:21 eeh Exp $
 
 CURDIR=        ${.CURDIR}
 S=     ${CURDIR}/../../../..
@@ -16,9 +16,9 @@
 .if CROSS
 CEXTRAFLAG=    -nostdinc
 .else
-CEXTRAFLAG=    -D_LP64
+CEXTRAFLAGS=   -D_LP64
 .endif
-CFLAGS+=       ${COPTS} -DNETIF_DEBUG -D__ELF__ -D_STANDALONE
+CFLAGS+=       ${COPTS} -DNETIF_DEBUG -D__ELF__ ${CEXTRAFLAGS} -D_STANDALONE
 
 MKMAN=         no
 STRIPFLAG=
@@ -30,7 +30,10 @@
 #
 # Elf64 defaults to 1MB
 #
-RELOC=         100000
+# We may get address conflicts with other bootloaders, say
+# Sun's ufsboot, so we'll pick a reasonably empty address.
+#
+RELOC=         1000000
 
 ENTRY=         _start
 



Home | Main Index | Thread Index | Old Index