diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-11-28 08:03:46 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-11-28 08:03:46 -0800 |
commit | 4deb8f714d555a2f530e37c3e7af32bc42fdda58 (patch) | |
tree | 4f5c4fc9e7e3347ae4e8cb222032d7e64e9231ad /gdb/dwarf2loc.c | |
parent | 9e27646a6dedd071bdc8a7ba75eca1faaf500366 (diff) | |
download | gdb-4deb8f714d555a2f530e37c3e7af32bc42fdda58.zip gdb-4deb8f714d555a2f530e37c3e7af32bc42fdda58.tar.gz gdb-4deb8f714d555a2f530e37c3e7af32bc42fdda58.tar.bz2 |
Properly hide hidden versioned symbol in executable
A hidden versioned symbol in executable should be forced local if it is
locally defined, not referenced by shared library and not exported. We
must do it before _bfd_elf_link_renumber_dynsyms.
bfd/
* elflink.c (_bfd_elf_fix_symbol_flags): Hide hidden versioned
symbol in executable.
(elf_link_output_extsym): Don't change bind from global to
local when linking executable.
ld/
* testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
* testsuite/ld-elf/pr18720.rd: New file.
Diffstat (limited to 'gdb/dwarf2loc.c')
0 files changed, 0 insertions, 0 deletions