aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-10-02 09:09:27 +0000
committerAlan Modra <amodra@gmail.com>2000-10-02 09:09:27 +0000
commit36605136d4dc16ba344687ef50e48be1196727fe (patch)
treeb7ed385d880c09090eff686b5d64f4434195e0e6
parent4b6609a057b19dc0dc0278013d096101cba68963 (diff)
downloadgdb-36605136d4dc16ba344687ef50e48be1196727fe.zip
gdb-36605136d4dc16ba344687ef50e48be1196727fe.tar.gz
gdb-36605136d4dc16ba344687ef50e48be1196727fe.tar.bz2
Correct call to _bfd_elf32_gc_record_vtable.
-rw-r--r--bfd/ChangeLog9
-rw-r--r--bfd/elf32-hppa.c9
2 files changed, 11 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b4a6def..322ae48 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-02 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
+ _bfd_elf32_gc_record_vtable. Correct a comment.
+
2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
From Ralf Baechle <ralf@gnu.org>
@@ -6,7 +11,7 @@
produces binaries with got[1] = 0x80000001 to differenciate them
for the dynamic linker from the broken binaries produced by old
versions.
-
+
2000-09-30 Petr Sorfa <petrs@sco.com>
* elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
@@ -287,7 +292,7 @@
(sh_elf_relocate_section): Likewise.
2000-09-13 Anders Norlander <anorland@acc.umu.se>
-
+
* cpu-mips.c (arch_info_struct): Add mips:4K
* bfd-in2.h (bfd_mach_mips4K): New define.
* archures.c: Add bfd_mach_mips4K to comment.
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 0deec5a..609c5fd 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -1386,7 +1386,7 @@ elf32_hppa_check_relocs (abfd, info, sec, relocs)
used. Record for later use during GC. */
case R_PARISC_GNU_VTENTRY:
if (!_bfd_elf32_gc_record_vtentry (abfd, sec,
- &h->elf, rel->r_offset))
+ &h->elf, rel->r_addend))
return false;
continue;
@@ -1489,10 +1489,9 @@ elf32_hppa_check_relocs (abfd, info, sec, relocs)
else
h->elf.plt.refcount += 1;
- /* If this .plt entry is for a plabel, we need an
- extra word for ld.so. adjust_dynamic_symbol will
- also keep the entry even if it appears to be
- local. */
+ /* If this .plt entry is for a plabel, mark it so
+ that adjust_dynamic_symbol will keep the entry
+ even if it appears to be local. */
if (need_entry & PLT_PLABEL)
h->plabel = 1;
}