aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.pascal/stub-method.exp
diff options
context:
space:
mode:
authorJan Vrany <jan.vrany@fit.cvut.cz>2018-12-13 15:20:49 +0000
committerSimon Marchi <simon.marchi@ericsson.com>2018-12-21 15:53:08 -0500
commit6e8b1ab2fd4c692146eb14295866920f83dc5403 (patch)
treeb945355f5210b1f85519fb2b94d13aa6a8760f7d /gdb/testsuite/gdb.pascal/stub-method.exp
parent6d78332e7748754d4a77a31e692fb8760c8c12ff (diff)
downloadgdb-6e8b1ab2fd4c692146eb14295866920f83dc5403.zip
gdb-6e8b1ab2fd4c692146eb14295866920f83dc5403.tar.gz
gdb-6e8b1ab2fd4c692146eb14295866920f83dc5403.tar.bz2
Fix various tests to use -no-pie linker flag when needed
Various tests use test code written in i386 / x86_64 assembly that cannot be used to create PIE executables. Therefore compilation of test programs failed on systems where the compiler default is to create PIE executable. The solution is to use -no-pie linker flag, however, such flag may not (is not) supported by all compilers GDB needs to support (e.g. gcc 4.8). To handle this, introduce a new flag to gdb_compile - nopie - which inserts -no-pie linker flag where supported and is no-op where it is not. By default, -no-pie flag is inserted since most modern compiler do support it.
Diffstat (limited to 'gdb/testsuite/gdb.pascal/stub-method.exp')
0 files changed, 0 insertions, 0 deletions