This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] SPARC: fix PR ld/18841
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 07 Feb 2019 16:52:48 -0500
- Subject: [binutils-gdb] SPARC: fix PR ld/18841
*** TEST RESULTS FOR COMMIT b2abe1bd8149dd9ad64432f620c3a034bf23a5fe ***
Author: Eric Botcazou <ebotcazou@gcc.gnu.org>
Branch: master
Commit: b2abe1bd8149dd9ad64432f620c3a034bf23a5fe
SPARC: fix PR ld/18841
This fixes the last ld failures on SPARC64/Linux:
FAIL: Run pr18841 with libpr18841b.so
FAIL: Run pr18841 with libpr18841c.so
FAIL: Run pr18841 with libpr18841bn.so (-z now)
FAIL: Run pr18841 with libpr18841cn.so (-z now)
by mimicing what has been done on x86-64 and Aarch64 to fix the PR.
bfd/
PR ld/18841
* elf32-sparc.c (elf32_sparc_reloc_type_class): Return
reloc_class_ifunc for ifunc symbols.
* elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.