bootxx links at 0x340000
2nd-stage boot programs choices: 0x200000,0x300000,0x400000,0x700000 (default: 0x300000)
This commit is contained in:
parent
3bd0cd4733
commit
f89828d99f
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.buildboot,v 1.10 2000/02/21 14:41:22 pk Exp $
|
||||
# $NetBSD: Makefile.buildboot,v 1.11 2000/02/21 15:07:32 pk Exp $
|
||||
|
||||
S= ${.CURDIR}/../../../..
|
||||
|
||||
|
@ -10,9 +10,12 @@ SRCS= ${COMMONSOURCE} ${PROGSOURCE}
|
|||
MKMAN= no
|
||||
BINMODE= 444
|
||||
|
||||
RELOCS= 240000 340000 440000 700000
|
||||
# Note: a `RELOC' value of 0x340000 seems to work on most machines
|
||||
RELOC_DEFAULT?= 340000
|
||||
RELOCS= 200000 300000 400000 700000
|
||||
# Note: a `RELOC' value of 0x300000 seems to work on most machines
|
||||
RELOC_DEFAULT?= 300000
|
||||
# `bootxx' is linked at a different address to circumvent i-cache
|
||||
# flushing issues on Hypersparcs
|
||||
RELOC_BOOTXX= 340000
|
||||
|
||||
CPPFLAGS+= -D_STANDALONE -DSUN4 -DSUN4C -DSUN_BOOTPARAMS -DHEAP_VARIABLE
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2000/02/21 14:44:18 pk Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2000/02/21 15:07:34 pk Exp $
|
||||
|
||||
PROG= bootxx
|
||||
PROGSOURCE= bootxx.c
|
||||
|
@ -7,7 +7,7 @@ PROGSOURCE= bootxx.c
|
|||
|
||||
CPPFLAGS+= -DBOOTXX -DLIBSA_NO_CLOSE
|
||||
STRIPFLAG=
|
||||
LINKFLAGS= -N -Ttext ${RELOC_DEFAULT} -e start
|
||||
LINKFLAGS= -N -Ttext ${RELOC_BOOTXX} -e start
|
||||
|
||||
${PROG}: ${OBJS} ${LIBSA} ${LIBKERN}
|
||||
${LD} -o ${.TARGET} ${LINKFLAGS} ${OBJS} ${LIBSA} ${LIBKERN}
|
||||
|
|
Loading…
Reference in New Issue