Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libgcc/libgcc Don't pass -Wl, -x to ${C...



details:   https://anonhg.NetBSD.org/src/rev/461ceb3578c7
branches:  trunk
changeset: 325902:461ceb3578c7
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jan 11 02:45:52 2014 +0000

description:
Don't pass -Wl,-x to ${CC} since that strips symbols needed by ARM BE.
Let the OBJCOPY strip them.

diffstat:

 external/gpl3/gcc/lib/libgcc/libgcc/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b43eb0f26220 -r 461ceb3578c7 external/gpl3/gcc/lib/libgcc/libgcc/Makefile
--- a/external/gpl3/gcc/lib/libgcc/libgcc/Makefile      Sat Jan 11 01:43:22 2014 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcc/Makefile      Sat Jan 11 02:45:52 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2014/01/11 00:30:23 matt Exp $
+#      $NetBSD: Makefile,v 1.18 2014/01/11 02:45:52 matt Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -59,7 +59,7 @@
        ${COMPILE.c} ${COPTS.${.IMPSRC:T}} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}.tmp1
        ${NM} -pg ${.TARGET}.tmp1 | \
            ${TOOL_AWK} 'NF == 3 { print "\t.hidden", $$3 }' | \
-           ${CC} ${COPTS} -Wl,-x -r -nostdinc -nostdlib ${CPUFLAGS} -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler -
+           ${CC} ${COPTS} -r -nostdinc -nostdlib ${CPUFLAGS} -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler -
 .if defined(COPTS) && !empty(COPTS:M*-g*)
        mv ${.TARGET}.tmp2 ${.TARGET}
 .else
@@ -73,7 +73,7 @@
        ${COMPILE.S} ${PICFLAGS} ${CFLAGS:M-[ID]*} ${.IMPSRC} -o ${.TARGET}.tmp1
        ${NM} -pg ${.TARGET}.tmp1 | \
            ${TOOL_AWK} 'NF == 3 { print "\t.hidden", $$3 }' | \
-           ${CC} ${COPTS} -Wl,-x -r -nostdinc -nostdlib -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler -
+           ${CC} ${COPTS} -r -nostdinc -nostdlib -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler -
 .if defined(COPTS) && !empty(COPTS:M*-g*)
        mv ${.TARGET}.tmp2 ${.TARGET}
 .else



Home | Main Index | Thread Index | Old Index