Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xscale Use objcopy rather than ld to copy Intel...



details:   https://anonhg.NetBSD.org/src/rev/c9e81e98a596
branches:  trunk
changeset: 753400:c9e81e98a596
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Fri Mar 26 15:55:33 2010 +0000

description:
Use objcopy rather than ld to copy Intel NPE firmware blob into ELF.
Avoids internal error in newer binutils ld.
Should fix PR/42864 and PR/43057.

diffstat:

 sys/arch/arm/xscale/ixp425-fw.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 3832ef10e8a0 -r c9e81e98a596 sys/arch/arm/xscale/ixp425-fw.mk
--- a/sys/arch/arm/xscale/ixp425-fw.mk  Fri Mar 26 15:51:55 2010 +0000
+++ b/sys/arch/arm/xscale/ixp425-fw.mk  Fri Mar 26 15:55:33 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ixp425-fw.mk,v 1.1 2006/12/10 10:01:49 scw Exp $
+#      $NetBSD: ixp425-fw.mk,v 1.2 2010/03/26 15:55:33 jakllsch Exp $
 
 #
 # For IXP425 NE support, this file must be included by the board-specific
@@ -17,5 +17,5 @@
 ixp425_fw.o:   $S/arch/arm/xscale/IxNpeMicrocode.dat
        -rm -f ${.OBJDIR}/IxNpeMicrocode.dat
        -ln -s $S/arch/arm/xscale/IxNpeMicrocode.dat ${.OBJDIR}
-       ${LD} -b binary -d -warn-common -r -d -o ${.TARGET} IxNpeMicrocode.dat
+       ${OBJCOPY} -I binary -O default -B arm IxNpeMicrocode.dat ${.TARGET}
 .endif



Home | Main Index | Thread Index | Old Index