diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-12 07:50:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-12 07:50:09 +0200 |
commit | 952a83cdcb29f41782b2516e115748e3ed32497d (patch) | |
tree | 658da78c90d113c7cbec9931ea95a61a883ccf39 /toolchain/gcc/patches | |
parent | c4a4396a81029494e420db7fc0f5c8a9a6990d15 (diff) |
bfin: add workaround for libgcc issues
Diffstat (limited to 'toolchain/gcc/patches')
-rw-r--r-- | toolchain/gcc/patches/6.1.0/bfin-workaround.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/6.1.0/bfin-workaround.patch b/toolchain/gcc/patches/6.1.0/bfin-workaround.patch new file mode 100644 index 000000000..7b57a285b --- /dev/null +++ b/toolchain/gcc/patches/6.1.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 |