]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf.c
Fix implib test failures
authorAlan Modra <amodra@gmail.com>
Wed, 20 Jul 2016 05:36:49 +0000 (15:06 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 21 Jul 2016 02:00:34 +0000 (11:30 +0930)
commit5df1bc570fcc5ef5257b7a044acdaeb6b95b9822
treeb0992244c629eaa0646c2dfd99dcf6487066f4f3
parentc092a4d9154f09e6c67648efb723878d7a74f44f
Fix implib test failures

bfd/
* elf.c (_bfd_elf_filter_global_symbols): Skip local symbols.
(swap_out_syms): Return an error when not finding ELF output
section rather than asserting.
* elflink.c (elf_output_implib): Call bfd_set_error on no symbols.
ld/
* testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
parameter to pass list of xfails.
* testsuite/ld-elf/elf.exp: Add xfails for implib tests.  Tidy
implib test formatting.  Don't set .data start address.
* testsuite/ld-elf/implib.s: Remove first .bss directive and
replace second one with equivalent .section directive.
* testsuite/ld-elf/empty-implib.out: Add expected final error.
* testsuite/ld-elf/implib.rd: Update.
bfd/ChangeLog
bfd/elf.c
bfd/elflink.c
ld/ChangeLog
ld/testsuite/ld-elf/elf.exp
ld/testsuite/ld-elf/empty-implib.out
ld/testsuite/ld-elf/implib.rd
ld/testsuite/ld-elf/implib.s
ld/testsuite/lib/ld-lib.exp