diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-02-06 04:25:36 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-02-06 04:29:35 -0800 |
commit | 9e2dec471006de3e0489a34fbeb922fee1e302af (patch) | |
tree | 7ab3bd6dbab46c47b980a09d16592ea6b12326ea /binutils | |
parent | e584fdbc6a9b0da786c5a55855f9fd9f7e676198 (diff) | |
download | gdb-9e2dec471006de3e0489a34fbeb922fee1e302af.zip gdb-9e2dec471006de3e0489a34fbeb922fee1e302af.tar.gz gdb-9e2dec471006de3e0489a34fbeb922fee1e302af.tar.bz2 |
Properly mark the plugin symbol undefined
Mark the unused plugin defined symbol in elf_link_input_bfd instead of
_bfd_elf_fix_symbol_flags. Limit the PR ld/12365 test to x86 targets.
bfd/
PR ld/12365
PR ld/14272
* elflink.c (_bfd_elf_fix_symbol_flags): Revert the last change.
(elf_link_input_bfd): Mark the plugin symbol undefined if it is
referenced from a non-IR file.
ld/testsuite/
PR ld/12365
PR ld/14272
* ld-plugin/lto.exp: Run the PR ld/12365 test only for x86 targets.
* ld-plugin/plugin-7.d: Updated.
* ld-plugin/plugin-8.d: Likewise.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions