]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/elf/elf.exp
Enhance GAS's .section directive so that it can take numeric values for the flags...
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / elf / elf.exp
index 496e01a4ff31a6be8187aee64bfc3360c707997f..40dfd12ae45adbd92d01ad4f067a2f94699ee35f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2015 Free Software Foundation, Inc.
+# Copyright (C) 2012-2016 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
@@ -90,6 +90,7 @@ if { [is_elf_format] } then {
     # optimization because it interfers with link-time relaxation of
     # function prologues.
     if {![istarget "mn10300-*-*"]
+       && ![istarget "arc-*-*"]
        && ![istarget "xtensa*-*-*"]
        && ![istarget "msp430*-*-*"]
        && ![istarget "nds32*-*-*"]
@@ -110,6 +111,7 @@ if { [is_elf_format] } then {
            run_dump_test "file"
        }
     }
+    run_dump_test "file-2"
     setup_xfail "nds32*-*-*"
     run_dump_test "group0a"
     run_dump_test "group0b"
@@ -148,7 +150,7 @@ if { [is_elf_format] } then {
            # against ordinary symbols into relocations against section symbols.
            # This is usually revealed by the error message:
            #  symbol `sym' required but not present
-       setup_xfail "m681*-*-*" "m68hc*-*-*"
+       setup_xfail "m681*-*-*" "m68hc*-*-*" "arc-*-*"
            run_dump_test redef
            run_dump_test equ-reloc
        }
@@ -199,10 +201,13 @@ if { [is_elf_format] } then {
     run_dump_test "section7"
     run_dump_test "section8"
     run_dump_test "section9"
+    run_dump_test "section10"
     run_dump_test "dwarf2-1"
     run_dump_test "dwarf2-2"
     run_dump_test "dwarf2-3"
     run_dump_test "dwarf2-4"
+    run_dump_test "bss"
+    run_dump_test "bad-bss"
     run_dump_test "bad-section-flag"
     run_dump_test "bad-size"
     run_dump_test "bad-group"