aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.h
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1999-07-30 15:09:54 +0000
committerCatherine Moore <clm@redhat.com>1999-07-30 15:09:54 +0000
commitd512aa072eb56b1fb1a5f1649b8c52a140901916 (patch)
treec0e33614b9606d890220e1d06a9d5a811d054ef2 /bfd/elf32-arm.h
parentc8d259f7df1368948c909c080c0cecd8eb5c0ee1 (diff)
downloadgdb-d512aa072eb56b1fb1a5f1649b8c52a140901916.zip
gdb-d512aa072eb56b1fb1a5f1649b8c52a140901916.tar.gz
gdb-d512aa072eb56b1fb1a5f1649b8c52a140901916.tar.bz2
Correctly handle Vtentry relocs.
Diffstat (limited to 'bfd/elf32-arm.h')
-rw-r--r--bfd/elf32-arm.h2
1 files changed, 1 insertions, 1 deletions
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;
}