From: Alan Modra Date: Mon, 2 Oct 2000 09:09:27 +0000 (+0000) Subject: Correct call to _bfd_elf32_gc_record_vtable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36605136d4dc16ba344687ef50e48be1196727fe;p=binutils-gdb.git Correct call to _bfd_elf32_gc_record_vtable. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b4a6deffdd7..322ae48fff4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-10-02 Alan Modra + + * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to + _bfd_elf32_gc_record_vtable. Correct a comment. + 2000-10-01 Ulf Carlsson From Ralf Baechle @@ -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 * 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 - + * 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 0deec5a6f8f..609c5fd037c 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; }