aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/10.1.0/881-no_tm_section.patch
diff options
context:
space:
mode:
authorSyrone Wong <wong.syrone@gmail.com>2020-07-08 06:46:22 +0800
committerPetr Štetiar <ynezz@true.cz>2020-07-11 13:33:28 +0200
commite027df97fc69dbdf0e770d5e3cf1f85228116ef9 (patch)
tree26c32970fa7bb36cd5d029414d5bc637159ce394 /toolchain/gcc/patches/10.1.0/881-no_tm_section.patch
parentbf540f333ce6426b353d1f025455c1dfc0d089f6 (diff)
downloadupstream-e027df97fc69dbdf0e770d5e3cf1f85228116ef9.tar.gz
upstream-e027df97fc69dbdf0e770d5e3cf1f85228116ef9.tar.bz2
upstream-e027df97fc69dbdf0e770d5e3cf1f85228116ef9.zip
toolchain/gcc: Add GCC 10.1.0 patches
Compared to GCC 9: 870-ppc_no_crtsavres.patch changes moved to another file following upstream 881-no_tm_section.patch keep the tm section disabled patches refreshed to apply cleanly See https://gcc.gnu.org/gcc-10/porting_to.html for more info Compiled and run tested on x86_64 Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Diffstat (limited to 'toolchain/gcc/patches/10.1.0/881-no_tm_section.patch')
-rw-r--r--toolchain/gcc/patches/10.1.0/881-no_tm_section.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gcc/patches/10.1.0/881-no_tm_section.patch b/toolchain/gcc/patches/10.1.0/881-no_tm_section.patch
index fab5db3be5..2029910fd0 100644
--- a/toolchain/gcc/patches/10.1.0/881-no_tm_section.patch
+++ b/toolchain/gcc/patches/10.1.0/881-no_tm_section.patch
@@ -6,6 +6,6 @@
#if !defined(USE_TM_CLONE_REGISTRY) && defined(OBJECT_FORMAT_ELF)
-# define USE_TM_CLONE_REGISTRY 1
+# define USE_TM_CLONE_REGISTRY 0
+ #elif !defined(USE_TM_CLONE_REGISTRY)
+ # define USE_TM_CLONE_REGISTRY 0
#endif
-
- /* We do not want to add the weak attribute to the declarations of these