mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 11:33:45 +08:00
Correctly handle Vtentry relocs.
This commit is contained in:
parent
c8d259f7df
commit
d512aa072e
@ -1,3 +1,8 @@
|
||||
1999-07-30 Catherine Moore <clm@cygnus.com>
|
||||
|
||||
* elf32-arm.h (elf32_arm_check_relocs): Use r_offset for
|
||||
R_ARM_GNU_VTENTRY.
|
||||
|
||||
1999-07-29 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if
|
||||
|
@ -2364,7 +2364,7 @@ elf32_arm_check_relocs (abfd, info, sec, relocs)
|
||||
/* This relocation describes which C++ vtable entries are actually
|
||||
used. Record for later use during GC. */
|
||||
case R_ARM_GNU_VTENTRY:
|
||||
if (!_bfd_elf32_gc_record_vtentry (abfd, sec, h, rel->r_addend))
|
||||
if (!_bfd_elf32_gc_record_vtentry (abfd, sec, h, rel->r_offset))
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user