Fix testsuite failures for arm -linux
authorNick Clifton <nickc@redhat.com>
Thu, 28 Oct 1999 16:22:48 +0000 (16:22 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 28 Oct 1999 16:22:48 +0000 (16:22 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-srec/srec.exp

index 650d3258ff99a265fce2d4c3cbfa5e7fd9a8192d..b66dce3e38177888567abc7f5ea25a887c313668 100644 (file)
@@ -1,3 +1,8 @@
+1999-10-28  Scott Bambrough  <scottb@netwinder.org>
+
+       * ld/testsuite/ld-srec/srec.exp: Setup expected failures for
+       srec tests on ARM Linux.
+
 1999-09-17  Alan Modra  <alan@spri.levels.unisa.edu.au>
 
        * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load
index 6551d36dd50c4b0b95791033fc4bc9f594772ff0..ca38a00484ccd4f96f8df85c775b031a3a763bfe 100644 (file)
@@ -229,11 +229,11 @@ proc run_srec_test { test objs } {
     }
 
     # ARM targets call __gccmain
-    if [istarget arm-*-*] {
+    if [istarget arm*-*-*] {
        set flags "$flags --defsym ___gccmain=0"
     }
     
-    if [istarget strongarm-*-*] {
+    if [istarget strongarm*-*-*] {
        set flags "$flags --defsym __gccmain=0"
     }
     
@@ -326,12 +326,13 @@ setup_xfail "*-*-aix*" "*-*-xcoff*"
 
 # The S-record linker doesn't build ARM/Thumb stubs.
 setup_xfail "arm-*-coff"
-setup_xfail "strongarm-*-*"
+setup_xfail "strongarm*-*-*"
 setup_xfail "arm-*-pe*"
 # setup_xfail "arm-*elf*"
 setup_xfail "thumb-*-coff*"
 setup_xfail "thumb-*-pe*"
 setup_xfail "thumb-*-elf*"
+setup_xfail "arm*-*-linux*"
 
 # The S-record linker doesn't build special EABI sections.
 setup_xfail "powerpc*-*-eabi*"
@@ -368,8 +369,8 @@ if ![ld_compile "$CXX $CXXFLAGS -fgnu-linker" $srcdir/$subdir/sr3.cc tmpdir/sr3.
 setup_xfail "i*86-*-aout*"
 setup_xfail "mips*-*-irix5*" "mips*-*-irix6*"
 setup_xfail "*-*-aix*" "*-*-xcoff*"
-setup_xfail "arm-*-*"
-setup_xfail "strongarm-*-*"
+setup_xfail "arm*-*-*"
+setup_xfail "strongarm*-*-*"
 setup_xfail "thumb-*-*"
 setup_xfail "powerpc*-*-eabi*"
 setup_xfail "v850*-*-elf"