diff options
author | Tom de Vries <tdevries@suse.de> | 2023-06-17 12:28:58 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-06-17 12:28:58 +0200 |
commit | 90cce6c0551b31b7e7bebec8ca9d6ac9267a8560 (patch) | |
tree | 8916aab8b54c1abbe2e356a95de2757926d03d91 /gdb/testsuite/gdb.python/py-objfile-script.c | |
parent | 09ea7c9c49ec1a94c8107cd2c1dd303d158b218d (diff) | |
download | binutils-90cce6c0551b31b7e7bebec8ca9d6ac9267a8560.zip binutils-90cce6c0551b31b7e7bebec8ca9d6ac9267a8560.tar.gz binutils-90cce6c0551b31b7e7bebec8ca9d6ac9267a8560.tar.bz2 |
[gdb/testsuite] Add nopie in a few test-cases
When running test-case gdb.arch/i386-disp-step.exp with target board
unix/-m32/-fPIE/-pie we run into:
...
gdb compile failed, ld: i386-disp-step0.o: warning: relocation in read-only section `.text'
ld: warning: creating DT_TEXTREL in a PIE
...
Fix this by adding nopie in the compilation flags.
Likewise in a few other test-cases.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-objfile-script.c')
0 files changed, 0 insertions, 0 deletions