Correctly handle Vtentry relocs.
[deliverable/binutils-gdb.git] / bfd / elf32-arm.h
index 3534b43d9bfa1e095b87f8cd2dfee521673ee43a..78ecae18b99c4bc21092e76b79057d3b893f2c79 100644 (file)
@@ -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;
         }
This page took 0.023912 seconds and 4 git commands to generate.