toolchain/gcc: Add GCC 10.1.0 patches
[openwrt/staging/chunkeey.git] / toolchain / gcc / patches / 10.1.0 / 881-no_tm_section.patch
index fab5db3be55cf1c4bb0fb14fd6ec3b5dbd243d2c..2029910fd0792676d26a87e528af7e292ed3745c 100644 (file)
@@ -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