aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-lm32.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2019-05-14 10:10:08 +0200
committerTom de Vries <tdevries@suse.de>2019-05-14 10:10:08 +0200
commit2764128dee821448ba43a50ed8cee387f2ee8dca (patch)
tree5fd31aa1ab702173d6c27554397b2ab6b1f671c0 /gas/config/tc-lm32.h
parent3c2fcaf9132b994ff3dcb19847717f175098289b (diff)
downloadgdb-2764128dee821448ba43a50ed8cee387f2ee8dca.zip
gdb-2764128dee821448ba43a50ed8cee387f2ee8dca.tar.gz
gdb-2764128dee821448ba43a50ed8cee387f2ee8dca.tar.bz2
[gdb/testsuite] Fix base address selection entry encoding in dw2-skip-prologue.S
A base address selection entry in a location list consist of two (constant or relocated) address offsets. The two offsets are the same size as an address on the target machine. The test-case gdb.dwarf2/dw2-skip-prologue.S encodes a base address selection entry using .4byte, which is incorrect for 8-byte pointer size. [ Which triggers an assert in dwz, see PR dwz/24172. ] Fix this by using PTRBYTE instead. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2019-05-14 Tom de Vries <tdevries@suse.de> * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address selection entry encoding.
Diffstat (limited to 'gas/config/tc-lm32.h')
0 files changed, 0 insertions, 0 deletions