aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-03-27 22:52:12 +0000
committerJakub Jelinek <jakub@redhat.com>2003-03-27 22:52:12 +0000
commit9d73f260a7ba0a3a8a5a0cf7b1a7c39826b11fa0 (patch)
tree82a74328ffacaafee39c38d779a09dba7dde143c /bfd
parentc0655a1649e1a8cb5393c22589683972af9c9a30 (diff)
downloadgdb-9d73f260a7ba0a3a8a5a0cf7b1a7c39826b11fa0.zip
gdb-9d73f260a7ba0a3a8a5a0cf7b1a7c39826b11fa0.tar.gz
gdb-9d73f260a7ba0a3a8a5a0cf7b1a7c39826b11fa0.tar.bz2
* elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset
to -1 before recomputing got offsets.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-ia64.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index cec8e28..9079137 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index d46d78c..c423057 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -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);