From 077a039f70d870899da31eb8cee597964515fa3c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 3 Jul 2019 15:26:32 +0100 Subject: [PATCH] Fix assembler tests to work with toolchains that have been configured with --enable-generate-build-notes. --- 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/aarch64/symbol-variant_pcs-1.d | 1 + .../gas/aarch64/symbol-variant_pcs-2.d | 1 + .../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/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 21346074af6..1356aabbebb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,99 @@ +2019-07-03 Nick Clifton + + * 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 * 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 12da1469b35..a44c1073e09 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 0462cef35c5..c4dc5270195 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 2a75e0badb7..12ad3675804 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 fb30f1431e9..1f2df6ea0d7 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 46c730fee39..d23c0fdbd54 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 aafc9b0762c..4ad1a079aa5 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 e4b7246c950..ece7de1cb7b 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 d81a77e8475..d0495dafed4 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 4778b3d9513..04263484ae6 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 3a5dfb86a8b..96d0ed663c9 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 6bf892ffce0..13035db1d82 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 8458738b785..575632f9a40 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 91b5ebba83d..71bab8abd55 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 78d928b7da1..dde3a926965 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 a74aba20f2f..46b0bb0a18f 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 eaa9200379f..1024339a7c2 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 8020c7ce06b..436e59f8269 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 0c760cc055c..a6550b78990 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 01013004443..ce96138339d 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 09d6fa6b109..e158131331b 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 8d13b46d1fd..bf3b0631ef0 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 7558a4289c9..905c1f4c120 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 ae7dda64fdc..80621d64adb 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 ea53dbea92c..20eb85b3377 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 431d5b69113..de4d1a3693b 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 af3c5ed1df0..60448704174 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 b70d59e5ef8..ff1bdbe7109 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 2b4f654823b..83a6500710c 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 1f7a85d4e88..f0830cc718b 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 ef0bc9ad007..e71d1715b61 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 d56ad28abeb..03909dbc62c 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 056d67d7443..fd71a4bac28 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 99f5a01e597..511cf66c665 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 92e574c46b7..4af626993aa 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 ce35370385f..725a8a8604b 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 d7f8bbaa7aa..f853e218b93 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 0a316de8d2e..54a1733937b 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 6257ce16872..ce99514b3da 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 d9b60ac8e7f..5f46f27236d 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 204914efbda..8d05c1a6361 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 fce74661594..64b39976ec4 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 2b2f1cbb298..deebab8b49c 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 67dea13babd..4c2516409e3 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 8068b1fad88..666e9bfec0d 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 ea633a63062..2c473c0c51e 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 a8538440b02..f0e898c2efa 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 0e1d0468514..ca984efb672 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 d275510abdc..c2f75c9da71 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 849f5135128..d2aa5860be3 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 abd2d50b671..d542eac3bcf 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 b2a0e602df1..be526369319 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 fd6cf91f0d9..f46fe9a1b4e 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 21839c92660..23d0cd44761 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 e6a5c6d6527..3588a278b6d 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 1c457c88f3f..0350b57f134 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 41abf8706f8..eb9bd9c5de8 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 cf528140767..c63097cf789 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 124de37d4ea..e29dcabc1a6 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 a48c5028d94..f071a2256d1 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 94f7b5ae4bc..13f5d750134 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 5865ab0ae14..78ca3fd9e38 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 874debb17e4..e5b74fa5c98 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 7008e5a1879..6f96134f136 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 c47d1df8247..8ce06b0f848 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 8fa6c3791b5..bd532b73e88 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 59234bc9be0..d0d786bc415 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 9b82cb59490..f0e62e0ac27 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 6d44f3ec018..dcf019132a9 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 5a9bec7219d..509ba3dd5f1 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 c7e321dd91e..e158d974b58 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 83b7d894cd8..ab4b6de35de 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 e9e03de86c4..540a9b77d35 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 3eb5a7ffb50..d582bbecc94 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 d79db27b414..2b08707f432 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 63f3817148a..f9b0cf10265 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 966793ea9dc..a6cb3d45019 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 72e2131995e..b9277aee500 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 0eb3e5062a7..657408cf733 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 16e0936d69a..943a64e9ac6 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 c1e7fcf4eed..c34d0eedaab 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 93b84a88f1b..7f8d94fe86e 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 6a8d0daaae2..4b69658d573 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 568dd8f906e..68f2db9ade8 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 b38c70afea0..2fb4465ccb3 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 bb9652420ed..adb0eed810a 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 71949234d8e..6a1df31efec 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 fb5f25d2208..ff633bd33e8 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 972b9a50009..dca21e93f97 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 516b8bc6d9d..157a77b39a5 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 82ccb903517..8cf06750648 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 d3e78a6df17..e4d9ea97918 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 d6383e1d2f6..4df9e00a157 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 .* -- 2.30.2