aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
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 /bfd/elf32-hppa.c
parent4b6609a057b19dc0dc0278013d096101cba68963 (diff)
downloadfsf-binutils-gdb-36605136d4dc16ba344687ef50e48be1196727fe.zip
fsf-binutils-gdb-36605136d4dc16ba344687ef50e48be1196727fe.tar.gz
fsf-binutils-gdb-36605136d4dc16ba344687ef50e48be1196727fe.tar.bz2
Correct call to _bfd_elf32_gc_record_vtable.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c9
1 files changed, 4 insertions, 5 deletions
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;
}