summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/5.3.0/bfin-fix-gcc.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-13 15:43:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-13 17:25:40 +0100
commit6d7f991afbe53f041f03123092cfe410b3f200a8 (patch)
tree1faf394874271b4457b0b121797a4f7a8733b3c2 /toolchain/gcc/patches/5.3.0/bfin-fix-gcc.patch
parenta94d74d9c875b4a1c07945bf9af282221d0178b3 (diff)
update to gcc 5.3.0, use as default compiler
Tested with embedded-test.sh for all supported architectures. Only sh2 will require a new uClibc-ng (git) to compile successfully a toolchain. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'toolchain/gcc/patches/5.3.0/bfin-fix-gcc.patch')
-rw-r--r--toolchain/gcc/patches/5.3.0/bfin-fix-gcc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/5.3.0/bfin-fix-gcc.patch b/toolchain/gcc/patches/5.3.0/bfin-fix-gcc.patch
new file mode 100644
index 000000000..a0643f5fc
--- /dev/null
+++ b/toolchain/gcc/patches/5.3.0/bfin-fix-gcc.patch
@@ -0,0 +1,12 @@
+diff -Nur gcc-4.9.3.orig/gcc/config.gcc gcc-4.9.3/gcc/config.gcc
+--- gcc-4.9.3.orig/gcc/config.gcc 2015-05-21 22:50:59.000000000 +0200
++++ gcc-4.9.3/gcc/config.gcc 2015-11-23 22:51:58.686375134 +0100
+@@ -1101,7 +1101,7 @@
+ ;;
+ bfin*-linux-uclibc*)
+ tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h"
+- tmake_file="bfin/t-bfin-linux t-slibgcc t-linux"
++ tmake_file="${tmake_file} bfin/t-bfin-linux t-slibgcc t-linux"
+ use_collect2=no
+ ;;
+ bfin*-rtems*)