aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/arm/attr-abi-hardfp-use-0.d14
-rw-r--r--gas/testsuite/gas/arm/attr-abi-hardfp-use-0.s3
-rw-r--r--gas/testsuite/gas/arm/attr-abi-hardfp-use-1.d15
-rw-r--r--gas/testsuite/gas/arm/attr-abi-hardfp-use-1.s3
-rw-r--r--gas/testsuite/gas/arm/attr-abi-hardfp-use-2.d15
-rw-r--r--gas/testsuite/gas/arm/attr-abi-hardfp-use-2.s3
-rw-r--r--gas/testsuite/gas/arm/attr-abi-hardfp-use-3.d15
-rw-r--r--gas/testsuite/gas/arm/attr-abi-hardfp-use-3.s3
8 files changed, 71 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arm/attr-abi-hardfp-use-0.d b/gas/testsuite/gas/arm/attr-abi-hardfp-use-0.d
new file mode 100644
index 0000000..bf7ec97
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-abi-hardfp-use-0.d
@@ -0,0 +1,14 @@
+# name: EABI attribute Tag_ABI_HardFP_use with value 0
+# source: attr-abi-hardfp-use-0.s
+# as:
+# readelf: -A
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+Attribute Section: aeabi
+File Attributes
+ Tag_CPU_name: "Cortex-M7"
+ Tag_CPU_arch: v7E-M
+ Tag_CPU_arch_profile: Microcontroller
+ Tag_THUMB_ISA_use: Thumb-2
+ Tag_FP_arch: FPv5/FP-D16 for ARMv8
diff --git a/gas/testsuite/gas/arm/attr-abi-hardfp-use-0.s b/gas/testsuite/gas/arm/attr-abi-hardfp-use-0.s
new file mode 100644
index 0000000..649d0fe
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-abi-hardfp-use-0.s
@@ -0,0 +1,3 @@
+.cpu cortex-m7
+.fpu fpv5-d16
+.eabi_attribute 27, 0
diff --git a/gas/testsuite/gas/arm/attr-abi-hardfp-use-1.d b/gas/testsuite/gas/arm/attr-abi-hardfp-use-1.d
new file mode 100644
index 0000000..712bd6c
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-abi-hardfp-use-1.d
@@ -0,0 +1,15 @@
+# name: EABI attribute Tag_ABI_HardFP_use with value 1
+# source: attr-abi-hardfp-use-1.s
+# as:
+# readelf: -A
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+Attribute Section: aeabi
+File Attributes
+ Tag_CPU_name: "Cortex-M7"
+ Tag_CPU_arch: v7E-M
+ Tag_CPU_arch_profile: Microcontroller
+ Tag_THUMB_ISA_use: Thumb-2
+ Tag_FP_arch: FPv5/FP-D16 for ARMv8
+ Tag_ABI_HardFP_use: SP only
diff --git a/gas/testsuite/gas/arm/attr-abi-hardfp-use-1.s b/gas/testsuite/gas/arm/attr-abi-hardfp-use-1.s
new file mode 100644
index 0000000..adc7049
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-abi-hardfp-use-1.s
@@ -0,0 +1,3 @@
+.cpu cortex-m7
+.fpu fpv5-sp-d16
+.eabi_attribute 27, 1
diff --git a/gas/testsuite/gas/arm/attr-abi-hardfp-use-2.d b/gas/testsuite/gas/arm/attr-abi-hardfp-use-2.d
new file mode 100644
index 0000000..a06c8be
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-abi-hardfp-use-2.d
@@ -0,0 +1,15 @@
+# name: EABI attribute Tag_ABI_HardFP_use with value 2
+# source: attr-abi-hardfp-use-2.s
+# as:
+# readelf: -A
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+Attribute Section: aeabi
+File Attributes
+ Tag_CPU_name: "Cortex-M7"
+ Tag_CPU_arch: v7E-M
+ Tag_CPU_arch_profile: Microcontroller
+ Tag_THUMB_ISA_use: Thumb-2
+ Tag_FP_arch: FPv5/FP-D16 for ARMv8
+ Tag_ABI_HardFP_use: Reserved
diff --git a/gas/testsuite/gas/arm/attr-abi-hardfp-use-2.s b/gas/testsuite/gas/arm/attr-abi-hardfp-use-2.s
new file mode 100644
index 0000000..6723514
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-abi-hardfp-use-2.s
@@ -0,0 +1,3 @@
+.cpu cortex-m7
+.fpu fpv5-d16
+.eabi_attribute 27, 2
diff --git a/gas/testsuite/gas/arm/attr-abi-hardfp-use-3.d b/gas/testsuite/gas/arm/attr-abi-hardfp-use-3.d
new file mode 100644
index 0000000..3e42741
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-abi-hardfp-use-3.d
@@ -0,0 +1,15 @@
+# name: EABI attribute Tag_ABI_HardFP_use with value 3
+# source: attr-abi-hardfp-use-3.s
+# as:
+# readelf: -A
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+Attribute Section: aeabi
+File Attributes
+ Tag_CPU_name: "Cortex-M7"
+ Tag_CPU_arch: v7E-M
+ Tag_CPU_arch_profile: Microcontroller
+ Tag_THUMB_ISA_use: Thumb-2
+ Tag_FP_arch: FPv5/FP-D16 for ARMv8
+ Tag_ABI_HardFP_use: Deprecated
diff --git a/gas/testsuite/gas/arm/attr-abi-hardfp-use-3.s b/gas/testsuite/gas/arm/attr-abi-hardfp-use-3.s
new file mode 100644
index 0000000..55ed6be
--- /dev/null
+++ b/gas/testsuite/gas/arm/attr-abi-hardfp-use-3.s
@@ -0,0 +1,3 @@
+.cpu cortex-m7
+.fpu fpv5-d16
+.eabi_attribute 27, 3