commit | 30596893ab5c82081bfdf81cebe0b973f4e7c516 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Tue May 31 20:59:04 2022 +0930 |
committer | Alan Modra <amodra@gmail.com> | Tue May 31 21:14:00 2022 +0930 |
tree | c7a3a87248e9b90a06caf544f2ddfaefcd52f252 | |
parent | e953510c3bfda9a39f1da76e00ab810917e32b78 [diff] |
sparc64 segfault in finish_dynamic_symbol SYMBOL_REFERENCES_LOCAL can return true for undefined symbols. This can result in a segfault when running sparc64 ld/testsuite/ld-vsb tests that expect a failure. * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Don't access u.def.section on non-default visibility undefined symbol.