Correct call to _bfd_elf32_gc_record_vtable.
authorAlan Modra <amodra@gmail.com>
Mon, 2 Oct 2000 09:09:27 +0000 (09:09 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 2 Oct 2000 09:09:27 +0000 (09:09 +0000)
bfd/ChangeLog
bfd/elf32-hppa.c

index b4a6deffdd7446db244ec6ed9a7e3a8d4f8de60e..322ae48fff4a016cf9d69a945b8d421c43d86c60 100644 (file)
@@ -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.
        (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.
index 0deec5a6f8f18a9ba874e569f411ce09f3f4d1ad..609c5fd037c5437de9ce6d8b620de7e79c701b05 100644 (file)
@@ -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;
                }