glibc.
+2005-05-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * gas/sh/basic.exp: Replace linux-gnu with linux-* to allow for
+       versions of Linux which do not use glibc.
+       * gas/vax/vax.exp: Likewise.
+
 2005-05-05  Paul Brook  <paul@codesourcery.com>
 
        * lib/gas-defs.exp (regexp_diff): Pass test if last line is "#...".
 
 
 # Written by Cygnus Support.
 
-if [istarget "sh*-*-linux-gnu"] {
+if [istarget "sh*-*-linux-*"] {
     global ASFLAGS
     set ASFLAGS "$ASFLAGS -big"
 }
 
     set x2 0
     set x3 0
     set file "quad.s"
-    if { [istarget vax-*-*elf*] || [istarget vax-*-linux-gnu*] } then {
+    if { [istarget vax-*-*elf*] || [istarget vax-*-linux-*] } then {
        set file "quad_elf.s"
     }
     gas_start $file "-al"
 
     run_dump_test "flonum"
 
-    if { [istarget vax-*-*elf*] || [istarget vax-*-linux-gnu*] } then {
+    if { [istarget vax-*-*elf*] || [istarget vax-*-linux-*] } then {
        run_dump_test "elf-rel"
     }
 }
 
+2005-05-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * ld-srec/srec.exp: Replace linux-gnu with linux-* to allow for
+       versions of Linux which do not use glibc.
+       * ld-sh/sh.exp: Likewise
+
 2005-05-05  Paul Brook  <paul@codesourcery.com>
 
        * lib/ld-lib.exp (regexp_diff): Pass test if last line is "#...".
 
 # 
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
 #
 # Written by Ian Lance Taylor (ian@cygnus.com)
 #
 
 set testsrec "SH relaxing to S-records"
 
-if [istarget sh*-linux-gnu] {
+if [istarget sh*-linux-*] {
     # This target needs the explicit entry address.
     catch "exec $objdump -x tmpdir/sh1 | grep start\\ address | sed s/start\\ address//" entry_addr
     set srec_relax_arg "-Ttext $entry_addr -relax --oformat srec tmpdir/sh1.o"
     return
 }
 
-if [istarget sh*-linux-gnu] {
+if [istarget sh*-linux-*] {
     exec sed -e s/_main/main/ -e s/_trap/trap/ -e s/_stack/stack/ \
            < $srcdir/$subdir/start.s >tmpdir/start.s
 } else {
 
 # 
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
 
 # Get the offset from an S-record line to the start of the data.
 
 setup_xfail "v850*-*-elf"
 
 # The S-record linker doesn't handle Alpha Elf relaxation.
-setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*"
+setup_xfail "alpha*-*-elf*" "alpha*-*-linux-*" "alpha*-*-gnu*"
 setup_xfail "alpha*-*-netbsd*"
 
 # The S-record linker hasn't any hope of coping with HPPA relocs.
 setup_xfail "thumb-*-*"
 setup_xfail "powerpc*-*-eabi*"
 setup_xfail "v850*-*-elf"
-setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*"
+setup_xfail "alpha*-*-elf*" "alpha*-*-linux-*" "alpha*-*-gnu*"
 setup_xfail "alpha*-*-netbsd*"
 setup_xfail "hppa*-*-*"
 setup_xfail "ia64-*-*"