This fixes the recently added ld-elf/pr24511 test failure on pj-elf.
Incidentally, pj-elf has failed its gas "pj" test since 2005-12-22
(git commit
54758c3e39). I think that makes the target ripe for
obsolescence.
bfd/
* elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
ld/
* testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
2019-05-06 Alan Modra <amodra@gmail.com>
+ * elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
+
+2019-05-06 Alan Modra <amodra@gmail.com>
+
* reloc.c (BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA),
(BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA):
Sort before BFD_RELOC_PPC64_DTPREL16_HIGHESTA entry.
}
if (symbol_in != NULL
+ && (symbol_in->flags & BSF_WEAK) == 0
&& bfd_is_und_section (symbol_in->section))
return bfd_reloc_undefined;
+2019-05-06 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
+
2019-05-04 Alan Modra <amodra@gmail.com>
* testsuite/ld-scripts/fill.d: Don't xfail m32c
if {! [istarget i?86-*-*]} {
setup_xfail *-*-pe*
}
- setup_xfail pj-*-*
fail $testname
} elseif {![is_remote host] && [which $objdump] == 0} then {
unresolved $testname