This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix assembler tests to work with toolchains that have been configured with --enable-generate-build-n


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=077a039f70d870899da31eb8cee597964515fa3c

commit 077a039f70d870899da31eb8cee597964515fa3c
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Jul 3 15:26:32 2019 +0100

    Fix assembler tests to work with toolchains that have been configured with --enable-generate-build-notes.

Diff:
---
 gas/ChangeLog                                     | 96 +++++++++++++++++++++++
 gas/testsuite/gas/aarch64/codealign.d             |  1 +
 gas/testsuite/gas/aarch64/codealign_1.d           |  1 +
 gas/testsuite/gas/aarch64/dwarf.d                 |  2 +-
 gas/testsuite/gas/aarch64/mapmisc.d               |  2 +-
 gas/testsuite/gas/aarch64/mapping.d               |  1 +
 gas/testsuite/gas/aarch64/mapping2.d              |  1 +
 gas/testsuite/gas/aarch64/mapping3.d              |  1 +
 gas/testsuite/gas/aarch64/mapping4.d              |  1 +
 gas/testsuite/gas/aarch64/mapping_5.d             |  1 +
 gas/testsuite/gas/aarch64/mapping_6.d             |  1 +
 gas/testsuite/gas/aarch64/sve-movprfx_1.d         |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_10.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_11.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_12.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_13.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_14.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_15.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_16.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_17.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_18.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_19.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_2.d         |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_20.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_21.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_22.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_23.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_24.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_25.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_26.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_27.d        |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_3.d         |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_4.d         |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_5.d         |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_6.d         |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_7.d         |  4 +-
 gas/testsuite/gas/aarch64/sve-movprfx_8.d         |  2 +-
 gas/testsuite/gas/aarch64/sve-movprfx_9.d         |  2 +-
 gas/testsuite/gas/aarch64/symbol-variant_pcs-1.d  |  1 +
 gas/testsuite/gas/aarch64/symbol-variant_pcs-2.d  |  1 +
 gas/testsuite/gas/aarch64/symbol-variant_pcs-3.d  |  1 +
 gas/testsuite/gas/all/assign.d                    |  1 +
 gas/testsuite/gas/all/none.d                      |  1 +
 gas/testsuite/gas/all/weakref1.d                  |  1 +
 gas/testsuite/gas/arm/got_prel.d                  |  2 +-
 gas/testsuite/gas/arm/local_function.d            |  1 +
 gas/testsuite/gas/arm/mapdir.d                    |  2 +-
 gas/testsuite/gas/arm/mapmisc.d                   |  2 +-
 gas/testsuite/gas/arm/mapping2.d                  |  1 +
 gas/testsuite/gas/arm/mapping3.d                  |  1 +
 gas/testsuite/gas/arm/mapping4.d                  |  1 +
 gas/testsuite/gas/arm/mapsecs.d                   |  2 +-
 gas/testsuite/gas/arm/mapshort-eabi.d             |  1 +
 gas/testsuite/gas/arm/thumbrel.d                  |  1 +
 gas/testsuite/gas/arm/unwind.d                    |  1 +
 gas/testsuite/gas/cfi/cfi-label.d                 |  2 +-
 gas/testsuite/gas/elf/elf.exp                     | 13 ++-
 gas/testsuite/gas/i386/bss.d                      |  2 +-
 gas/testsuite/gas/i386/ifunc-3.d                  |  1 +
 gas/testsuite/gas/i386/ilp32/mixed-mode-reloc64.d |  1 +
 gas/testsuite/gas/i386/ilp32/quad.d               |  2 +-
 gas/testsuite/gas/i386/ilp32/reloc64.d            |  2 +-
 gas/testsuite/gas/i386/ilp32/x86-64-size-1.d      |  2 +-
 gas/testsuite/gas/i386/ilp32/x86-64-size-3.d      |  2 +-
 gas/testsuite/gas/i386/ilp32/x86-64-size-5.d      |  2 +-
 gas/testsuite/gas/i386/ilp32/x86-64-unwind.d      |  2 +-
 gas/testsuite/gas/i386/mixed-mode-reloc32.d       |  2 +-
 gas/testsuite/gas/i386/mixed-mode-reloc64.d       |  1 +
 gas/testsuite/gas/i386/nop-6.d                    |  2 +-
 gas/testsuite/gas/i386/property-1.d               |  2 +-
 gas/testsuite/gas/i386/property-2.d               |  2 +-
 gas/testsuite/gas/i386/relax.d                    |  2 +-
 gas/testsuite/gas/i386/reloc64.d                  |  2 +-
 gas/testsuite/gas/i386/size-1.d                   |  2 +-
 gas/testsuite/gas/i386/size-3.d                   |  2 +-
 gas/testsuite/gas/i386/x86-64-nop-6.d             |  1 +
 gas/testsuite/gas/i386/x86-64-property-1.d        |  2 +-
 gas/testsuite/gas/i386/x86-64-property-2.d        |  2 +-
 gas/testsuite/gas/i386/x86-64-size-1.d            |  2 +-
 gas/testsuite/gas/i386/x86-64-size-3.d            |  2 +-
 gas/testsuite/gas/i386/x86-64-size-5.d            |  2 +-
 gas/testsuite/gas/i386/x86-64-unwind.d            |  2 +-
 gas/testsuite/gas/macros/irp.d                    |  1 +
 gas/testsuite/gas/macros/repeat.d                 |  1 +
 gas/testsuite/gas/macros/rept.d                   |  1 +
 gas/testsuite/gas/macros/test2.d                  |  1 +
 gas/testsuite/gas/macros/test3.d                  |  1 +
 gas/testsuite/gas/macros/vararg.d                 |  1 +
 gas/testsuite/gas/ppc/astest2.d                   |  1 +
 gas/testsuite/gas/ppc/astest2_64.d                |  1 +
 gas/testsuite/gas/ppc/astest64.d                  |  1 +
 gas/testsuite/gas/ppc/power4.d                    |  2 +-
 gas/testsuite/gas/ppc/test1elf64.d                |  1 +
 93 files changed, 194 insertions(+), 64 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2134607..1356aab 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/aarch64/codealign.d b/gas/testsuite/gas/aarch64/codealign.d
index 12da146..a44c107 100644
--- a/gas/testsuite/gas/aarch64/codealign.d
+++ b/gas/testsuite/gas/aarch64/codealign.d
@@ -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
diff --git a/gas/testsuite/gas/aarch64/codealign_1.d b/gas/testsuite/gas/aarch64/codealign_1.d
index 0462cef..c4dc527 100644
--- a/gas/testsuite/gas/aarch64/codealign_1.d
+++ b/gas/testsuite/gas/aarch64/codealign_1.d
@@ -1,4 +1,5 @@
 #objdump: --section-headers
+#as: --generate-missing-build-notes=no
 # Minimum code alignment should be set.
 
 .*: +file format.*aarch64.*
diff --git a/gas/testsuite/gas/aarch64/dwarf.d b/gas/testsuite/gas/aarch64/dwarf.d
index 2a75e0b..12ad367 100644
--- a/gas/testsuite/gas/aarch64/dwarf.d
+++ b/gas/testsuite/gas/aarch64/dwarf.d
@@ -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
diff --git a/gas/testsuite/gas/aarch64/mapmisc.d b/gas/testsuite/gas/aarch64/mapmisc.d
index fb30f14..1f2df6e 100644
--- a/gas/testsuite/gas/aarch64/mapmisc.d
+++ b/gas/testsuite/gas/aarch64/mapmisc.d
@@ -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
diff --git a/gas/testsuite/gas/aarch64/mapping.d b/gas/testsuite/gas/aarch64/mapping.d
index 46c730f..d23c0fd 100644
--- a/gas/testsuite/gas/aarch64/mapping.d
+++ b/gas/testsuite/gas/aarch64/mapping.d
@@ -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
diff --git a/gas/testsuite/gas/aarch64/mapping2.d b/gas/testsuite/gas/aarch64/mapping2.d
index aafc9b0..4ad1a07 100644
--- a/gas/testsuite/gas/aarch64/mapping2.d
+++ b/gas/testsuite/gas/aarch64/mapping2.d
@@ -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
diff --git a/gas/testsuite/gas/aarch64/mapping3.d b/gas/testsuite/gas/aarch64/mapping3.d
index e4b7246..ece7de1 100644
--- a/gas/testsuite/gas/aarch64/mapping3.d
+++ b/gas/testsuite/gas/aarch64/mapping3.d
@@ -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*
diff --git a/gas/testsuite/gas/aarch64/mapping4.d b/gas/testsuite/gas/aarch64/mapping4.d
index d81a77e..d0495da 100644
--- a/gas/testsuite/gas/aarch64/mapping4.d
+++ b/gas/testsuite/gas/aarch64/mapping4.d
@@ -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*
diff --git a/gas/testsuite/gas/aarch64/mapping_5.d b/gas/testsuite/gas/aarch64/mapping_5.d
index 4778b3d..0426348 100644
--- a/gas/testsuite/gas/aarch64/mapping_5.d
+++ b/gas/testsuite/gas/aarch64/mapping_5.d
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as: --generate-missing-build-notes=no
 #name: AArch64 Mapping Symbols Test 5
 
 .*: +file format.*aarch64.*
diff --git a/gas/testsuite/gas/aarch64/mapping_6.d b/gas/testsuite/gas/aarch64/mapping_6.d
index 3a5dfb8..96d0ed6 100644
--- a/gas/testsuite/gas/aarch64/mapping_6.d
+++ b/gas/testsuite/gas/aarch64/mapping_6.d
@@ -1,4 +1,5 @@
 #objdump: --syms --special-syms
+#as: --generate-missing-build-notes=no
 #name: AArch64 Mapping Symbols Test 6
 
 .*: +file format.*aarch64.*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_1.d b/gas/testsuite/gas/aarch64/sve-movprfx_1.d
index 6bf892f..13035db 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_1.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_1.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_10.d b/gas/testsuite/gas/aarch64/sve-movprfx_10.d
index 8458738..575632f 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_10.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_10.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_11.d b/gas/testsuite/gas/aarch64/sve-movprfx_11.d
index 91b5ebb..71bab8a 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_11.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_11.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_12.d b/gas/testsuite/gas/aarch64/sve-movprfx_12.d
index 78d928b..dde3a92 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_12.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_12.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_13.d b/gas/testsuite/gas/aarch64/sve-movprfx_13.d
index a74aba2..46b0bb0 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_13.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_13.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_14.d b/gas/testsuite/gas/aarch64/sve-movprfx_14.d
index eaa9200..1024339 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_14.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_14.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_15.d b/gas/testsuite/gas/aarch64/sve-movprfx_15.d
index 8020c7c..436e59f 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_15.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_15.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_16.d b/gas/testsuite/gas/aarch64/sve-movprfx_16.d
index 0c760cc..a6550b7 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_16.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_16.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_17.d b/gas/testsuite/gas/aarch64/sve-movprfx_17.d
index 0101300..ce96138 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_17.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_17.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_18.d b/gas/testsuite/gas/aarch64/sve-movprfx_18.d
index 09d6fa6..e158131 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_18.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_18.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_19.d b/gas/testsuite/gas/aarch64/sve-movprfx_19.d
index 8d13b46..bf3b063 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_19.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_19.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_2.d b/gas/testsuite/gas/aarch64/sve-movprfx_2.d
index 7558a42..905c1f4 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_2.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_2.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_20.d b/gas/testsuite/gas/aarch64/sve-movprfx_20.d
index ae7dda6..80621d6 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_20.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_20.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_21.d b/gas/testsuite/gas/aarch64/sve-movprfx_21.d
index ea53dbe..20eb85b 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_21.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_21.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_22.d b/gas/testsuite/gas/aarch64/sve-movprfx_22.d
index 431d5b6..de4d1a3 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_22.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_22.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_23.d b/gas/testsuite/gas/aarch64/sve-movprfx_23.d
index af3c5ed..6044870 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_23.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_23.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_24.d b/gas/testsuite/gas/aarch64/sve-movprfx_24.d
index b70d59e..ff1bdbe 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_24.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_24.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_25.d b/gas/testsuite/gas/aarch64/sve-movprfx_25.d
index 2b4f654..83a6500 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_25.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_25.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_26.d b/gas/testsuite/gas/aarch64/sve-movprfx_26.d
index 1f7a85d..f0830cc 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_26.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_26.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_27.d b/gas/testsuite/gas/aarch64/sve-movprfx_27.d
index ef0bc9a..e71d171 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_27.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_27.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_3.d b/gas/testsuite/gas/aarch64/sve-movprfx_3.d
index d56ad28..03909db 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_3.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_3.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_4.d b/gas/testsuite/gas/aarch64/sve-movprfx_4.d
index 056d67d..fd71a4b 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_4.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_4.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_5.d b/gas/testsuite/gas/aarch64/sve-movprfx_5.d
index 99f5a01..511cf66 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_5.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_5.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_6.d b/gas/testsuite/gas/aarch64/sve-movprfx_6.d
index 92e574c..4af6269 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_6.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_6.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_7.d b/gas/testsuite/gas/aarch64/sve-movprfx_7.d
index ce35370..725a8a8 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_7.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_7.d
@@ -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
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_8.d b/gas/testsuite/gas/aarch64/sve-movprfx_8.d
index d7f8bba..f853e21 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_8.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_8.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/sve-movprfx_9.d b/gas/testsuite/gas/aarch64/sve-movprfx_9.d
index 0a316de..54a1733 100644
--- a/gas/testsuite/gas/aarch64/sve-movprfx_9.d
+++ b/gas/testsuite/gas/aarch64/sve-movprfx_9.d
@@ -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 .*
diff --git a/gas/testsuite/gas/aarch64/symbol-variant_pcs-1.d b/gas/testsuite/gas/aarch64/symbol-variant_pcs-1.d
index 6257ce1..ce99514 100644
--- a/gas/testsuite/gas/aarch64/symbol-variant_pcs-1.d
+++ b/gas/testsuite/gas/aarch64/symbol-variant_pcs-1.d
@@ -1,4 +1,5 @@
 #objdump: -t
+#as:  --generate-missing-build-notes=no
 
 .*:     file format .*
 
diff --git a/gas/testsuite/gas/aarch64/symbol-variant_pcs-2.d b/gas/testsuite/gas/aarch64/symbol-variant_pcs-2.d
index d9b60ac..5f46f27 100644
--- a/gas/testsuite/gas/aarch64/symbol-variant_pcs-2.d
+++ b/gas/testsuite/gas/aarch64/symbol-variant_pcs-2.d
@@ -1,4 +1,5 @@
 #objdump: -t
+#as:  --generate-missing-build-notes=no
 
 .*:     file format .*
 
diff --git a/gas/testsuite/gas/aarch64/symbol-variant_pcs-3.d b/gas/testsuite/gas/aarch64/symbol-variant_pcs-3.d
index 204914e..8d05c1a 100644
--- a/gas/testsuite/gas/aarch64/symbol-variant_pcs-3.d
+++ b/gas/testsuite/gas/aarch64/symbol-variant_pcs-3.d
@@ -1,4 +1,5 @@
 #objdump: -t
+#as:  --generate-missing-build-notes=no
 
 .*:     file format .*
 
diff --git a/gas/testsuite/gas/all/assign.d b/gas/testsuite/gas/all/assign.d
index fce7466..64b3997 100644
--- a/gas/testsuite/gas/all/assign.d
+++ b/gas/testsuite/gas/all/assign.d
@@ -4,3 +4,4 @@
 #...
 .*zzz.*
 .*zzz.*
+#pass
diff --git a/gas/testsuite/gas/all/none.d b/gas/testsuite/gas/all/none.d
index 2b2f1cb..deebab8 100644
--- a/gas/testsuite/gas/all/none.d
+++ b/gas/testsuite/gas/all/none.d
@@ -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*-*-*
 
diff --git a/gas/testsuite/gas/all/weakref1.d b/gas/testsuite/gas/all/weakref1.d
index 67dea13..4c25164 100644
--- a/gas/testsuite/gas/all/weakref1.d
+++ b/gas/testsuite/gas/all/weakref1.d
@@ -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
diff --git a/gas/testsuite/gas/arm/got_prel.d b/gas/testsuite/gas/arm/got_prel.d
index 8068b1f..666e9bf 100644
--- a/gas/testsuite/gas/arm/got_prel.d
+++ b/gas/testsuite/gas/arm/got_prel.d
@@ -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*
 
diff --git a/gas/testsuite/gas/arm/local_function.d b/gas/testsuite/gas/arm/local_function.d
index ea633a6..2c473c0 100644
--- a/gas/testsuite/gas/arm/local_function.d
+++ b/gas/testsuite/gas/arm/local_function.d
@@ -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
diff --git a/gas/testsuite/gas/arm/mapdir.d b/gas/testsuite/gas/arm/mapdir.d
index a853844..f0e898c 100644
--- a/gas/testsuite/gas/arm/mapdir.d
+++ b/gas/testsuite/gas/arm/mapdir.d
@@ -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.
diff --git a/gas/testsuite/gas/arm/mapmisc.d b/gas/testsuite/gas/arm/mapmisc.d
index 0e1d046..ca984ef 100644
--- a/gas/testsuite/gas/arm/mapmisc.d
+++ b/gas/testsuite/gas/arm/mapmisc.d
@@ -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.
diff --git a/gas/testsuite/gas/arm/mapping2.d b/gas/testsuite/gas/arm/mapping2.d
index d275510..c2f75c9 100644
--- a/gas/testsuite/gas/arm/mapping2.d
+++ b/gas/testsuite/gas/arm/mapping2.d
@@ -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
diff --git a/gas/testsuite/gas/arm/mapping3.d b/gas/testsuite/gas/arm/mapping3.d
index 849f513..d2aa586 100644
--- a/gas/testsuite/gas/arm/mapping3.d
+++ b/gas/testsuite/gas/arm/mapping3.d
@@ -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
diff --git a/gas/testsuite/gas/arm/mapping4.d b/gas/testsuite/gas/arm/mapping4.d
index abd2d50..d542eac 100644
--- a/gas/testsuite/gas/arm/mapping4.d
+++ b/gas/testsuite/gas/arm/mapping4.d
@@ -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
diff --git a/gas/testsuite/gas/arm/mapsecs.d b/gas/testsuite/gas/arm/mapsecs.d
index b2a0e60..be52636 100644
--- a/gas/testsuite/gas/arm/mapsecs.d
+++ b/gas/testsuite/gas/arm/mapsecs.d
@@ -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.
diff --git a/gas/testsuite/gas/arm/mapshort-eabi.d b/gas/testsuite/gas/arm/mapshort-eabi.d
index fd6cf91..f46fe9a 100644
--- a/gas/testsuite/gas/arm/mapshort-eabi.d
+++ b/gas/testsuite/gas/arm/mapshort-eabi.d
@@ -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*
diff --git a/gas/testsuite/gas/arm/thumbrel.d b/gas/testsuite/gas/arm/thumbrel.d
index 21839c9..23d0cd4 100644
--- a/gas/testsuite/gas/arm/thumbrel.d
+++ b/gas/testsuite/gas/arm/thumbrel.d
@@ -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*
 
diff --git a/gas/testsuite/gas/arm/unwind.d b/gas/testsuite/gas/arm/unwind.d
index e6a5c6d..3588a27 100644
--- a/gas/testsuite/gas/arm/unwind.d
+++ b/gas/testsuite/gas/arm/unwind.d
@@ -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
diff --git a/gas/testsuite/gas/cfi/cfi-label.d b/gas/testsuite/gas/cfi/cfi-label.d
index 1c457c8..0350b57 100644
--- a/gas/testsuite/gas/cfi/cfi-label.d
+++ b/gas/testsuite/gas/cfi/cfi-label.d
@@ -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
 
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
index 41abf87..eb9bd9c 100644
--- a/gas/testsuite/gas/elf/elf.exp
+++ b/gas/testsuite/gas/elf/elf.exp
@@ -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"
diff --git a/gas/testsuite/gas/i386/bss.d b/gas/testsuite/gas/i386/bss.d
index cf52814..c63097c 100644
--- a/gas/testsuite/gas/i386/bss.d
+++ b/gas/testsuite/gas/i386/bss.d
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #objdump: -s
 #name: i386 .bss
 
diff --git a/gas/testsuite/gas/i386/ifunc-3.d b/gas/testsuite/gas/i386/ifunc-3.d
index 124de37..e29dcab 100644
--- a/gas/testsuite/gas/i386/ifunc-3.d
+++ b/gas/testsuite/gas/i386/ifunc-3.d
@@ -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
diff --git a/gas/testsuite/gas/i386/ilp32/mixed-mode-reloc64.d b/gas/testsuite/gas/i386/ilp32/mixed-mode-reloc64.d
index a48c502..f071a22 100644
--- a/gas/testsuite/gas/i386/ilp32/mixed-mode-reloc64.d
+++ b/gas/testsuite/gas/i386/ilp32/mixed-mode-reloc64.d
@@ -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.*
 
diff --git a/gas/testsuite/gas/i386/ilp32/quad.d b/gas/testsuite/gas/i386/ilp32/quad.d
index 94f7b5a..13f5d75 100644
--- a/gas/testsuite/gas/i386/ilp32/quad.d
+++ b/gas/testsuite/gas/i386/ilp32/quad.d
@@ -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
 
diff --git a/gas/testsuite/gas/i386/ilp32/reloc64.d b/gas/testsuite/gas/i386/ilp32/reloc64.d
index 5865ab0..78ca3fd 100644
--- a/gas/testsuite/gas/i386/ilp32/reloc64.d
+++ b/gas/testsuite/gas/i386/ilp32/reloc64.d
@@ -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
 
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d b/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
index 874debb..e5b74fa 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-size-1.d
@@ -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
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-size-3.d b/gas/testsuite/gas/i386/ilp32/x86-64-size-3.d
index 7008e5a..6f96134 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-size-3.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-size-3.d
@@ -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
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d b/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
index c47d1df..8ce06b0 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-size-5.d
@@ -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
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d b/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
index 8fa6c37..bd532b7 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
@@ -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
diff --git a/gas/testsuite/gas/i386/mixed-mode-reloc32.d b/gas/testsuite/gas/i386/mixed-mode-reloc32.d
index 59234bc..d0d786b 100644
--- a/gas/testsuite/gas/i386/mixed-mode-reloc32.d
+++ b/gas/testsuite/gas/i386/mixed-mode-reloc32.d
@@ -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)
diff --git a/gas/testsuite/gas/i386/mixed-mode-reloc64.d b/gas/testsuite/gas/i386/mixed-mode-reloc64.d
index 9b82cb5..f0e62e0 100644
--- a/gas/testsuite/gas/i386/mixed-mode-reloc64.d
+++ b/gas/testsuite/gas/i386/mixed-mode-reloc64.d
@@ -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.*
 
diff --git a/gas/testsuite/gas/i386/nop-6.d b/gas/testsuite/gas/i386/nop-6.d
index 6d44f3e..dcf0191 100644
--- a/gas/testsuite/gas/i386/nop-6.d
+++ b/gas/testsuite/gas/i386/nop-6.d
@@ -1,4 +1,4 @@
-#as: -march=i686+nop
+#as: -march=i686+nop --generate-missing-build-notes=no
 #objdump: -drw
 #name: i386 .nops 6
 
diff --git a/gas/testsuite/gas/i386/property-1.d b/gas/testsuite/gas/i386/property-1.d
index 5a9bec7..509ba3d 100644
--- a/gas/testsuite/gas/i386/property-1.d
+++ b/gas/testsuite/gas/i386/property-1.d
@@ -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
diff --git a/gas/testsuite/gas/i386/property-2.d b/gas/testsuite/gas/i386/property-2.d
index c7e321d..e158d97 100644
--- a/gas/testsuite/gas/i386/property-2.d
+++ b/gas/testsuite/gas/i386/property-2.d
@@ -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
diff --git a/gas/testsuite/gas/i386/relax.d b/gas/testsuite/gas/i386/relax.d
index 83b7d89..ab4b6de 100644
--- a/gas/testsuite/gas/i386/relax.d
+++ b/gas/testsuite/gas/i386/relax.d
@@ -1,4 +1,4 @@
-#as: -mx86-used-note=no
+#as: -mx86-used-note=no --generate-missing-build-notes=no
 #name: i386 relax
 #objdump: -s
 
diff --git a/gas/testsuite/gas/i386/reloc64.d b/gas/testsuite/gas/i386/reloc64.d
index e9e03de..540a9b7 100644
--- a/gas/testsuite/gas/i386/reloc64.d
+++ b/gas/testsuite/gas/i386/reloc64.d
@@ -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*
diff --git a/gas/testsuite/gas/i386/size-1.d b/gas/testsuite/gas/i386/size-1.d
index 3eb5a7f..d582bbe 100644
--- a/gas/testsuite/gas/i386/size-1.d
+++ b/gas/testsuite/gas/i386/size-1.d
@@ -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
 
diff --git a/gas/testsuite/gas/i386/size-3.d b/gas/testsuite/gas/i386/size-3.d
index d79db27..2b08707 100644
--- a/gas/testsuite/gas/i386/size-3.d
+++ b/gas/testsuite/gas/i386/size-3.d
@@ -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
 
diff --git a/gas/testsuite/gas/i386/x86-64-nop-6.d b/gas/testsuite/gas/i386/x86-64-nop-6.d
index 63f3817..f9b0cf1 100644
--- a/gas/testsuite/gas/i386/x86-64-nop-6.d
+++ b/gas/testsuite/gas/i386/x86-64-nop-6.d
@@ -1,5 +1,6 @@
 #source: nop-6.s
 #objdump: -drw
+#as: --generate-missing-build-notes=no
 #name: x86-64 .nops 6
 
 .*: +file format .*
diff --git a/gas/testsuite/gas/i386/x86-64-property-1.d b/gas/testsuite/gas/i386/x86-64-property-1.d
index 966793e..a6cb3d4 100644
--- a/gas/testsuite/gas/i386/x86-64-property-1.d
+++ b/gas/testsuite/gas/i386/x86-64-property-1.d
@@ -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
diff --git a/gas/testsuite/gas/i386/x86-64-property-2.d b/gas/testsuite/gas/i386/x86-64-property-2.d
index 72e2131..b9277ae 100644
--- a/gas/testsuite/gas/i386/x86-64-property-2.d
+++ b/gas/testsuite/gas/i386/x86-64-property-2.d
@@ -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
diff --git a/gas/testsuite/gas/i386/x86-64-size-1.d b/gas/testsuite/gas/i386/x86-64-size-1.d
index 0eb3e50..657408c 100644
--- a/gas/testsuite/gas/i386/x86-64-size-1.d
+++ b/gas/testsuite/gas/i386/x86-64-size-1.d
@@ -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
diff --git a/gas/testsuite/gas/i386/x86-64-size-3.d b/gas/testsuite/gas/i386/x86-64-size-3.d
index 16e0936..943a64e 100644
--- a/gas/testsuite/gas/i386/x86-64-size-3.d
+++ b/gas/testsuite/gas/i386/x86-64-size-3.d
@@ -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
diff --git a/gas/testsuite/gas/i386/x86-64-size-5.d b/gas/testsuite/gas/i386/x86-64-size-5.d
index c1e7fcf..c34d0ee 100644
--- a/gas/testsuite/gas/i386/x86-64-size-5.d
+++ b/gas/testsuite/gas/i386/x86-64-size-5.d
@@ -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
 
diff --git a/gas/testsuite/gas/i386/x86-64-unwind.d b/gas/testsuite/gas/i386/x86-64-unwind.d
index 93b84a8..7f8d94f 100644
--- a/gas/testsuite/gas/i386/x86-64-unwind.d
+++ b/gas/testsuite/gas/i386/x86-64-unwind.d
@@ -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
 
diff --git a/gas/testsuite/gas/macros/irp.d b/gas/testsuite/gas/macros/irp.d
index 6a8d0da..4b69658 100644
--- a/gas/testsuite/gas/macros/irp.d
+++ b/gas/testsuite/gas/macros/irp.d
@@ -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
diff --git a/gas/testsuite/gas/macros/repeat.d b/gas/testsuite/gas/macros/repeat.d
index 568dd8f..68f2db9 100644
--- a/gas/testsuite/gas/macros/repeat.d
+++ b/gas/testsuite/gas/macros/repeat.d
@@ -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
diff --git a/gas/testsuite/gas/macros/rept.d b/gas/testsuite/gas/macros/rept.d
index b38c70a..2fb4465 100644
--- a/gas/testsuite/gas/macros/rept.d
+++ b/gas/testsuite/gas/macros/rept.d
@@ -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
diff --git a/gas/testsuite/gas/macros/test2.d b/gas/testsuite/gas/macros/test2.d
index bb96524..adb0eed 100644
--- a/gas/testsuite/gas/macros/test2.d
+++ b/gas/testsuite/gas/macros/test2.d
@@ -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
diff --git a/gas/testsuite/gas/macros/test3.d b/gas/testsuite/gas/macros/test3.d
index 7194923..6a1df31 100644
--- a/gas/testsuite/gas/macros/test3.d
+++ b/gas/testsuite/gas/macros/test3.d
@@ -7,3 +7,4 @@
 RELOCATION RECORDS FOR .*
 OFFSET[ 	]+TYPE[ 	]+VALUE.*
 0+00[ 	]+[a-zA-Z0-9_]+[ 	]+foo1
+#pass
diff --git a/gas/testsuite/gas/macros/vararg.d b/gas/testsuite/gas/macros/vararg.d
index fb5f25d..ff633bd 100644
--- a/gas/testsuite/gas/macros/vararg.d
+++ b/gas/testsuite/gas/macros/vararg.d
@@ -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
diff --git a/gas/testsuite/gas/ppc/astest2.d b/gas/testsuite/gas/ppc/astest2.d
index 972b9a5..dca21e9 100644
--- a/gas/testsuite/gas/ppc/astest2.d
+++ b/gas/testsuite/gas/ppc/astest2.d
@@ -1,4 +1,5 @@
 #objdump: -Dr -Mppc
+#as:  --generate-missing-build-notes=no
 #name: PowerPC test 2
 
 .*
diff --git a/gas/testsuite/gas/ppc/astest2_64.d b/gas/testsuite/gas/ppc/astest2_64.d
index 516b8bc..157a77b 100644
--- a/gas/testsuite/gas/ppc/astest2_64.d
+++ b/gas/testsuite/gas/ppc/astest2_64.d
@@ -1,4 +1,5 @@
 #objdump: -Dr
+#as:  --generate-missing-build-notes=no
 #name: PowerPC 64-bit test 2
 
 .*
diff --git a/gas/testsuite/gas/ppc/astest64.d b/gas/testsuite/gas/ppc/astest64.d
index 82ccb90..8cf0675 100644
--- a/gas/testsuite/gas/ppc/astest64.d
+++ b/gas/testsuite/gas/ppc/astest64.d
@@ -1,4 +1,5 @@
 #objdump: -Dr
+#as:  --generate-missing-build-notes=no
 #name: PowerPC 64-bit test 1
 
 .*
diff --git a/gas/testsuite/gas/ppc/power4.d b/gas/testsuite/gas/ppc/power4.d
index d3e78a6..e4d9ea9 100644
--- a/gas/testsuite/gas/ppc/power4.d
+++ b/gas/testsuite/gas/ppc/power4.d
@@ -1,5 +1,5 @@
 #objdump: -drx -Mpower4
-#as: -mpower4
+#as: -mpower4 --generate-missing-build-notes=no
 #name: Power4 instructions
 
 .*
diff --git a/gas/testsuite/gas/ppc/test1elf64.d b/gas/testsuite/gas/ppc/test1elf64.d
index d6383e1..4df9e00 100644
--- a/gas/testsuite/gas/ppc/test1elf64.d
+++ b/gas/testsuite/gas/ppc/test1elf64.d
@@ -1,4 +1,5 @@
 #objdump: -Drx
+#as:  --generate-missing-build-notes=no
 #name: PowerPC Test 1, 64 bit elf
 
 .*


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]