| Index: gdb/testsuite/gdb.base/pie-execl.exp
|
| diff --git a/gdb/testsuite/gdb.base/pie-execl.exp b/gdb/testsuite/gdb.base/pie-execl.exp
|
| index 6ac2acf1602c26bb5fa4f8ff4c425ca026c15605..8b6da71fecb743b96b8e05845ff627c2c6c3ebbe 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
|
|
|