aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-03-20 13:16:34 -0700
committerH.J. Lu <hjl.tools@gmail.com>2025-04-29 14:25:38 +0800
commit82bdc396a40e64ea17acdba072bafbb3f620518f (patch)
tree796425ebc5dc83b071c32fb8e6e98d10f516343e /libctf
parent2b63e8b4dbfcdea91c6e3f4778c1a564ed391046 (diff)
downloadbinutils-82bdc396a40e64ea17acdba072bafbb3f620518f.zip
binutils-82bdc396a40e64ea17acdba072bafbb3f620518f.tar.gz
binutils-82bdc396a40e64ea17acdba072bafbb3f620518f.tar.bz2
dwarf: Dump .debug_loclists only for DWARF-5
.debug_loclists section is loaded into debug_information as DWARF-5 debug info and .debug_loc section is loaded into debug_information as pre-DWARF-5 debug info. When dumping .debug_loc section, we should only process pre-DWARF-5 debug info in debug_information. When dumping .debug_loclists section, we should only process DWARF-5 info in debug_information. binutils/ PR binutils/32809 * dwarf.c (display_debug_loc): Dump .debug_loclists only for DWARF-5. ld/ PR binutils/32809 * testsuite/ld-x86-64/dwarf4.s: New file. * testsuite/ld-x86-64/dwarf5a.s: Likewise. * testsuite/ld-x86-64/dwarf5b.s: Likewise. * testsuite/ld-x86-64/pr32809.d: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run pr32809. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions