diff options
author | Alan Modra <amodra@gmail.com> | 2020-06-15 12:10:06 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-06-15 12:10:06 +0930 |
commit | 75cfe082c067db0b12fb982de0833309e454a8e2 (patch) | |
tree | 849f43dd0057e20e947e5f5fd8b7f80c7382e645 /bfd/ecoff.c | |
parent | cda58d5f970d0257749d549aee9c0e2bfb4a1fe8 (diff) | |
download | gdb-75cfe082c067db0b12fb982de0833309e454a8e2.zip gdb-75cfe082c067db0b12fb982de0833309e454a8e2.tar.gz gdb-75cfe082c067db0b12fb982de0833309e454a8e2.tar.bz2 |
PR26103, Assertion failure with symbols defined in link-once sections
PR 26103
* elflink.c (elf_link_add_archive_symbols): Exclude undefined
symbols that were defined in discarded sections.
* cofflink.c (coff_link_check_archive_element): Likewise.
(coff_link_add_symbols): Set indx to -3 for symbols defined in
discarded sections.
(_bfd_coff_write_global_sym): Don't emit such symbols.
libcoff-in.h (struct coff_link_hash_entry): Update indx comment.
libcoff.h: Regenerate.
Diffstat (limited to 'bfd/ecoff.c')
0 files changed, 0 insertions, 0 deletions