Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/conf Use objcopy instead of (broken) elf2ec...
details: https://anonhg.NetBSD.org/src/rev/8c116a64a52a
branches: trunk
changeset: 574463:8c116a64a52a
user: sekiya <sekiya%NetBSD.org@localhost>
date: Mon Feb 28 23:44:58 2005 +0000
description:
Use objcopy instead of (broken) elf2ecoff to create ECOFF kernel. Suggested
by tsutsui@ on port-mips.
diffstat:
sys/arch/sgimips/conf/Makefile.sgimips.inc | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r f6b1d51d6bf9 -r 8c116a64a52a sys/arch/sgimips/conf/Makefile.sgimips.inc
--- a/sys/arch/sgimips/conf/Makefile.sgimips.inc Mon Feb 28 22:56:15 2005 +0000
+++ b/sys/arch/sgimips/conf/Makefile.sgimips.inc Mon Feb 28 23:44:58 2005 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile.sgimips.inc,v 1.8 2004/10/01 07:05:25 sekiya Exp $
+# $NetBSD: Makefile.sgimips.inc,v 1.9 2005/02/28 23:44:58 sekiya Exp $
WANT_ECOFF?=no
.if ${WANT_ECOFF} == "yes"
SYSTEM_LD_TAIL_EXTRA=; \
- echo ${ELF2ECOFF} $@ $@.ecoff; ${ELF2ECOFF} $@ $@.ecoff; \
- chmod 755 $@.ecoff
+ echo ${OBJCOPY} --impure -O ecoff-bigmips \
+ -R .pdr -R .mdebug.abi32 -R .comment -R .ident $@ $@.ecoff; \
+ ${OBJCOPY} --impure -O ecoff-bigmips \
+ -R .pdr -R .mdebug.abi32 -R .comment -R .ident $@ $@.ecoff
.endif
Home |
Main Index |
Thread Index |
Old Index