summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/6.2.0/bfin-workaround.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-24 22:24:38 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-24 22:25:08 +0200
commit9683c207c75e5bc6513b1e8db6bdc2ed4c3db1f5 (patch)
tree510da161ad9e89032f4df8738ca26ad0a2d6b33d /toolchain/gcc/patches/6.2.0/bfin-workaround.patch
parent9c15da431e4f1c8faf9bf747578b2c6b6c4d7d02 (diff)
gcc: update to 6.2.0, cleanup symbol names to simplify minor updates
Remove old versions of gcc no longer used or regulary tested. We concentrate on the latest three major versions for most of the architectures.
Diffstat (limited to 'toolchain/gcc/patches/6.2.0/bfin-workaround.patch')
-rw-r--r--toolchain/gcc/patches/6.2.0/bfin-workaround.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/6.2.0/bfin-workaround.patch b/toolchain/gcc/patches/6.2.0/bfin-workaround.patch
new file mode 100644
index 000000000..7b57a285b
--- /dev/null
+++ b/toolchain/gcc/patches/6.2.0/bfin-workaround.patch
@@ -0,0 +1,15 @@
+diff -Nur gcc-6.1.0.orig/libgcc/Makefile.in gcc-6.1.0/libgcc/Makefile.in
+--- gcc-6.1.0.orig/libgcc/Makefile.in 2016-02-25 13:23:52.000000000 +0100
++++ gcc-6.1.0/libgcc/Makefile.in 2016-08-11 21:15:13.841764686 +0200
+@@ -932,7 +932,11 @@
+ { $(NM) $(SHLIB_NM_FLAGS) $(libgcc-s-objects); echo %%; \
+ cat libgcc.map.in; \
+ } | $(AWK) -f $(SHLIB_MKMAP) $(SHLIB_MKMAP_OPTS) > tmp-$@
++ifeq ($(cpu_type),bfin)
++ sed -e 's/__/_/' tmp-$@ > $@
++else
+ mv tmp-$@ $@
++endif
+ libgcc_s$(SHLIB_EXT): libgcc.map
+ mapfile = libgcc.map
+ endif