diff options
author | Tom de Vries <tdevries@suse.de> | 2023-09-28 09:47:36 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-09-28 09:47:36 +0200 |
commit | 2654f77d1424f6172d3026c524e96e14b5752ba1 (patch) | |
tree | ccabb4c38049135dd45f83010e42b7c27d8649a2 /ltversion.m4 | |
parent | be92e5342832bb0727c9bccba8bc325c5da43d95 (diff) | |
download | gdb-2654f77d1424f6172d3026c524e96e14b5752ba1.zip gdb-2654f77d1424f6172d3026c524e96e14b5752ba1.tar.gz gdb-2654f77d1424f6172d3026c524e96e14b5752ba1.tar.bz2 |
[gdb/testsuite] Add nopie to gdb.base/unwind-on-each-insn-amd64-2.exp
When running test-case gdb.base/unwind-on-each-insn-amd64-2.exp with target
board unix/-fPIE/-pie, I run into:
...
gdb compile failed, ld: unwind-on-each-insn-amd64-21.o: relocation \
R_X86_64_32S against `.text' can not be used when making a PIE object; \
recompile with -fPIE
ld: failed to set dynamic section sizes: bad value
...
Fix this by hardcoding nopie in the test-case, and for good measure in the
other test-cases that source unwind-on-each-insn.exp.tcl and use a .s file.
Tested on x86_64-linux.
Approved-by: Kevin Buettner <kevinb@redhat.com>
Diffstat (limited to 'ltversion.m4')
0 files changed, 0 insertions, 0 deletions