diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-08-30 08:49:15 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-08-30 17:17:31 -0700 |
commit | bac5753ca24bbbd601b6be93faa40e9458d8baa5 (patch) | |
tree | 983bde7bc19ed3f6c1eedaef6e7c681ed1b796c3 /ld/ldelf.c | |
parent | 48abc08d13eab39d3db931352990e409174d5b9f (diff) | |
download | gdb-bac5753ca24bbbd601b6be93faa40e9458d8baa5.zip gdb-bac5753ca24bbbd601b6be93faa40e9458d8baa5.tar.gz gdb-bac5753ca24bbbd601b6be93faa40e9458d8baa5.tar.bz2 |
elf: Check DT_SYMTAB only on non-IR object
Check DT_SYMTAB only on non-IR object of archive member to avoid crash
on LLVM IR object with NULL elf_tdata.
PR ld/30811
* elflink.c (elf_link_is_defined_archive_symbol): Check
DT_SYMTAB only on non-IR object.
Diffstat (limited to 'ld/ldelf.c')
0 files changed, 0 insertions, 0 deletions