diff options
author | Tom de Vries <tdevries@suse.de> | 2021-11-29 09:51:10 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-11-29 09:51:10 +0100 |
commit | 97b3f4e86f7a25e0767487d72cb3977fd653b5bc (patch) | |
tree | 4bb2bbc81da47361911f7ff508c04c7042808dd8 /gdb/python/py-xmethods.c | |
parent | b42f20d2ac724c4936ff9cc1109f6cf2d91a7a52 (diff) | |
download | binutils-97b3f4e86f7a25e0767487d72cb3977fd653b5bc.zip binutils-97b3f4e86f7a25e0767487d72cb3977fd653b5bc.tar.gz binutils-97b3f4e86f7a25e0767487d72cb3977fd653b5bc.tar.bz2 |
[gdb/testsuite] Fix gdb.dwarf2/dw2-lines.exp with -m32
When running test-case gdb.dwarf2/dw2-lines.exp with target board -unix/-m32,
we run into another instance of PR28383, where the dwarf assembler generates
64-bit relocations which are not supported by the 32-bit assembler:
...
dw2-lines-dw.S: Assembler messages:^M
outputs/gdb.dwarf2/dw2-lines/dw2-lines-dw.S:76: Error: \
cannot represent relocation type BFD_RELOC_64^M
...
Fix this by using _op_offset in _line_finalize_header.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/python/py-xmethods.c')
0 files changed, 0 insertions, 0 deletions