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 Explicitly remove .note....
details: https://anonhg.NetBSD.org/src/rev/cdae60cebcd4
branches: trunk
changeset: 327094:cdae60cebcd4
user: martin <martin%NetBSD.org@localhost>
date: Thu Feb 27 09:05:08 2014 +0000
description:
Explicitly remove .note.netbsd.mcmodel sections (eroneously generated
on sparc64 during intermediate linking)
diffstat:
external/gpl3/gcc/lib/libgcc/libgcc/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 010441335f3f -r cdae60cebcd4 external/gpl3/gcc/lib/libgcc/libgcc/Makefile
--- a/external/gpl3/gcc/lib/libgcc/libgcc/Makefile Thu Feb 27 08:37:58 2014 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcc/Makefile Thu Feb 27 09:05:08 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2014/02/26 09:54:32 mrg Exp $
+# $NetBSD: Makefile,v 1.20 2014/02/27 09:05:08 martin Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -61,6 +61,7 @@
${NM} -pg ${.TARGET}.tmp1 | \
${TOOL_AWK} 'NF == 3 { print "\t.hidden", $$3 }' | \
${CC} ${COPTS} -r -nostdinc -nostdlib ${CPUFLAGS} -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler -
+ ${OBJCOPY} -R .note.netbsd.mcmodel ${.TARGET}.tmp2
.if defined(COPTS) && !empty(COPTS:M*-g*)
mv ${.TARGET}.tmp2 ${.TARGET}
.else
@@ -75,6 +76,7 @@
${NM} -pg ${.TARGET}.tmp1 | \
${TOOL_AWK} 'NF == 3 { print "\t.hidden", $$3 }' | \
${CC} ${COPTS} -r -nostdinc -nostdlib -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler -
+ ${OBJCOPY} -R .note.netbsd.mcmodel ${.TARGET}.tmp2
.if defined(COPTS) && !empty(COPTS:M*-g*)
mv ${.TARGET}.tmp2 ${.TARGET}
.else
Home |
Main Index |
Thread Index |
Old Index