1
0

881-no_tm_section.patch 680 B

12345678910111213141516171819202122
  1. commit 565988ab47bd9b96b50608564aee2104aeb4b7ae
  2. Author: Felix Fietkau <nbd@nbd.name>
  3. Date: Tue Dec 13 14:20:49 2016 +0100
  4. gcc: rip out transactional memory related bloat from crtbegin
  5. Slightly improves compression for each executable, saving about 4k from
  6. the default ar71xx rootfs
  7. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  8. --- a/libgcc/crtstuff.c
  9. +++ b/libgcc/crtstuff.c
  10. @@ -152,7 +152,7 @@ call_ ## FUNC (void) \
  11. #endif
  12. #if !defined(USE_TM_CLONE_REGISTRY) && defined(OBJECT_FORMAT_ELF)
  13. -# define USE_TM_CLONE_REGISTRY 1
  14. +# define USE_TM_CLONE_REGISTRY 0
  15. #endif
  16. /* We do not want to add the weak attribute to the declarations of these