commit | b2abe1bd8149dd9ad64432f620c3a034bf23a5fe | [log] [tgz] |
---|---|---|
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | Thu Feb 07 17:04:31 2019 +0100 |
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | Thu Feb 07 17:04:31 2019 +0100 |
tree | 0e8ab9fa20f8319b7a2fff77200f3c797c17a608 | |
parent | 68a091326f6ac25005c49c4cbda1855080ba1d5f [diff] |
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.