[PATCH 5/5] Dynamic TLS GOT entries would not be relocated.

Cupertino Miranda Cupertino.Miranda@synopsys.com
Tue Aug 16 15:51:00 GMT 2016


bfd/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>

	elf32-arc.c (elf_arc_relocate_section): Changed.
---
 bfd/elf32-arc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c
index 857b7b6..dae46be 100644
--- a/bfd/elf32-arc.c
+++ b/bfd/elf32-arc.c
@@ -1374,6 +1374,8 @@ elf_arc_relocate_section (bfd *		          output_bfd,
       if ((is_reloc_for_GOT (howto)
 	   || is_reloc_for_TLS (howto)))
 	{
+	  reloc_data.should_relocate = TRUE;
+
 	  struct got_entry **list
 	    = get_got_entry_list_for_symbol (output_bfd, r_symndx, h);
 
-- 
2.9.0



More information about the Binutils mailing list