aboutsummaryrefslogtreecommitdiff
path: root/ld/ldelf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-08-30 08:49:15 -0700
committerH.J. Lu <hjl.tools@gmail.com>2023-08-30 17:17:31 -0700
commitbac5753ca24bbbd601b6be93faa40e9458d8baa5 (patch)
tree983bde7bc19ed3f6c1eedaef6e7c681ed1b796c3 /ld/ldelf.c
parent48abc08d13eab39d3db931352990e409174d5b9f (diff)
downloadgdb-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