From 972f04d9fc148b9bc4b821c1ef5d5f16129b35c3 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 8 Oct 2009 22:42:53 +0000 Subject: [PATCH] gdb/testsuite/ * lib/gdb.exp (gdb_compile): Remove dead aix and irix related bits. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 14 ++++---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 57554e2c8d..64f21898c7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-10-08 Pedro Alves + + * lib/gdb.exp (gdb_compile): Remove dead aix and irix related + bits. + 2009-10-07 Jan Kratochvil * gdb.base/hbreak.exp, gdb.base/hbreak.c: New. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 4871494545..3ac7305a59 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1723,18 +1723,12 @@ proc gdb_compile {source dest type options} { } else { lappend source $shlib_name } - if {$shlib_found == 0} { + if { $shlib_found == 0 } { set shlib_found 1 - if { ([test_compiler_info "gcc-*"] - && ([istarget "powerpc*-*-aix*"] - || [istarget "rs6000*-*-aix*"] )) } { - lappend options "additional_flags=-L${outdir}" - } elseif { [istarget "mips-sgi-irix*"] } { - lappend options "additional_flags=-rpath ${outdir}" - } elseif { ([istarget "*-*-mingw*"] - || [istarget *-*-cygwin*]) } { + if { ([istarget "*-*-mingw*"] + || [istarget *-*-cygwin*]) } { lappend new_options "additional_flags=-Wl,--enable-auto-import" - } + } } } elseif { $opt == "shlib_load" } { if { ([istarget "*-*-mingw*"] -- 2.11.0