lede/toolchain/gcc/patches-12.x/881-no_tm_section.patch
coolsnowwolf 92bdfb61ce Revert "Revert "toolchain: gcc: improve patch handling by introducing major version""
This reverts commit 779ed7d9a00d8a58e204b9a6e90e035f8c56b8ab.
2022-10-24 14:29:05 +08:00

12 lines
321 B
Diff

--- a/libgcc/crtstuff.c
+++ b/libgcc/crtstuff.c
@@ -152,7 +152,7 @@ call_ ## FUNC (void) \
#endif
#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