Run data-1 only for i*86, x86_64 and ia64.
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Aug 2010 22:05:23 +0000 (22:05 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Aug 2010 22:05:23 +0000 (22:05 +0000)
2010-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* elf/elf.exp: Run data-1 only for i*86, x86_64 and ia64.

gas/testsuite/ChangeLog
gas/testsuite/gas/elf/elf.exp

index e3b76a3..b5d0666 100644 (file)
@@ -1,5 +1,9 @@
 2010-08-02  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * elf/elf.exp: Run data-1 only for i*86, x86_64 and ia64.
+
+2010-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
        PR gas/11867
        * gas/elf/data-1.d: New.
        * gas/elf/data-1.s: Likewise.
index e06db46..0dcc000 100644 (file)
@@ -127,7 +127,12 @@ if { ([istarget "*-*-*elf*"]
            run_dump_test equ-reloc
        }
     }
-    run_dump_test "data-1"
+    if {[istarget "i*86-*-*"]
+       ||  [istarget "x86_64-*-*"]
+       || [istarget "ia64-*-*"]} then {
+       # This is a little endian test. 
+       run_dump_test "data-1"
+    }
     run_dump_test "pseudo"
     run_dump_test "section0" 
     run_dump_test "section1"