* elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset
authorJakub Jelinek <jakub@redhat.com>
Thu, 27 Mar 2003 22:52:12 +0000 (22:52 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 27 Mar 2003 22:52:12 +0000 (22:52 +0000)
to -1 before recomputing got offsets.

bfd/ChangeLog
bfd/elfxx-ia64.c

index cec8e28d809f3b3efba7336732e5d62e9c54a0fd..90791379cd6d2bf76a5b98b194a467990b3fed4b 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset
+       to -1 before recomputing got offsets.
+
 2003-03-26  Andreas Schwab  <schwab@suse.de>
 
        * elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
index d46d78c5c4306c29c6bb66b1869b4dbcb9a1cc85..c42305717c6fea2ae92d1aa43b5d8d415c88bf3b 100644 (file)
@@ -1032,6 +1032,7 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again)
       struct elfNN_ia64_allocate_data data;
       data.info = link_info;
       data.ofs = 0;
+      ia64_info->self_dtpmod_offset = (bfd_vma) -1;
 
       elfNN_ia64_dyn_sym_traverse (ia64_info, allocate_global_data_got, &data);
       elfNN_ia64_dyn_sym_traverse (ia64_info, allocate_global_fptr_got, &data);