summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.9.3/disable-tm.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-07-01 10:16:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-01 10:26:22 +0200
commit279e7b67b433d469f396313b26b59d58db42419a (patch)
treec5b0b49ce61e65f2a4058b2d1387b760ca11aea5 /toolchain/gcc/patches/4.9.3/disable-tm.patch
parentbcd4dee82c4281dd12ffb04dc89008bdbf70da91 (diff)
update gcc 4.8/4.9
Diffstat (limited to 'toolchain/gcc/patches/4.9.3/disable-tm.patch')
-rw-r--r--toolchain/gcc/patches/4.9.3/disable-tm.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.9.3/disable-tm.patch b/toolchain/gcc/patches/4.9.3/disable-tm.patch
new file mode 100644
index 000000000..02b5cb854
--- /dev/null
+++ b/toolchain/gcc/patches/4.9.3/disable-tm.patch
@@ -0,0 +1,14 @@
+diff -Nur gcc-4.8.3.orig/gcc/config/m68k/uclinux.h gcc-4.8.3/gcc/config/m68k/uclinux.h
+--- gcc-4.8.3.orig/gcc/config/m68k/uclinux.h 2013-01-10 21:38:27.000000000 +0100
++++ gcc-4.8.3/gcc/config/m68k/uclinux.h 2014-08-25 17:03:59.543127685 +0200
+@@ -20,6 +20,10 @@
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+
++/* Do not use TM clone registry. It breaks -msep-data (-fPIC) code. */
++/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54584 */
++#define USE_TM_CLONE_REGISTRY 0
++
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
+ "%{mshared-library-id=0|!mshared-library-id=*: crt1.o%s ;: Scrt1.o%s} \