toolchain/gcc: add GCC 8.1.0
[openwrt/openwrt.git] / toolchain / gcc / patches / 8.1.0 / 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