* elf32-s390 (elf_s390_check_relocs): Pass addend to
gc_record_vtentry. * elf64-s390 (elf_s390_check_relocs): Likewise. Fix by Andreas Jaeger <aj@suse.de>.
This commit is contained in:
parent
43521d43fc
commit
db72780896
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2001-12-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||
|
||||
* elf32-s390 (elf_s390_check_relocs): Pass addend to
|
||||
gc_record_vtentry.
|
||||
* elf64-s390 (elf_s390_check_relocs): Likewise.
|
||||
Fix by Andreas Jaeger <aj@suse.de>.
|
||||
|
||||
2001-12-18 Jason Thorpe <thorpej@wasabisystems.com>
|
||||
|
||||
* configure.host: Correctly match all NetBSD/mips
|
||||
|
|
|
@ -868,7 +868,7 @@ elf_s390_check_relocs (abfd, info, sec, relocs)
|
|||
/* This relocation describes which C++ vtable entries are actually
|
||||
used. Record for later use during GC. */
|
||||
case R_390_GNU_VTENTRY:
|
||||
if (!_bfd_elf32_gc_record_vtentry (abfd, sec, h, rel->r_offset))
|
||||
if (!_bfd_elf32_gc_record_vtentry (abfd, sec, h, rel->r_addend))
|
||||
return false;
|
||||
break;
|
||||
|
||||
|
|
|
@ -839,7 +839,7 @@ elf_s390_check_relocs (abfd, info, sec, relocs)
|
|||
/* This relocation describes which C++ vtable entries are actually
|
||||
used. Record for later use during GC. */
|
||||
case R_390_GNU_VTENTRY:
|
||||
if (!_bfd_elf64_gc_record_vtentry (abfd, sec, h, rel->r_offset))
|
||||
if (!_bfd_elf64_gc_record_vtentry (abfd, sec, h, rel->r_addend))
|
||||
return false;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue