summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/5.2.0/fix-tile.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.2.0/fix-tile.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.2.0/fix-tile.patch')
-rw-r--r--toolchain/gcc/patches/5.2.0/fix-tile.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/toolchain/gcc/patches/5.2.0/fix-tile.patch b/toolchain/gcc/patches/5.2.0/fix-tile.patch
deleted file mode 100644
index 07aa97200..000000000
--- a/toolchain/gcc/patches/5.2.0/fix-tile.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -Nur gcc-5.2.0.orig/gcc/config/tilegx/linux.h gcc-5.2.0/gcc/config/tilegx/linux.h
---- gcc-5.2.0.orig/gcc/config/tilegx/linux.h 2015-01-05 13:33:28.000000000 +0100
-+++ gcc-5.2.0/gcc/config/tilegx/linux.h 2015-12-02 15:13:59.563521746 +0100
-@@ -55,8 +55,6 @@
- /* For __clear_cache in libgcc2.c. */
- #ifdef IN_LIBGCC2
-
--#include <arch/icache.h>
--
- /* Use the minimum page size of 4K. Alternatively we can call
- getpagesize() but it introduces a libc dependence. */
- #undef CLEAR_INSN_CACHE
-diff -Nur gcc-5.2.0.orig/libgcc/config/tilepro/atomic.h gcc-5.2.0/libgcc/config/tilepro/atomic.h
---- gcc-5.2.0.orig/libgcc/config/tilepro/atomic.h 2015-01-05 13:33:28.000000000 +0100
-+++ gcc-5.2.0/libgcc/config/tilepro/atomic.h 2015-12-02 15:41:08.868942210 +0100
-@@ -46,6 +46,11 @@
- The "exchange" and "compare and exchange" macros may also take
- pointer values. We use the pseudo-type "VAL" in the documentation
- to indicate the use of an appropriate type. */
-+
-+#ifndef SPR_CMPEXCH_VALUE
-+#define SPR_CMPEXCH_VALUE 0x2780
-+#endif
-+
- #else
- /* Atomic instruction macros
-
-@@ -92,13 +97,6 @@
- compare-and-exchange routine, so may be potentially less efficient. */
- #endif
-
--#ifdef __tilegx__
--#include <arch/spr_def.h>
--#else
--#include <asm/unistd.h>
--#endif
--
--
- /* 32-bit integer compare-and-exchange. */
- static __inline __attribute__ ((always_inline))
- int arch_atomic_val_compare_and_exchange_4 (volatile int *mem,