[binutils-gdb] S/390: ifunc: Handle GOTOFF relocs on ifunc symbols.

sergiodj+buildbot@redhat.com sergiodj+buildbot@redhat.com
Thu Oct 22 09:43:00 GMT 2015


*** TEST RESULTS FOR COMMIT 01a53584798606cf6329e8a86134cb9b47d1de11 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: 01a53584798606cf6329e8a86134cb9b47d1de11

S/390: ifunc: Handle GOTOFF relocs on ifunc symbols.

Normally a GOTOFF reloc only uses the GOT pointer to address something
relativ to it without actually requiring a GOT or PLT slot.  Things
change if the target is an ifunc symbol though.

bfd/ChangeLog:

	* elf32-s390.c (elf_s390_check_relocs): Fallthrough to the PLT
	slot allocating code for GOTOFF relocs on ifunc symbols.
	(elf_s390_gc_sweep_hook): Decrement plt refcount for GOTOFF relocs
	on ifunc symbols.
	(elf_s390_relocate_section): Redirect a GOTOFF reloc to an iplt
	slot.



More information about the Gdb-testers mailing list