Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/sgimips/stand/boot pullup-1-6 ticket #494 (raf...



details:   https://anonhg.NetBSD.org/src/rev/f412e864ac43
branches:  netbsd-1-6
changeset: 528422:f412e864ac43
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jul 15 16:03:51 2002 +0000

description:
pullup-1-6 ticket #494 (rafal).

Original log message:
Fix PR port-sgimips/17568: the PROM on early Indigo2 machines did not like
the ECOFF version of boot produced by `objcopy'.  Using elf2ecoff make it
work, so use that instead.  Also, don't bother stripping the bootblocks on
install (as that confuses strip, at least for the ECOFF one, and since the
build already strips them).

diffstat:

 sys/arch/sgimips/stand/boot/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 20afdcfba853 -r f412e864ac43 sys/arch/sgimips/stand/boot/Makefile
--- a/sys/arch/sgimips/stand/boot/Makefile      Mon Jul 15 15:59:23 2002 +0000
+++ b/sys/arch/sgimips/stand/boot/Makefile      Mon Jul 15 16:03:51 2002 +0000
@@ -1,11 +1,16 @@
-#      $NetBSD: Makefile,v 1.3 2001/11/22 00:58:08 thorpej Exp $
+#      $NetBSD: Makefile,v 1.3.12.1 2002/07/15 16:03:51 thorpej Exp $
 
 PROG=  boot
 
+# Don't strip the ECOFF'ed version on install -- strip gets confused by that,
+# and it's already stripped since it's a copy of the stripped ELF one.
+#
+STRIPFLAG=
+
 SRCS=  start.S boot.c bootinfo.c conf.c devopen.c putchar.c getchar.c disk.c
 
 ${PROG}: ${PROG}.elf
-       ${OBJCOPY} -O ecoff-bigmips ${PROG}.elf ${PROG}
+       ${ELF2ECOFF} ${PROG}.elf ${PROG}
        @${SIZE} ${PROG}
 
 # XXX Temporary hack to install the ELF verision, too.



Home | Main Index | Thread Index | Old Index