update gcc 4.8/4.9
[openadk.git] / toolchain / gcc / patches / 4.8.5 / disable-tm.patch
blob02b5cb854e0e6a2ef20798096fda7aabe4cf857f
1 diff -Nur gcc-4.8.3.orig/gcc/config/m68k/uclinux.h gcc-4.8.3/gcc/config/m68k/uclinux.h
2 --- gcc-4.8.3.orig/gcc/config/m68k/uclinux.h 2013-01-10 21:38:27.000000000 +0100
3 +++ gcc-4.8.3/gcc/config/m68k/uclinux.h 2014-08-25 17:03:59.543127685 +0200
4 @@ -20,6 +20,10 @@
5 along with GCC; see the file COPYING3. If not see
6 <http://www.gnu.org/licenses/>. */
8 +/* Do not use TM clone registry. It breaks -msep-data (-fPIC) code. */
9 +/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54584 */
10 +#define USE_TM_CLONE_REGISTRY 0
12 #undef STARTFILE_SPEC
13 #define STARTFILE_SPEC \
14 "%{mshared-library-id=0|!mshared-library-id=*: crt1.o%s ;: Scrt1.o%s} \