diff options
author | Nick Clifton <nickc@redhat.com> | 2017-10-23 18:16:49 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-10-23 18:16:49 +0100 |
commit | 66cae56016a12f7cbdc94be6f82c1cad1c59b521 (patch) | |
tree | a89554827cf870a421e3af26f6b7d6c389abefe4 /ld/plugin.c | |
parent | fe4e2a3c9281851c9da99a6e36a2bc96e4279476 (diff) | |
download | fsf-binutils-gdb-66cae56016a12f7cbdc94be6f82c1cad1c59b521.zip fsf-binutils-gdb-66cae56016a12f7cbdc94be6f82c1cad1c59b521.tar.gz fsf-binutils-gdb-66cae56016a12f7cbdc94be6f82c1cad1c59b521.tar.bz2 |
Make sure that undefined symbols added to the linker command line via the -u option appear in the output executable, if they have not been resolved.
PR 22319
bfd * elflink.c (elf_link_output_extsym): Keep global undefined
symbols if they have been marked as needed.
ld * testsuite/ld-elf/pr22310.s: New test source file.
* testsuite/ld-elf/pr22310.d: New test driver.
* testsuite/ld-mmix/undef-3.d: Update expected output from readelf.
Diffstat (limited to 'ld/plugin.c')
0 files changed, 0 insertions, 0 deletions