diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-10-12 18:12:49 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-10-12 18:12:49 +0000 |
commit | d8b34041e09e904a242f922f3f09d2837399e415 (patch) | |
tree | 235d4313b76252f663e137f30c8801a628b11ab9 /gdb/testsuite/lib | |
parent | e0cc584ecf55a751d86ba66224af3e50e32fbb5f (diff) | |
download | gdb-d8b34041e09e904a242f922f3f09d2837399e415.zip gdb-d8b34041e09e904a242f922f3f09d2837399e415.tar.gz gdb-d8b34041e09e904a242f922f3f09d2837399e415.tar.bz2 |
gdb/testsuite/
* gdb.base/break-interp.exp: Use ldlags for linking flags.
* gdb.base/prelink.exp: Likewise.
* gdb.base/solib-nodir.exp: Likewise.
* lib/gdb.exp (gdb_compile) <*-*-openbsd*>
(gdb_compile) <shlib_load>: Use ldlags for linking flags.
* lib/prelink-support.exp (build_executable_own_libs): Likewise.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/prelink-support.exp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index ce179b2..63e68d3 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2010,7 +2010,7 @@ proc gdb_compile {source dest type options} { || [istarget hppa*-*-hpux*])} { # Do not need anything. } elseif { [istarget *-*-openbsd*] } { - lappend new_options "additional_flags=-Wl,-rpath,${outdir}" + lappend new_options "ldflags=-Wl,-rpath,${outdir}" } elseif { [istarget arm*-*-symbianelf*] } { if { $shlib_load } { lappend new_options "libs=-ldl" @@ -2019,7 +2019,7 @@ proc gdb_compile {source dest type options} { if { $shlib_load } { lappend new_options "libs=-ldl" } - lappend new_options "additional_flags=-Wl,-rpath,\\\$ORIGIN" + lappend new_options "ldflags=-Wl,-rpath,\\\$ORIGIN" } } set options $new_options diff --git a/gdb/testsuite/lib/prelink-support.exp b/gdb/testsuite/lib/prelink-support.exp index 6dd95a0..548824e 100644 --- a/gdb/testsuite/lib/prelink-support.exp +++ b/gdb/testsuite/lib/prelink-support.exp @@ -164,7 +164,7 @@ proc build_executable_own_libs {testname executable sources options {interp ""} # Do not lappend it so that "-rpath $dir" overrides any possible "-rpath"s # specified by the caller to be able to link it for ldd" above. - set options [linsert $options 0 "additional_flags=-Wl,--dynamic-linker,$interp,-rpath,$dir"] + set options [linsert $options 0 "ldflags=-Wl,--dynamic-linker,$interp,-rpath,$dir"] if {[build_executable $testname $executable $sources $options] == -1} { return "" |