aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-11-10 12:15:02 -0700
committerTom Tromey <tromey@adacore.com>2021-11-10 12:16:40 -0700
commit0c7af29227028f58dfe8ac7e6f0be19f87b9fe22 (patch)
treebd00d06f52ddfe4121d6e9e88f96002977482860 /libctf
parent14f458590a51e9922c03bbb16f7e733db8015f98 (diff)
downloadbinutils-0c7af29227028f58dfe8ac7e6f0be19f87b9fe22.zip
binutils-0c7af29227028f58dfe8ac7e6f0be19f87b9fe22.tar.gz
binutils-0c7af29227028f58dfe8ac7e6f0be19f87b9fe22.tar.bz2
Handle PIE in .debug_loclists
Simon pointed out that my recent patches to .debug_loclists caused some regressions. After a brief discussion we realized it was because his system compiler defaults to PIE. This patch changes this code to unconditionally apply the text offset here. It also changes loclist_describe_location to work more like dwarf2_find_location_expression. I tested this by running the gdb.dwarf2 tests both with and without -pie.
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions