diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/gdb.base/infoline-reloc-main-from-zero.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/infoline-reloc-main-from-zero.exp b/gdb/testsuite/gdb.base/infoline-reloc-main-from-zero.exp index c1391ee..93c7295 100644 --- a/gdb/testsuite/gdb.base/infoline-reloc-main-from-zero.exp +++ b/gdb/testsuite/gdb.base/infoline-reloc-main-from-zero.exp @@ -28,6 +28,7 @@ standard_testfile .c set opts {} lappend opts debug lappend opts "ldflags=-nostdlib -emain -Wl,-Ttext=0x00 -Wl,-N" +lappend opts additional_flags=-static set ld_flags ldflags=-Wl,--no-warn-rwx-segments if { [gdb_can_simple_compile ld-flags {int main () { return 0; }} executable \ |