Fixed warning from previous patch. Added Changelog.
authorCupertino Miranda <cmiranda@synopsys.com>
Fri, 9 Nov 2018 15:49:29 +0000 (15:49 +0000)
committerCupertino Miranda <cmiranda@synopsys.com>
Fri, 9 Nov 2018 15:53:30 +0000 (15:53 +0000)
bfd/ChangeLog
bfd/elf32-arc.c

index 216271a3cfeac74338ea38d9bf36950d4b15fec4..8dad3ea727598a2ef0a25a6952cacb7bc9d469cb 100644 (file)
@@ -1,3 +1,16 @@
+2018-11-09  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * arc-got.h (arc_got_entry_type_for_reloc): Changed to
+         correct static TLS relocs.
+       * elf32-arc.c (elf_arc_check_relocs): Introduced warning to
+         TLS relocs which require -fPIC.
+         (arc_create_forced_local_got_entries_for_tls): Created.
+         Traverses list of GOT entries to be resolved statically
+         when needed.
+         (elf_arc_finish_dynamic_sections): Changed. Calls
+         arc_create_forced_local_got_entries_for_tls for each known
+         possibly GOT symbol.
+
 2018-11-09  rhn  <sowaac.rhn@porcupinefactory.org>
 
        PR 23699
index e96b3f8697482e0e69cc2f10ce53c8d2d76ae79b..69d8f6e97cbfc267bc7fed570b47504607af8708 100644 (file)
@@ -2531,7 +2531,8 @@ arc_create_forced_local_got_entries_for_tls (struct bfd_hash_entry *bh,
       while (list != NULL)
        {
          create_got_dynrelocs_for_single_entry (list, tmp->output_bfd,
-                                                tmp->info, h);
+           tmp->info,
+           (struct elf_link_hash_entry *) h);
          list = list->next;
        }
     }
This page took 0.046507 seconds and 4 git commands to generate.