OSDN Git Service

gdb/testsuite/
authorPedro Alves <pedro@codesourcery.com>
Thu, 8 Oct 2009 22:42:53 +0000 (22:42 +0000)
committerPedro Alves <pedro@codesourcery.com>
Thu, 8 Oct 2009 22:42:53 +0000 (22:42 +0000)
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
bits.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 57554e2..64f2189 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-08  Pedro Alves  <pedro@codesourcery.com>
+
+       * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
+       bits.
+
 2009-10-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
index 4871494..3ac7305 100644 (file)
@@ -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*"]