Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/stand/boot Replace elf2ecoff with objcopy f...



details:   https://anonhg.NetBSD.org/src/rev/8cb1a01a5228
branches:  trunk
changeset: 574464:8cb1a01a5228
user:      sekiya <sekiya%NetBSD.org@localhost>
date:      Tue Mar 01 00:20:09 2005 +0000

description:
Replace elf2ecoff with objcopy for ECOFF bootloader creation.  Fix a comment
typo while we're here.

diffstat:

 sys/arch/sgimips/stand/boot/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 8c116a64a52a -r 8cb1a01a5228 sys/arch/sgimips/stand/boot/Makefile
--- a/sys/arch/sgimips/stand/boot/Makefile      Mon Feb 28 23:44:58 2005 +0000
+++ b/sys/arch/sgimips/stand/boot/Makefile      Tue Mar 01 00:20:09 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2003/11/13 12:42:18 sekiya Exp $
+#      $NetBSD: Makefile,v 1.9 2005/03/01 00:20:09 sekiya Exp $
 
 PROG=  aoutboot
 
@@ -11,9 +11,11 @@
        getopt.c disk.c
 
 ${PROG}: ip2xboot ip3xboot
-       ${ELF2ECOFF} ip2xboot aoutboot
+       ${OBJCOPY} --impure -O ecoff-bigmips \
+               -R .pdr -R .mdebug.abi32 -R .comment -R .ident \
+               ip2xboot aoutboot
 
-# XXX Temporary hack to install the ELF verision, too.
+# XXX Temporary hack to install the ELF version, too.
 FILES+=                ip2xboot ip3xboot
 CLEANFILES+=   ip2xboot ip3xboot
 



Home | Main Index | Thread Index | Old Index