gdb/testsuite/
authorPedro Alves <palves@redhat.com>
Thu, 8 Oct 2009 22:42:53 +0000 (22:42 +0000)
committerPedro Alves <palves@redhat.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 57554e2c8dbab5d7a3da3fdb4d71eb02e22feb9b..64f21898c76188575860779cc3a0393bd9487eff 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 4871494545b2ba0ce95a5b1cfca6217a9959bd65..3ac7305a590dbf1b598cc8d707846deef82de1c2 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*"]