fab5db3be55cf1c4bb0fb14fd6ec3b5dbd243d2c
[openwrt/openwrt.git] / toolchain / gcc / patches / arc-2017.03-release / 881-no_tm_section.patch
1 --- a/libgcc/crtstuff.c
2 +++ b/libgcc/crtstuff.c
3 @@ -152,7 +152,7 @@ call_ ## FUNC (void) \
4 #endif
5
6 #if !defined(USE_TM_CLONE_REGISTRY) && defined(OBJECT_FORMAT_ELF)
7 -# define USE_TM_CLONE_REGISTRY 1
8 +# define USE_TM_CLONE_REGISTRY 0
9 #endif
10
11 /* We do not want to add the weak attribute to the declarations of these