mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-19 07:13:40 +08:00
Add tests for gas arch autodetection on ARM
2015-12-09 Andre Vieira <andre.simoesdiasvieira@arm.com> gas/testsuite/ * gas/arm/automatic-bw.d: New. * gas/arm/automatic-bw.s: New. * gas/arm/automatic-cbz.d: New. * gas/arm/automatic-cbz.s: New. * gas/arm/automatic-clrex.d: New. * gas/arm/automatic-clrex.s: New. * gas/arm/automatic-lda.d: New. * gas/arm/automatic-lda.s: New. * gas/arm/automatic-ldaex.d: New. * gas/arm/automatic-ldaex.s: New. * gas/arm/automatic-ldaexb.d: New. * gas/arm/automatic-ldaexb.s: New. * gas/arm/automatic-ldrex.d: New. * gas/arm/automatic-ldrex.s: New. * gas/arm/automatic-ldrexd.d: New. * gas/arm/automatic-ldrexd.s: New. * gas/arm/automatic-movw.d: New. * gas/arm/automatic-movw.s: New. * gas/arm/automatic-sdiv.d: New. * gas/arm/automatic-sdiv.s: New. * gas/arm/automatic-strexb.d: New. * gas/arm/automatic-strexb.s: New.
This commit is contained in:
parent
ab8314b3d9
commit
443bfd5a37
@ -1,3 +1,28 @@
|
||||
2015-12-24 Andre Vieira <andre.simoesdiasvieira@arm.com>
|
||||
|
||||
* gas/arm/automatic-bw.d: New.
|
||||
* gas/arm/automatic-bw.s: New.
|
||||
* gas/arm/automatic-cbz.d: New.
|
||||
* gas/arm/automatic-cbz.s: New.
|
||||
* gas/arm/automatic-clrex.d: New.
|
||||
* gas/arm/automatic-clrex.s: New.
|
||||
* gas/arm/automatic-lda.d: New.
|
||||
* gas/arm/automatic-lda.s: New.
|
||||
* gas/arm/automatic-ldaex.d: New.
|
||||
* gas/arm/automatic-ldaex.s: New.
|
||||
* gas/arm/automatic-ldaexb.d: New.
|
||||
* gas/arm/automatic-ldaexb.s: New.
|
||||
* gas/arm/automatic-ldrex.d: New.
|
||||
* gas/arm/automatic-ldrex.s: New.
|
||||
* gas/arm/automatic-ldrexd.d: New.
|
||||
* gas/arm/automatic-ldrexd.s: New.
|
||||
* gas/arm/automatic-movw.d: New.
|
||||
* gas/arm/automatic-movw.s: New.
|
||||
* gas/arm/automatic-sdiv.d: New.
|
||||
* gas/arm/automatic-sdiv.s: New.
|
||||
* gas/arm/automatic-strexb.d: New.
|
||||
* gas/arm/automatic-strexb.s: New.
|
||||
|
||||
2015-12-16 Mickael Guene <mickael.guene@st.com>
|
||||
|
||||
* gas/arm/adds-thumb1-reloc-local.d: New
|
||||
|
8
gas/testsuite/gas/arm/automatic-bw.d
Normal file
8
gas/testsuite/gas/arm/automatic-bw.d
Normal file
@ -0,0 +1,8 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v6T2
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-bw.s
Normal file
3
gas/testsuite/gas/arm/automatic-bw.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
b.w .L0
|
8
gas/testsuite/gas/arm/automatic-cbz.d
Normal file
8
gas/testsuite/gas/arm/automatic-cbz.d
Normal file
@ -0,0 +1,8 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v6T2
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
5
gas/testsuite/gas/arm/automatic-cbz.s
Normal file
5
gas/testsuite/gas/arm/automatic-cbz.s
Normal file
@ -0,0 +1,5 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
cbz r0, .L0
|
||||
nop
|
||||
.L0:
|
8
gas/testsuite/gas/arm/automatic-clrex.d
Normal file
8
gas/testsuite/gas/arm/automatic-clrex.d
Normal file
@ -0,0 +1,8 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v6T2
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-clrex.s
Normal file
3
gas/testsuite/gas/arm/automatic-clrex.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
clrex
|
9
gas/testsuite/gas/arm/automatic-lda.d
Normal file
9
gas/testsuite/gas/arm/automatic-lda.d
Normal file
@ -0,0 +1,9 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v8
|
||||
Tag_CPU_arch_profile: Application
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-lda.s
Normal file
3
gas/testsuite/gas/arm/automatic-lda.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
lda r0, [r1]
|
9
gas/testsuite/gas/arm/automatic-ldaex.d
Normal file
9
gas/testsuite/gas/arm/automatic-ldaex.d
Normal file
@ -0,0 +1,9 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v8
|
||||
Tag_CPU_arch_profile: Application
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-ldaex.s
Normal file
3
gas/testsuite/gas/arm/automatic-ldaex.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
ldaex r0, [r1]
|
9
gas/testsuite/gas/arm/automatic-ldaexb.d
Normal file
9
gas/testsuite/gas/arm/automatic-ldaexb.d
Normal file
@ -0,0 +1,9 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v8
|
||||
Tag_CPU_arch_profile: Application
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-ldaexb.s
Normal file
3
gas/testsuite/gas/arm/automatic-ldaexb.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
ldaexb r0, [r1]
|
8
gas/testsuite/gas/arm/automatic-ldrex.d
Normal file
8
gas/testsuite/gas/arm/automatic-ldrex.d
Normal file
@ -0,0 +1,8 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v6T2
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-ldrex.s
Normal file
3
gas/testsuite/gas/arm/automatic-ldrex.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
ldrex r0, [r0]
|
8
gas/testsuite/gas/arm/automatic-ldrexd.d
Normal file
8
gas/testsuite/gas/arm/automatic-ldrexd.d
Normal file
@ -0,0 +1,8 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v6T2
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-ldrexd.s
Normal file
3
gas/testsuite/gas/arm/automatic-ldrexd.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
ldrexd r0, r1, [r2]
|
8
gas/testsuite/gas/arm/automatic-movw.d
Normal file
8
gas/testsuite/gas/arm/automatic-movw.d
Normal file
@ -0,0 +1,8 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v6T2
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-movw.s
Normal file
3
gas/testsuite/gas/arm/automatic-movw.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
movw r0, #65535
|
9
gas/testsuite/gas/arm/automatic-sdiv.d
Normal file
9
gas/testsuite/gas/arm/automatic-sdiv.d
Normal file
@ -0,0 +1,9 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v7
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
Tag_DIV_use: Allowed in v7-A with integer division extension
|
||||
|
3
gas/testsuite/gas/arm/automatic-sdiv.s
Normal file
3
gas/testsuite/gas/arm/automatic-sdiv.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
sdiv r0, r0, r1
|
8
gas/testsuite/gas/arm/automatic-strexb.d
Normal file
8
gas/testsuite/gas/arm/automatic-strexb.d
Normal file
@ -0,0 +1,8 @@
|
||||
# readelf: -A
|
||||
# This test is only valid on ELF based ports.
|
||||
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_arch: v6T2
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
|
3
gas/testsuite/gas/arm/automatic-strexb.s
Normal file
3
gas/testsuite/gas/arm/automatic-strexb.s
Normal file
@ -0,0 +1,3 @@
|
||||
.thumb
|
||||
.syntax unified
|
||||
strexb r0, r1, [r2]
|
Loading…
Reference in New Issue
Block a user