This is the mail archive of the
mailing list for the binutils project.
Re: PowerPC64 ELFv1 undefined weak functions
On 12/08/16 06:16, Alan Modra wrote:
This adds tests for a few common targets. I've implemented this
without using C code because C testcases aren't so useful when
building cross binutils targets: You need a cross-compiler installed
for the target, and there is less control over exactly what you're
testing. My approach of course has the disadvantage of needing target
* testsuite/ld-undefined/weak-fundef.s: New.
* testsuite/ld-undefined/weak-undef.t: Don't specify filename.
* testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
much of old code. Use is_elf_format to select targets.
This is making check-ld fail on aarch64-none-elf and aarch64_be-none-elf with
UNRESOLVED: weak undefined function symbols in shared lib
It passes for aarch64-none-linux-gnu.