Fix assembler tests to work with toolchains that have been configured with --enable...
authorNick Clifton <nickc@redhat.com>
Wed, 3 Jul 2019 14:26:32 +0000 (15:26 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 3 Jul 2019 14:26:32 +0000 (15:26 +0100)
93 files changed:
gas/ChangeLog
gas/testsuite/gas/aarch64/codealign.d
gas/testsuite/gas/aarch64/codealign_1.d
gas/testsuite/gas/aarch64/dwarf.d
gas/testsuite/gas/aarch64/mapmisc.d
gas/testsuite/gas/aarch64/mapping.d
gas/testsuite/gas/aarch64/mapping2.d
gas/testsuite/gas/aarch64/mapping3.d
gas/testsuite/gas/aarch64/mapping4.d
gas/testsuite/gas/aarch64/mapping_5.d
gas/testsuite/gas/aarch64/mapping_6.d
gas/testsuite/gas/aarch64/sve-movprfx_1.d
gas/testsuite/gas/aarch64/sve-movprfx_10.d
gas/testsuite/gas/aarch64/sve-movprfx_11.d
gas/testsuite/gas/aarch64/sve-movprfx_12.d
gas/testsuite/gas/aarch64/sve-movprfx_13.d
gas/testsuite/gas/aarch64/sve-movprfx_14.d
gas/testsuite/gas/aarch64/sve-movprfx_15.d
gas/testsuite/gas/aarch64/sve-movprfx_16.d
gas/testsuite/gas/aarch64/sve-movprfx_17.d
gas/testsuite/gas/aarch64/sve-movprfx_18.d
gas/testsuite/gas/aarch64/sve-movprfx_19.d
gas/testsuite/gas/aarch64/sve-movprfx_2.d
gas/testsuite/gas/aarch64/sve-movprfx_20.d
gas/testsuite/gas/aarch64/sve-movprfx_21.d
gas/testsuite/gas/aarch64/sve-movprfx_22.d
gas/testsuite/gas/aarch64/sve-movprfx_23.d
gas/testsuite/gas/aarch64/sve-movprfx_24.d
gas/testsuite/gas/aarch64/sve-movprfx_25.d
gas/testsuite/gas/aarch64/sve-movprfx_26.d
gas/testsuite/gas/aarch64/sve-movprfx_27.d
gas/testsuite/gas/aarch64/sve-movprfx_3.d
gas/testsuite/gas/aarch64/sve-movprfx_4.d
gas/testsuite/gas/aarch64/sve-movprfx_5.d
gas/testsuite/gas/aarch64/sve-movprfx_6.d
gas/testsuite/gas/aarch64/sve-movprfx_7.d
gas/testsuite/gas/aarch64/sve-movprfx_8.d
gas/testsuite/gas/aarch64/sve-movprfx_9.d
gas/testsuite/gas/aarch64/symbol-variant_pcs-1.d
gas/testsuite/gas/aarch64/symbol-variant_pcs-2.d
gas/testsuite/gas/aarch64/symbol-variant_pcs-3.d
gas/testsuite/gas/all/assign.d
gas/testsuite/gas/all/none.d
gas/testsuite/gas/all/weakref1.d
gas/testsuite/gas/arm/got_prel.d
gas/testsuite/gas/arm/local_function.d
gas/testsuite/gas/arm/mapdir.d
gas/testsuite/gas/arm/mapmisc.d
gas/testsuite/gas/arm/mapping2.d
gas/testsuite/gas/arm/mapping3.d
gas/testsuite/gas/arm/mapping4.d
gas/testsuite/gas/arm/mapsecs.d
gas/testsuite/gas/arm/mapshort-eabi.d
gas/testsuite/gas/arm/thumbrel.d
gas/testsuite/gas/arm/unwind.d
gas/testsuite/gas/cfi/cfi-label.d
gas/testsuite/gas/elf/elf.exp
gas/testsuite/gas/i386/bss.d
gas/testsuite/gas/i386/ifunc-3.d
gas/testsuite/gas/i386/ilp32/mixed-mode-reloc64.d
gas/testsuite/gas/i386/ilp32/quad.d
gas/testsuite/gas/i386/ilp32/reloc64.d
gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
gas/testsuite/gas/i386/ilp32/x86-64-size-3.d
gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
gas/testsuite/gas/i386/mixed-mode-reloc32.d
gas/testsuite/gas/i386/mixed-mode-reloc64.d
gas/testsuite/gas/i386/nop-6.d
gas/testsuite/gas/i386/property-1.d
gas/testsuite/gas/i386/property-2.d
gas/testsuite/gas/i386/relax.d
gas/testsuite/gas/i386/reloc64.d
gas/testsuite/gas/i386/size-1.d
gas/testsuite/gas/i386/size-3.d
gas/testsuite/gas/i386/x86-64-nop-6.d
gas/testsuite/gas/i386/x86-64-property-1.d
gas/testsuite/gas/i386/x86-64-property-2.d
gas/testsuite/gas/i386/x86-64-size-1.d
gas/testsuite/gas/i386/x86-64-size-3.d
gas/testsuite/gas/i386/x86-64-size-5.d
gas/testsuite/gas/i386/x86-64-unwind.d
gas/testsuite/gas/macros/irp.d
gas/testsuite/gas/macros/repeat.d
gas/testsuite/gas/macros/rept.d
gas/testsuite/gas/macros/test2.d
gas/testsuite/gas/macros/test3.d
gas/testsuite/gas/macros/vararg.d
gas/testsuite/gas/ppc/astest2.d
gas/testsuite/gas/ppc/astest2_64.d
gas/testsuite/gas/ppc/astest64.d
gas/testsuite/gas/ppc/power4.d
gas/testsuite/gas/ppc/test1elf64.d

index 2134607..1356aab 100644 (file)
@@ -1,3 +1,99 @@
+2019-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/gas/aarch64/codealign.d: Update to work with a
+       toolchain configured to generate build notes.
+       * testsuite/gas/aarch64/codealign_1.d: Likewise.
+       * testsuite/gas/aarch64/dwarf.d: Likewise.
+       * testsuite/gas/aarch64/mapmisc.d: Likewise.
+       * testsuite/gas/aarch64/mapping.d: Likewise.
+       * testsuite/gas/aarch64/mapping2.d: Likewise.
+       * testsuite/gas/aarch64/mapping3.d: Likewise.
+       * testsuite/gas/aarch64/mapping4.d: Likewise.
+       * testsuite/gas/aarch64/mapping_5.d: Likewise.
+       * testsuite/gas/aarch64/mapping_6.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_1.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_10.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_11.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_12.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_13.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_14.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_15.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_16.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_17.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_18.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_19.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_2.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_20.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_21.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_22.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_23.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_24.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_25.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_26.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_27.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_3.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_4.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_5.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_6.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_7.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_8.d: Likewise.
+       * testsuite/gas/aarch64/sve-movprfx_9.d: Likewise.
+       * testsuite/gas/aarch64/symbol-variant_pcs-1.d: Likewise.
+       * testsuite/gas/aarch64/symbol-variant_pcs-2.d: Likewise.
+       * testsuite/gas/aarch64/symbol-variant_pcs-3.d: Likewise.
+       * testsuite/gas/all/assign.d: Likewise.
+       * testsuite/gas/all/none.d: Likewise.
+       * testsuite/gas/all/weakref1.d: Likewise.
+       * testsuite/gas/arm/got_prel.d: Likewise.
+       * testsuite/gas/arm/local_function.d: Likewise.
+       * testsuite/gas/arm/mapdir.d: Likewise.
+       * testsuite/gas/arm/mapmisc.d: Likewise.
+       * testsuite/gas/arm/mapping2.d: Likewise.
+       * testsuite/gas/arm/mapping3.d: Likewise.
+       * testsuite/gas/arm/mapping4.d: Likewise.
+       * testsuite/gas/arm/mapsecs.d: Likewise.
+       * testsuite/gas/arm/mapshort-eabi.d: Likewise.
+       * testsuite/gas/arm/thumbrel.d: Likewise.
+       * testsuite/gas/arm/unwind.d: Likewise.
+       * testsuite/gas/cfi/cfi-label.d: Likewise.
+       * testsuite/gas/elf/elf.exp: Likewise.
+       * testsuite/gas/i386/bss.d: Likewise.
+       * testsuite/gas/i386/ifunc-3.d: Likewise.
+       * testsuite/gas/i386/ilp32/mixed-mode-reloc64.d: Likewise.
+       * testsuite/gas/i386/ilp32/quad.d: Likewise.
+       * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
+       * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
+       * testsuite/gas/i386/mixed-mode-reloc64.d: Likewise.
+       * testsuite/gas/i386/nop-6.d: Likewise.
+       * testsuite/gas/i386/property-1.d: Likewise.
+       * testsuite/gas/i386/property-2.d: Likewise.
+       * testsuite/gas/i386/relax.d: Likewise.
+       * testsuite/gas/i386/reloc64.d: Likewise.
+       * testsuite/gas/i386/size-1.d: Likewise.
+       * testsuite/gas/i386/size-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-2.d: Likewise.
+       * testsuite/gas/i386/x86-64-size-1.d: Likewise.
+       * testsuite/gas/i386/x86-64-size-3.d: Likewise.
+       * testsuite/gas/i386/x86-64-size-5.d: Likewise.
+       * testsuite/gas/i386/x86-64-unwind.d: Likewise.
+       * testsuite/gas/macros/irp.d: Likewise.
+       * testsuite/gas/macros/repeat.d: Likewise.
+       * testsuite/gas/macros/rept.d: Likewise.
+       * testsuite/gas/macros/test2.d: Likewise.
+       * testsuite/gas/macros/test3.d: Likewise.
+       * testsuite/gas/macros/vararg.d: Likewise.
+       * testsuite/gas/ppc/astest2.d: Likewise.
+       * testsuite/gas/ppc/astest2_64.d: Likewise.
+       * testsuite/gas/ppc/astest64.d: Likewise.
+       * testsuite/gas/ppc/power4.d: Likewise.
+       * testsuite/gas/ppc/test1elf64.d: Likewise.
+
 2019-07-02  Barnaby Wilks  <barnaby.wilks@arm.com>
 
        * config/tc-aarch64.c (parse_operands): Add error check.
index 12da146..a44c107 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --section-headers
+#as: --generate-missing-build-notes=no
 # Minimum code alignment should be set.
 # This test is only valid on ELF based ports.
 #notarget: *-*-pe *-*-wince
index 0462cef..c4dc527 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --section-headers
+#as: --generate-missing-build-notes=no
 # Minimum code alignment should be set.
 
 .*: +file format.*aarch64.*
index 2a75e0b..12ad367 100644 (file)
@@ -1,5 +1,5 @@
 #readelf: -s --debug-dump=aranges
-#as: -g
+#as: -g --generate-missing-build-notes=no
 
 Symbol table '.symtab' contains 11 entries:
    Num:[ ]+Value[ ]+Size[ ]+Type[ ]+Bind[ ]+Vis[ ]+Ndx[ ]+Name
index fb30f14..1f2df6e 100644 (file)
@@ -1,4 +1,4 @@
-#as: -EL -I$srcdir/$subdir 
+#as: -EL -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: --syms --special-syms -d
 #name: AArch64 Mapping Symbols for miscellaneous directives
 #source: mapmisc.s
index 46c730f..d23c0fd 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as: --generate-missing-build-notes=no
 #name: AArch64 Mapping Symbols
 # This test is only valid on ELF based ports.
 #notarget: *-*-pe *-*-wince
index aafc9b0..4ad1a07 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as: --generate-missing-build-notes=no
 #name: AArch64 Mapping Symbols Test 2
 # This test is only valid on ELF based ports.
 #notarget: *-*-pe *-*-wince
index e4b7246..ece7de1 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as: --generate-missing-build-notes=no
 #name: AArch64 Mapping Symbols Test 3
 # This test is only valid on ELF based ports.
 #notarget: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
index d81a77e..d0495da 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as: --generate-missing-build-notes=no
 #name: AArch64 Mapping Symbols Test 4
 # This test is only valid on ELF based ports.
 #notarget: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
index 4778b3d..0426348 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as: --generate-missing-build-notes=no
 #name: AArch64 Mapping Symbols Test 5
 
 .*: +file format.*aarch64.*
index 3a5dfb8..96d0ed6 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as: --generate-missing-build-notes=no
 #name: AArch64 Mapping Symbols Test 6
 
 .*: +file format.*aarch64.*
index 6bf892f..13035db 100644 (file)
@@ -1,5 +1,5 @@
 #source: sve-movprfx_1.s
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 8458738..575632f 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_10.s
 #warning_output: sve-movprfx_10.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 91b5ebb..71bab8a 100644 (file)
@@ -1,5 +1,5 @@
 #source: sve-movprfx_11.s
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 78d928b..dde3a92 100644 (file)
@@ -1,5 +1,5 @@
 #source: sve-movprfx_12.s
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index a74aba2..46b0bb0 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_13.s
 #warning_output: sve-movprfx_13.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index eaa9200..1024339 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_14.s
 #warning_output: sve-movprfx_14.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 8020c7c..436e59f 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_15.s
 #warning_output: sve-movprfx_15.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 0c760cc..a6550b7 100644 (file)
@@ -1,5 +1,5 @@
 #source: sve-movprfx_16.s
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 0101300..ce96138 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_17.s
 #warning_output: sve-movprfx_17.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 09d6fa6..e158131 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_18.s
 #warning_output: sve-movprfx_18.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 8d13b46..bf3b063 100644 (file)
@@ -1,5 +1,5 @@
 #source: sve-movprfx_19.s
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 7558a42..905c1f4 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_2.s
 #warning_output: sve-movprfx_2.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index ae7dda6..80621d6 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_20.s
 #warning_output: sve-movprfx_20.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index ea53dbe..20eb85b 100644 (file)
@@ -1,5 +1,5 @@
 #source: sve-movprfx_21.s
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 431d5b6..de4d1a3 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_22.s
 #warning_output: sve-movprfx_22.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index af3c5ed..6044870 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_23.s
 #warning_output: sve-movprfx_23.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index b70d59e..ff1bdbe 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_24.s
 #warning_output: sve-movprfx_24.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 2b4f654..83a6500 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_25.s
 #warning_output: sve-movprfx_25.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 1f7a85d..f0830cc 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_26.s
 #warning_output: sve-movprfx_26.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index ef0bc9a..e71d171 100644 (file)
@@ -1,5 +1,5 @@
 #source: sve-movprfx_27.s
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index d56ad28..03909db 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_3.s
 #warning_output: sve-movprfx_3.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 056d67d..fd71a4b 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_4.s
 #warning_output: sve-movprfx_4.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 99f5a01..511cf66 100644 (file)
@@ -1,5 +1,5 @@
 #source: sve-movprfx_5.s
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 92e574c..4af6269 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_6.s
 #warning_output: sve-movprfx_6.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index ce35370..725a8a8 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_7.s
 #warning_output: sve-movprfx_7.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
@@ -14,4 +14,4 @@ Disassembly of section .*:
 Disassembly of section .*:
 
 0+ <.*>:
-[^:]+: d65f03c0        ret  // note: previous `movprfx' sequence not closed
\ No newline at end of file
+[^:]+: d65f03c0        ret  // note: previous `movprfx' sequence not closed
index d7f8bba..f853e21 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_8.s
 #warning_output: sve-movprfx_8.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 0a316de..54a1733 100644 (file)
@@ -1,6 +1,6 @@
 #source: sve-movprfx_9.s
 #warning_output: sve-movprfx_9.l
-#as: -march=armv8-a+sve -I$srcdir/$subdir
+#as: -march=armv8-a+sve -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: -Dr -M notes
 
 .* file format .*
index 6257ce1..ce99514 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -t
+#as:  --generate-missing-build-notes=no
 
 .*:     file format .*
 
index d9b60ac..5f46f27 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -t
+#as:  --generate-missing-build-notes=no
 
 .*:     file format .*
 
index 204914e..8d05c1a 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -t
+#as:  --generate-missing-build-notes=no
 
 .*:     file format .*
 
index 2b2f1cb..deebab8 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -r -w
+#as: --generate-missing-build-notes=no
 # The HPPA maps R_PARISC_PCREL64 onto BFD_RELOC_NONE.
 #skip: ft32-*-* hppa*-*-*
 
index 67dea13..4c25164 100644 (file)
@@ -96,3 +96,4 @@ OFFSET +TYPE +VALUE *
 [0-9a-f]+ [^ ]*  +(ld8|\.text|\$CODE\$)(\+0x[0-9a-f]+)?
 [0-9a-f]+ [^ ]*  +(ld9|\.text|\$CODE\$)(\+0x[0-9a-f]+)?
 [0-9a-f]+ [^ ]*  +(ld9|\.text|\$CODE\$)(\+0x[0-9a-f]+)?
+#pass
index 8068b1f..666e9bf 100644 (file)
@@ -1,6 +1,6 @@
 # name: R_ARM_GOT_PREL relocation
 # source: got_prel.s
-# as: -march=armv5te -meabi=5
+# as: -march=armv5te -meabi=5 --generate-missing-build-notes=no
 # readelf: -x 4 -r
 # target: *-*-*eabi* *-*-symbianelf *-*-linux-* *-*-elf *-*-nacl*
 
index ea633a6..2c473c0 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -r
+#as:  --generate-missing-build-notes=no
 #name: Relocations against local function symbols
 # This test is only valid on ELF based ports.
 #notarget: *-*-pe *-*-wince *-*-vxworks
index a853844..f0e898c 100644 (file)
@@ -1,4 +1,4 @@
-#as: -EL -I$srcdir/$subdir
+#as: -EL -I$srcdir/$subdir --generate-missing-build-notes=no
 #objdump: --syms --special-syms -d
 #name: ARM Mapping Symbols for .arm/.thumb
 # This test is only valid on EABI based ports.
index 0e1d046..ca984ef 100644 (file)
@@ -1,4 +1,4 @@
-#as: -EL -I$srcdir/$subdir -mfpu=neon
+#as: -EL -I$srcdir/$subdir -mfpu=neon --generate-missing-build-notes=no
 #objdump: --syms --special-syms -d
 #name: ARM Mapping Symbols for miscellaneous directives
 # This test is only valid on EABI based ports.
index d275510..c2f75c9 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as:  --generate-missing-build-notes=no
 #name: ARM Mapping Symbols Test 2
 # This test is only valid on ELF based ports.
 #notarget: *-*-pe *-*-wince
index 849f513..d2aa586 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as:  --generate-missing-build-notes=no
 #name: ARM Mapping Symbols Test 3
 # This test is only valid on ELF based ports.
 #notarget: *-*-pe *-*-wince
index abd2d50..d542eac 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as:  --generate-missing-build-notes=no
 #name: ARM Mapping Symbols Test 4
 # This test is only valid on ELF based ports.
 #notarget: *-*-pe *-*-wince
index b2a0e60..be52636 100644 (file)
@@ -1,4 +1,4 @@
-#as: -EL
+#as: -EL --generate-missing-build-notes=no
 #objdump: --syms --special-syms -d
 #name: ARM Mapping Symbols with multiple sections
 # This test is only valid on EABI based ports.
index fd6cf91..f46fe9a 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms -d
+#as:  --generate-missing-build-notes=no
 #name: ARM Mapping Symbols for .short (EABI version)
 # This test is only valid on EABI based ports.
 #target: *-*-*eabi* *-*-symbianelf *-*-linux-* *-*-elf *-*-nacl*
index 21839c9..23d0cd4 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -sr
+#as:  --generate-missing-build-notes=no
 # This test is only valid on EABI based ports.
 #target: *-*-*eabi* *-*-symbianelf *-*-nacl*
 
index e6a5c6d..3588a27 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -sr
+#as:  --generate-missing-build-notes=no
 #name: Unwind table generation
 # This test is only valid on ELF based ports.
 #notarget: *-*-pe *-*-wince
index 1c457c8..0350b57 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #objdump: -tWf
 #name: .cfi_label directive
 
index 41abf87..eb9bd9c 100644 (file)
@@ -179,20 +179,19 @@ if { [is_elf_format] } then {
     run_dump_test "pseudo"
     run_dump_test "section0"
     run_dump_test "section1"
+    # The h8300 port issues a warning message for
+    # new sections created without atrributes.
     if {! [istarget "h8300-*-*"]} then {
-       # The h8300 port issues a warning message for
-       # new sections created without atrributes.
+       set as_flags "-al --generate-missing-build-notes=no"
        case $target_triplet in {
            { i*86-*-* x86_64-*-* } {
-               run_elf_list_test "section2" "$target_machine" "-al -mx86-used-note=no" "-s" ""
+               set as_flags "$as_flags -mx86-used-note=no"
            }
            { riscv*-*-* } {
-               run_elf_list_test "section2" "$target_machine" "-al -march-attr" "-s" ""
-           }
-           default {
-               run_elf_list_test "section2" "$target_machine" "-al" "-s" ""
+               set as_flags "$as_flags -march-attr"
            }
        }
+       run_elf_list_test "section2" "$target_machine" "$as_flags" "-s" ""
     }
     run_dump_test "section3"
     run_dump_test "section4"
index cf52814..c63097c 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #objdump: -s
 #name: i386 .bss
 
index 124de37..e29dcab 100644 (file)
@@ -1,5 +1,6 @@
 #readelf: --relocs --syms -x .text.1 -x .text.2
 #name: i386 ifunc 3
+#as: --generate-missing-build-notes=no
 
 Relocation section '\.rel\.text\.1' at offset .* contains .* entries:
  Offset     Info    Type            Sym.Value  Sym. Name
index a48c502..f071a22 100644 (file)
@@ -1,6 +1,7 @@
 #source: ../mixed-mode-reloc.s
 #objdump: -r
 #name: x86-64 (ILP32) mixed mode relocs
+#as: --generate-missing-build-notes=no
 
 .*: +file format .*x86-64.*
 
index 94f7b5a..13f5d75 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #objdump: -sr
 #name: x86-64 (ILP32) quad
 
index 5865ab0..78ca3fd 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #objdump: -Drw
 #name: x86-64 (ILP32) relocs
 
index 874debb..e5b74fa 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: x32 size 1
 #source: ../size-1.s
 #readelf: -r
index 7008e5a..6f96134 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: x32 size 3
 #source: ../size-3.s
 #readelf: -r
index c47d1df..8ce06b0 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: x32 size 5
 #source: ../x86-64-size-5.s
 #readelf: -r
index 8fa6c37..bd532b7 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #source: ../x86-64-unwind.s
 #readelf: -S
 #name: x86-64 (ILP32) unwind
index 59234bc..d0d786b 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mrelax-relocations=yes
+#as: -mrelax-relocations=yes --generate-missing-build-notes=no
 #objdump: -r
 #source: mixed-mode-reloc.s
 #name: x86 mixed mode relocs (32-bit object)
index 9b82cb5..f0e62e0 100644 (file)
@@ -1,6 +1,7 @@
 #objdump: -r
 #source: mixed-mode-reloc.s
 #name: x86 mixed mode relocs (64-bit object)
+#as: --generate-missing-build-notes=no
 
 .*: +file format .*x86-64.*
 
index 6d44f3e..dcf0191 100644 (file)
@@ -1,4 +1,4 @@
-#as: -march=i686+nop
+#as: -march=i686+nop --generate-missing-build-notes=no
 #objdump: -drw
 #name: i386 .nops 6
 
index 5a9bec7..509ba3d 100644 (file)
@@ -1,5 +1,5 @@
 #name: i386 property 1
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #readelf: -n
 
 Displaying notes found in: .note.gnu.property
index c7e321d..e158d97 100644 (file)
@@ -1,5 +1,5 @@
 #name: i386 property 2
-#as: -mx86-used-note=yes
+#as: -mx86-used-note=yes --generate-missing-build-notes=no
 #readelf: -n
 
 Displaying notes found in: .note.gnu.property
index 83b7d89..ab4b6de 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: i386 relax
 #objdump: -s
 
index e9e03de..540a9b7 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #objdump: -Drw
 #name: x86-64 relocs
 #notarget: *-*-solaris*
index 3eb5a7f..d582bbe 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: i386 size 1
 #readelf: -r
 
index d79db27..2b08707 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: i386 size 3
 #readelf: -r
 
index 63f3817..f9b0cf1 100644 (file)
@@ -1,5 +1,6 @@
 #source: nop-6.s
 #objdump: -drw
+#as: --generate-missing-build-notes=no
 #name: x86-64 .nops 6
 
 .*: +file format .*
index 966793e..a6cb3d4 100644 (file)
@@ -1,6 +1,6 @@
 #name: x86-64 property 1
 #source: property-1.s
-#as: -mx86-used-note=no -defsym __64_bit__=1
+#as: -mx86-used-note=no -defsym __64_bit__=1 --generate-missing-build-notes=no
 #readelf: -n
 
 Displaying notes found in: .note.gnu.property
index 72e2131..b9277ae 100644 (file)
@@ -1,6 +1,6 @@
 #name: x86-64 property 2
 #source: property-2.s
-#as: -mx86-used-note=yes
+#as: -mx86-used-note=yes --generate-missing-build-notes=no
 #readelf: -n
 
 Displaying notes found in: .note.gnu.property
index 0eb3e50..657408c 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: x86-64 size 1
 #source: size-1.s
 #readelf: -r
index 16e0936..943a64e 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: x86-64 size 3
 #source: size-3.s
 #readelf: -r
index c1e7fcf..c34d0ee 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: x86-64 size 5
 #readelf: -r
 
index 93b84a8..7f8d94f 100644 (file)
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #readelf: -S
 #name: x86-64 unwind
 
index 6a8d0da..4b69658 100644 (file)
@@ -13,3 +13,4 @@ OFFSET[       ]+TYPE[         ]+VALUE.*
 0+0c[  ]+[a-zA-Z0-9_]+[        ]+bar1
 0+10[  ]+[a-zA-Z0-9_]+[        ]+bar2
 0+14[  ]+[a-zA-Z0-9_]+[        ]+bar3
+#pass
index 568dd8f..68f2db9 100644 (file)
@@ -43,3 +43,4 @@ OFFSET[       ]+TYPE[         ]+VALUE.*
 0+84[  ]+[a-zA-Z0-9_]+[        ]+rept_rept
 0+88[  ]+[a-zA-Z0-9_]+[        ]+rept_rept
 0+8c[  ]+[a-zA-Z0-9_]+[        ]+rept_rept
+#pass
index b38c70a..2fb4465 100644 (file)
@@ -10,3 +10,4 @@ OFFSET[       ]+TYPE[         ]+VALUE.*
 0+00[  ]+[a-zA-Z0-9_]+[        ]+foo1
 0+04[  ]+[a-zA-Z0-9_]+[        ]+foo1
 0+08[  ]+[a-zA-Z0-9_]+[        ]+foo1
+#pass
index bb96524..adb0eed 100644 (file)
@@ -10,3 +10,4 @@ OFFSET[       ]+TYPE[         ]+VALUE.*
 0+00[  ]+[a-zA-Z0-9_]+[        ]+foo1
 0+04[  ]+[a-zA-Z0-9_]+[        ]+foo2
 0+08[  ]+[a-zA-Z0-9_]+[        ]+foo3
+#pass
index 7194923..6a1df31 100644 (file)
@@ -7,3 +7,4 @@
 RELOCATION RECORDS FOR .*
 OFFSET[        ]+TYPE[         ]+VALUE.*
 0+00[  ]+[a-zA-Z0-9_]+[        ]+foo1
+#pass
index fb5f25d..ff633bd 100644 (file)
@@ -13,3 +13,4 @@ OFFSET[       ]+TYPE[         ]+VALUE.*
 0+0c[  ]+[a-zA-Z0-9_]+[        ]+foo4
 0+10[  ]+[a-zA-Z0-9_]+[        ]+foo5
 0+14[  ]+[a-zA-Z0-9_]+[        ]+foo6
+#pass
index 972b9a5..dca21e9 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -Dr -Mppc
+#as:  --generate-missing-build-notes=no
 #name: PowerPC test 2
 
 .*
index 516b8bc..157a77b 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -Dr
+#as:  --generate-missing-build-notes=no
 #name: PowerPC 64-bit test 2
 
 .*
index 82ccb90..8cf0675 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -Dr
+#as:  --generate-missing-build-notes=no
 #name: PowerPC 64-bit test 1
 
 .*
index d3e78a6..e4d9ea9 100644 (file)
@@ -1,5 +1,5 @@
 #objdump: -drx -Mpower4
-#as: -mpower4
+#as: -mpower4 --generate-missing-build-notes=no
 #name: Power4 instructions
 
 .*
index d6383e1..4df9e00 100644 (file)
@@ -1,4 +1,5 @@
 #objdump: -Drx
+#as:  --generate-missing-build-notes=no
 #name: PowerPC Test 1, 64 bit elf
 
 .*