summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/5.3.0/fix-m86k-libgcc.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/fix-m86k-libgcc.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/fix-m86k-libgcc.patch')
-rw-r--r--toolchain/gcc/patches/5.3.0/fix-m86k-libgcc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/5.3.0/fix-m86k-libgcc.patch b/toolchain/gcc/patches/5.3.0/fix-m86k-libgcc.patch
new file mode 100644
index 000000000..e8481d549
--- /dev/null
+++ b/toolchain/gcc/patches/5.3.0/fix-m86k-libgcc.patch
@@ -0,0 +1,11 @@
+diff -Nur gcc-4.9.3.orig/libgcc/config/m68k/linux-atomic.c gcc-4.9.3/libgcc/config/m68k/linux-atomic.c
+--- gcc-4.9.3.orig/libgcc/config/m68k/linux-atomic.c 2014-01-02 23:25:22.000000000 +0100
++++ gcc-4.9.3/libgcc/config/m68k/linux-atomic.c 2015-11-29 14:42:10.566143595 +0100
+@@ -33,7 +33,6 @@
+ using the kernel helper defined below. There is no support for
+ 64-bit operations yet. */
+
+-#include <asm/unistd.h>
+ #include <stdbool.h>
+
+ #ifndef __NR_atomic_cmpxchg_32