Source-Changes-HG archive

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

[src/trunk]: src/distrib/sgimips/instkernel Use elf2ecoff(1) rather than objc...



details:   https://anonhg.NetBSD.org/src/rev/7a271d89146f
branches:  trunk
changeset: 993259:7a271d89146f
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Sep 02 16:41:42 2018 +0000

description:
Use elf2ecoff(1) rather than objcopy(1) to generate ecoff kernel.

Reported by Naruaki Etomi in PR port-sgimips/53518.
Should be pulled up to netbsd-7 and netbsd-8.

diffstat:

 distrib/sgimips/instkernel/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 052e5d2183ed -r 7a271d89146f distrib/sgimips/instkernel/Makefile
--- a/distrib/sgimips/instkernel/Makefile       Sun Sep 02 16:18:50 2018 +0000
+++ b/distrib/sgimips/instkernel/Makefile       Sun Sep 02 16:41:42 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2016/03/23 05:24:11 mrg Exp $
+#      $NetBSD: Makefile,v 1.13 2018/09/02 16:41:42 tsutsui Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -30,9 +30,7 @@
 MDSET_RELEASEDIR=      binary/kernel
 
 MDSET_SUFFIXES.netbsd-INSTALL${NX}_IP2x=ecoff create-ecoff
-create-ecoff=  ${OBJCOPY} --impure -O ecoff-bigmips \
-               -R .pdr -R .mdebug.abi32 -R .comment -R .ident \
-               ${.TARGET:R} ${.TARGET}
+create-ecoff=  ${ELF2ECOFF} ${.TARGET:R} ${.TARGET}
 
 IMAGE_RELEASEDIR=      installation/diskimage
 



Home | Main Index | Thread Index | Old Index