diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2012-01-13 18:39:31 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2012-01-13 18:39:31 +0000 |
commit | 9241a8bcf3da010eb1ec0ca6568e13243ce898ff (patch) | |
tree | 4f96537c0dcd4d8311d4345e1cc06552c77fe87d /gdb/testsuite/gdb.base/pie-execl.exp | |
parent | 34dd18bca5b8991d5e107dc1669ba6710916ce1d (diff) | |
download | gdb-9241a8bcf3da010eb1ec0ca6568e13243ce898ff.zip gdb-9241a8bcf3da010eb1ec0ca6568e13243ce898ff.tar.gz gdb-9241a8bcf3da010eb1ec0ca6568e13243ce898ff.tar.bz2 |
2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
* gdb.base/pie-execl.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/pie-execl.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/pie-execl.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/pie-execl.exp b/gdb/testsuite/gdb.base/pie-execl.exp index 6ac2acf..8b6da71 100644 --- a/gdb/testsuite/gdb.base/pie-execl.exp +++ b/gdb/testsuite/gdb.base/pie-execl.exp @@ -37,7 +37,7 @@ set binfile2_test_msg OBJDIR/${subdir}/${executable2} # Use conditional compilation according to `BIN' as GDB remembers the source # file name of the breakpoint. -set opts [list debug {additional_flags=-fPIE -pie}] +set opts [list debug additional_flags=-fPIE ldflags=-pie] if {[build_executable ${testfile}.exp $executable1 $srcfile [concat $opts {additional_flags=-DBIN=1}]] == "" || [build_executable ${testfile}.exp $executable2 $srcfile [concat $opts {additional_flags=-DBIN=2}]] == ""} { return -1 |