Fix assembler tests to work with toolchains that have been configured with --enable-generate-build-notes.
This commit is contained in:
parent
fdbc98707b
commit
077a039f70
@ -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.
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: --section-headers
|
||||
#as: --generate-missing-build-notes=no
|
||||
# Minimum code alignment should be set.
|
||||
|
||||
.*: +file format.*aarch64.*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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*
|
||||
|
@ -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*
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: --syms --special-syms
|
||||
#as: --generate-missing-build-notes=no
|
||||
#name: AArch64 Mapping Symbols Test 5
|
||||
|
||||
.*: +file format.*aarch64.*
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: --syms --special-syms
|
||||
#as: --generate-missing-build-notes=no
|
||||
#name: AArch64 Mapping Symbols Test 6
|
||||
|
||||
.*: +file format.*aarch64.*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -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
|
||||
[^:]+: d65f03c0 ret // note: previous `movprfx' sequence not closed
|
||||
|
@ -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 .*
|
||||
|
@ -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 .*
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: -t
|
||||
#as: --generate-missing-build-notes=no
|
||||
|
||||
.*: file format .*
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: -t
|
||||
#as: --generate-missing-build-notes=no
|
||||
|
||||
.*: file format .*
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: -t
|
||||
#as: --generate-missing-build-notes=no
|
||||
|
||||
.*: file format .*
|
||||
|
||||
|
@ -4,3 +4,4 @@
|
||||
#...
|
||||
.*zzz.*
|
||||
.*zzz.*
|
||||
#pass
|
||||
|
@ -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*-*-*
|
||||
|
||||
|
@ -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
|
||||
|
@ -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*
|
||||
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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*
|
||||
|
@ -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*
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#as: -mx86-used-note=no
|
||||
#as: -mx86-used-note=no --generate-missing-build-notes=no
|
||||
#objdump: -s
|
||||
#name: i386 .bss
|
||||
|
||||
|
@ -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
|
||||
|
@ -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.*
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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.*
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#as: -march=i686+nop
|
||||
#as: -march=i686+nop --generate-missing-build-notes=no
|
||||
#objdump: -drw
|
||||
#name: i386 .nops 6
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#as: -mx86-used-note=no
|
||||
#as: -mx86-used-note=no --generate-missing-build-notes=no
|
||||
#name: i386 relax
|
||||
#objdump: -s
|
||||
|
||||
|
@ -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*
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
#source: nop-6.s
|
||||
#objdump: -drw
|
||||
#as: --generate-missing-build-notes=no
|
||||
#name: x86-64 .nops 6
|
||||
|
||||
.*: +file format .*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -7,3 +7,4 @@
|
||||
RELOCATION RECORDS FOR .*
|
||||
OFFSET[ ]+TYPE[ ]+VALUE.*
|
||||
0+00[ ]+[a-zA-Z0-9_]+[ ]+foo1
|
||||
#pass
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: -Dr -Mppc
|
||||
#as: --generate-missing-build-notes=no
|
||||
#name: PowerPC test 2
|
||||
|
||||
.*
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: -Dr
|
||||
#as: --generate-missing-build-notes=no
|
||||
#name: PowerPC 64-bit test 2
|
||||
|
||||
.*
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: -Dr
|
||||
#as: --generate-missing-build-notes=no
|
||||
#name: PowerPC 64-bit test 1
|
||||
|
||||
.*
|
||||
|
@ -1,5 +1,5 @@
|
||||
#objdump: -drx -Mpower4
|
||||
#as: -mpower4
|
||||
#as: -mpower4 --generate-missing-build-notes=no
|
||||
#name: Power4 instructions
|
||||
|
||||
.*
|
||||
|
@ -1,4 +1,5 @@
|
||||
#objdump: -Drx
|
||||
#as: --generate-missing-build-notes=no
|
||||
#name: PowerPC Test 1, 64 bit elf
|
||||
|
||||
.*
|
||||
|
Loading…
x
Reference in New Issue
Block a user