diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-06-28 08:08:04 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-06-28 08:08:30 -0700 |
commit | f4ab0e2d1d4e14cfdddf46ac846c48ae55f4e14a (patch) | |
tree | d2afef7558477e2ddbc901c3170a3a0278b61b75 /bfd/elf32-bfin.c | |
parent | 1b857aeed3f5cfddc4b5b1f5836ccd341aeb9f5d (diff) | |
download | gdb-f4ab0e2d1d4e14cfdddf46ac846c48ae55f4e14a.zip gdb-f4ab0e2d1d4e14cfdddf46ac846c48ae55f4e14a.tar.gz gdb-f4ab0e2d1d4e14cfdddf46ac846c48ae55f4e14a.tar.bz2 |
Skip version check for unreferenced and undefined symbol
No need to check version if symbol is unreferenced and undefined.
bfd/
PR ld/20306
* elflink.c (elf_link_check_versioned_symbol): Return false
for unreferenced undefined symbol.
ld/testsuite/
* testsuite/ld-gc/gc.exp: Run pr20306 test.
* ld-gc/pr20306.c: New file.
* ld-gc/pr20306.d: Likewise.
Diffstat (limited to 'bfd/elf32-bfin.c')
0 files changed, 0 insertions, 0 deletions