diff options
author | Nick Clifton <nickc@redhat.com> | 2017-11-01 11:35:42 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-11-01 11:35:42 +0000 |
commit | ee357486aa87b17782111295c5e7bd4ac9e6970f (patch) | |
tree | 26750ac53e7ea4c06e31a9230d11fce21678126f /libiberty/pex-win32.c | |
parent | 4070243b5c1f66a36dd43a7b722e991ac9fc40e1 (diff) | |
download | gdb-ee357486aa87b17782111295c5e7bd4ac9e6970f.zip gdb-ee357486aa87b17782111295c5e7bd4ac9e6970f.tar.gz gdb-ee357486aa87b17782111295c5e7bd4ac9e6970f.tar.bz2 |
Fix an invalid free called when attempting to link a COFF object against an ELF archive with --no-keep-memory enabled.
PR 22369
* coffgen.c (_bfd_coff_free_symbols): Fail if called on a non-COFF
file.
* cofflink.c (coff_link_check_archive_element): Skip non-COFF
members of an archive.
Diffstat (limited to 'libiberty/pex-win32.c')
0 files changed, 0 insertions, 0 deletions