Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / gas / testsuite / gas / all / gas.exp
index 0355a03fa44b867bc08538d7cd187a398e73da5c..e771184c45da55f46d1721f3a131e24a65f24447 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2018 Free Software Foundation, Inc.
+# Copyright (C) 2012-2019 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -73,6 +73,12 @@ if {    ![istarget alpha*-*-*vms*]
 gas_test_error "equiv1.s" "" ".equiv for symbol already set to another one"
 gas_test_error "equiv2.s" "" ".equiv for symbol already set to an expression"
 
+# The inode comparison used to detect identical input and output files
+# doesn't work on non-Posix hosts.
+if { ![ishost "*-*-mingw*"] } then {
+    gas_test_error "none.s" "-o $srcdir/$subdir/none.s" "Output file must be distinct from input"
+}
+
 # .equ works differently on some targets.
 case $target_triplet in {
     { hppa*-*-* } { }
@@ -85,12 +91,15 @@ case $target_triplet in {
 
 gas_test "eqv-ok.s" "" "" ".eqv support"
 gas_test_error "eqv-bad.s" "" ".eqv for symbol already set"
+run_dump_test eqv-dot
 
 if { ![istarget "bfin-*-*"] } then {
     gas_test "assign-ok.s" "" "" "== assignment support"
 }
 gas_test_error "assign-bad.s" "" "== assignment for symbol already set"
 
+run_dump_test simple-forward
+
 # .equ works differently on some targets.
 # linkrelax-ing prevents most forward references from working.
 case $target_triplet in {
@@ -104,10 +113,6 @@ case $target_triplet in {
     { microblaze-*-* } { }
     { mn10\[23\]00*-*-* } { }
     default {
-       # Some targets don't manage to resolve BFD_RELOC_8 for constants.
-       setup_xfail "alpha*-*-*" "*c30*-*-*" "*c4x*-*-*" \
-           "d\[13\]0v*-*-*" \
-           "nds32*-*-*" "pdp11-*-*" "xtensa*-*-*"
        run_dump_test forward
     }
 }
@@ -159,7 +164,6 @@ case $target_triplet in {
     { z80-*-* } { }
     default {
        run_dump_test redef
-       setup_xfail "arm-epoc-pe*"
        # These targets fail redef2 because they disallow redefined
        # symbols on relocs.
        setup_xfail "m68hc1*-*-*" "m6811-*-*" "m6812-*-*" "rl78-*-*"
@@ -169,8 +173,6 @@ case $target_triplet in {
        setup_xfail "riscv*-*-*" "rx-*-*" "vax*-*-*" "xgate*-*-*" "z8k-*-*"
        # rs6000-aix disallows redefinition via .comm.
        setup_xfail "*-*-aix*"
-       # SOM uses a different syntax for .comm
-       setup_xfail "hppa*-*-hpux*"
        # These targets fail redef3 because section contents for the
        # word referencing the .comm sym is not zero and/or its reloc
        # has a non-zero addend.  Relaxing the test would hide real
@@ -390,7 +392,6 @@ if { ![istarget "bfin-*-*"] && ![istarget "nds32*-*-*"] } then {
 run_dump_test sleb128
 run_dump_test sleb128-2
 run_dump_test sleb128-3
-setup_xfail "nds32*-*-*"
 run_dump_test sleb128-4
 run_dump_test sleb128-5
 # .byte is not 8 bits on either tic4x or tic54x
@@ -413,17 +414,7 @@ if { ![istarget "powerpc*-*-*"] && ![istarget "rs6000*-*-*"] && ![istarget "s390
 }
 
 run_dump_test quad
-
-# som doesn't use .data section.
-case $target_triplet in {
-    { hppa*64*-*-* } {
-       run_dump_test octa
-    }
-    { hppa*-*-hpux* } { }
-    default {
-       run_dump_test octa
-    }
-}
+run_dump_test octa
 
 # .set works differently on some targets.
 case $target_triplet in {
@@ -463,9 +454,6 @@ case $target_triplet in {
     { "mmix-*-*" } {
        set nop_type 5
     }
-    { "i370-*-*" } {
-       set nop_type 3
-    }
     { "or1k*-*-*" } {
        set nop_type 2
     }
@@ -484,3 +472,5 @@ run_dump_test "org-5"
 run_dump_test "org-6"
 
 run_dump_test "fill-1"
+
+gas_test "pr23938.s" "" "" ".xstabs"
This page took 0.026934 seconds and 4 git commands to generate.