Move the origin to 1000000 to reduce the likelyhood of conflicts with other
bootloaders/kernels.
This commit is contained in:
parent
90d35111e1
commit
197ee16c7a
|
@ -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}
|
CURDIR= ${.CURDIR}
|
||||||
S= ${CURDIR}/../../../..
|
S= ${CURDIR}/../../../..
|
||||||
|
@ -16,9 +16,9 @@ SRCS= srt0.s Locore.c boot.c ofdev.c alloc.c net.c netif_of.c
|
||||||
.if CROSS
|
.if CROSS
|
||||||
CEXTRAFLAG= -nostdinc
|
CEXTRAFLAG= -nostdinc
|
||||||
.else
|
.else
|
||||||
CEXTRAFLAG= -D_LP64
|
CEXTRAFLAGS= -D_LP64
|
||||||
.endif
|
.endif
|
||||||
CFLAGS+= ${COPTS} -DNETIF_DEBUG -D__ELF__ -D_STANDALONE
|
CFLAGS+= ${COPTS} -DNETIF_DEBUG -D__ELF__ ${CEXTRAFLAGS} -D_STANDALONE
|
||||||
|
|
||||||
MKMAN= no
|
MKMAN= no
|
||||||
STRIPFLAG=
|
STRIPFLAG=
|
||||||
|
@ -30,7 +30,10 @@ NEWVERSWHAT= "OpenFirmware Boot"
|
||||||
#
|
#
|
||||||
# Elf64 defaults to 1MB
|
# 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
|
ENTRY= _start
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue