diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-07-03 14:44:33 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-07-03 14:44:33 +0000 |
commit | 9bb2949b19d073515dda13091ea423b57d6e760c (patch) | |
tree | c83ee98f2f13e236da635bc2bf99f650daaf4a4a /binutils/testsuite/binutils-all/compress.exp | |
parent | 9caf1459bcedaaa6e759a0be6afceecded8a1a74 (diff) | |
download | binutils-redhat-9bb2949b19d073515dda13091ea423b57d6e760c.tar.gz |
Properly handle indirect symbols
2012-07-03 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3351
* elflink.c (_bfd_elf_update_dynamic_flags): New.
(_bfd_elf_merge_symbol): Update both real and indirect symbol
dynamic flags.
(_bfd_elf_add_default_symbol): Make the real symbol dynamic if
the indirect symbol is defined in a shared library.
(elf_link_add_object_symbols): Likewise. If the indirect
symbol has been forced local, don't make the real symbol
dynamic.
(elf_link_check_versioned_symbol): Check indirect symbol.
(elf_link_output_extsym): Use real symbol definition when
reporting indirect symbol error. Check version info for
dynamic versioned symbol.
2012-07-03 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3351
* ld-elf/indirect.exp: New file.
* ld-elf/indirect1a.c: Likewise.
* ld-elf/indirect1b.c: Likewise.
* ld-elf/indirect1c.c: Likewise.
* ld-elf/indirect2.c: Likewise.
* ld-elf/indirect3.out: Likewise.
* ld-elf/indirect3a.c: Likewise.
* ld-elf/indirect3b.c: Likewise.
* ld-elf/indirect3c.c: Likewise.
* ld-elf/indirect4.out: Likewise.
* ld-elf/indirect4a.c: Likewise.
* ld-elf/indirect4b.c: Likewise.
* ld-elf/indirect4c.c: Likewise.
Diffstat (limited to 'binutils/testsuite/binutils-all/compress.exp')
0 files changed, 0 insertions, 0 deletions