From d512aa072eb56b1fb1a5f1649b8c52a140901916 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Fri, 30 Jul 1999 15:09:54 +0000 Subject: Correctly handle Vtentry relocs. --- bfd/ChangeLog | 5 +++++ bfd/elf32-arm.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fdd1f47..5ca7ca4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +1999-07-30 Catherine Moore + + * elf32-arm.h (elf32_arm_check_relocs): Use r_offset for + R_ARM_GNU_VTENTRY. + 1999-07-29 Richard Henderson * elf32-mips.c (_bfd_mips_elf_final_link): Only re-sort dynsyms if diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 3534b43..78ecae1 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -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; } -- cgit v1.1