diff options
author | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-04-15 10:56:39 +0000 |
---|---|---|
committer | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-04-15 10:56:39 +0000 |
commit | 75375b3e00c282a6461d1a3df83582f624b18377 (patch) | |
tree | 3e894169dd3b10d0506cd541dfe322a2c284c6f9 /gas | |
parent | e4e42b45d59b4c622b7c5b625fd7467fd62d958d (diff) | |
download | gdb-75375b3e00c282a6461d1a3df83582f624b18377.zip gdb-75375b3e00c282a6461d1a3df83582f624b18377.tar.gz gdb-75375b3e00c282a6461d1a3df83582f624b18377.tar.bz2 |
* ld/testsuite/ld-arm/attr-merge-2.attr: Update for changes in attribute output.
* ld/testsuite/ld-arm/attr-merge-3.attr: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-4.d: Likeiwse.
* ld/testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
* ld/testsuite/ld-arm/attr-merge.attr: Likewise.
* binutils/readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
(arm_attr_tag_ABI_align8_needed): Remove.
(arm_attr_tag_ABI_align8_preserved): Remove.
(arm_attr_tag_ABI_HardFP_use): Update text strings.
(arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
(display_arm_attribute): Add decoding of ABI v2.08 attributes.
* include/elf/arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
Tag_FP_HP_extension): Add new ABI attribute tags.
* gas/config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
new tag names in v2.08 of ARM ABI.
* gas/doc/c-arm.texi: Document new tag names in ABI.
* gas/testsuite/gas/arm/attr-mcpu.d: Update for new attribute tag names.
* gas/testsuite/gas/arm/attr-mfpu-arm1020e.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1020t.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-neon.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp10.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp3.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp9.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv2.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv3.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv4.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpxd.d: Likewise.
* gas/testsuite/gas/arm/attr-names.d: Add test to make sure all attribute names
are recognised.
* gas/testsuite/gas/arm/attr-names.s: Likewise.
Diffstat (limited to 'gas')
25 files changed, 155 insertions, 25 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0a92ca6..d2551db 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for + new tag names in v2.08 of ARM ABI. + * doc/c-arm.texi: Document new tag names in ABI. + 2010-04-14 Tristan Gingold <gingold@adacore.com> * config/tc-alpha.c: Includes vms/egps.h on EVAX. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 3a160c1..b7ea21b 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -23047,6 +23047,7 @@ arm_convert_symbolic_attribute (const char *name) T (Tag_CPU_arch_profile), T (Tag_ARM_ISA_use), T (Tag_THUMB_ISA_use), + T (Tag_FP_arch), T (Tag_VFP_arch), T (Tag_WMMX_arch), T (Tag_Advanced_SIMD_arch), @@ -23061,7 +23062,9 @@ arm_convert_symbolic_attribute (const char *name) T (Tag_ABI_FP_exceptions), T (Tag_ABI_FP_user_exceptions), T (Tag_ABI_FP_number_model), + T (Tag_ABI_align_needed), T (Tag_ABI_align8_needed), + T (Tag_ABI_align_preserved), T (Tag_ABI_align8_preserved), T (Tag_ABI_enum_size), T (Tag_ABI_HardFP_use), @@ -23071,6 +23074,7 @@ arm_convert_symbolic_attribute (const char *name) T (Tag_ABI_FP_optimization_goals), T (Tag_compatibility), T (Tag_CPU_unaligned_access), + T (Tag_FP_HP_extension), T (Tag_VFP_HP_extension), T (Tag_ABI_FP_16bit_format), T (Tag_MPextension_use), diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 60b453f..e33230c 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -575,19 +575,19 @@ Set the EABI object attribute @var{tag} to @var{value}. The @var{tag} is either an attribute number, or one of the following: @code{Tag_CPU_raw_name}, @code{Tag_CPU_name}, @code{Tag_CPU_arch}, @code{Tag_CPU_arch_profile}, @code{Tag_ARM_ISA_use}, -@code{Tag_THUMB_ISA_use}, @code{Tag_VFP_arch}, @code{Tag_WMMX_arch}, +@code{Tag_THUMB_ISA_use}, @code{Tag_FP_arch}, @code{Tag_WMMX_arch}, @code{Tag_Advanced_SIMD_arch}, @code{Tag_PCS_config}, @code{Tag_ABI_PCS_R9_use}, @code{Tag_ABI_PCS_RW_data}, @code{Tag_ABI_PCS_RO_data}, @code{Tag_ABI_PCS_GOT_use}, @code{Tag_ABI_PCS_wchar_t}, @code{Tag_ABI_FP_rounding}, @code{Tag_ABI_FP_denormal}, @code{Tag_ABI_FP_exceptions}, @code{Tag_ABI_FP_user_exceptions}, @code{Tag_ABI_FP_number_model}, -@code{Tag_ABI_align8_needed}, @code{Tag_ABI_align8_preserved}, +@code{Tag_ABI_align_needed}, @code{Tag_ABI_align_preserved}, @code{Tag_ABI_enum_size}, @code{Tag_ABI_HardFP_use}, @code{Tag_ABI_VFP_args}, @code{Tag_ABI_WMMX_args}, @code{Tag_ABI_optimization_goals}, @code{Tag_ABI_FP_optimization_goals}, @code{Tag_compatibility}, @code{Tag_CPU_unaligned_access}, -@code{Tag_VFP_HP_extension}, @code{Tag_ABI_FP_16bit_format}, +@code{Tag_FP_HP_extension}, @code{Tag_ABI_FP_16bit_format}, @code{Tag_MPextension_use}, @code{Tag_DIV_use}, @code{Tag_nodefaults}, @code{Tag_also_compatible_with}, @code{Tag_conformance}, @code{Tag_T2EE_use}, @@ -596,6 +596,10 @@ The @var{tag} is either an attribute number, or one of the following: The @var{value} is either a @code{number}, @code{"string"}, or @code{number, "string"} depending on the tag. +Note - the following legacy values are also accepted by @var{tag}: +@code{Tag_VFP_arch}, @code{Tag_ABI_align8_needed}, +@code{Tag_ABI_align8_preserved}, @code{Tag_VFP_HP_extension}, + @cindex @code{.even} directive, ARM @item .even This directive aligns to an even-numbered address. diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 1e93943..7056cc4 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,28 @@ +2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * gas/arm/attr-mcpu.d: Update for new attribute tag names. + * gas/arm/attr-mfpu-arm1020e.d: Likewise. + * gas/arm/attr-mfpu-arm1020t.d: Likewise. + * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. + * gas/arm/attr-mfpu-arm1136jfs.d: Likewise. + * gas/arm/attr-mfpu-neon-fp16.d: Likewise. + * gas/arm/attr-mfpu-neon.d: Likewise. + * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. + * gas/arm/attr-mfpu-vfp.d: Likewise. + * gas/arm/attr-mfpu-vfp10-r0.d: Likewise. + * gas/arm/attr-mfpu-vfp10.d: Likewise. + * gas/arm/attr-mfpu-vfp3.d: Likewise. + * gas/arm/attr-mfpu-vfp9.d: Likewise. + * gas/arm/attr-mfpu-vfpv2.d: Likewise. + * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. + * gas/arm/attr-mfpu-vfpv3.d: Likewise. + * gas/arm/attr-mfpu-vfpv4-d16.d: Likewise. + * gas/arm/attr-mfpu-vfpv4.d: Likewise. + * gas/arm/attr-mfpu-vfpxd.d: Likewise. + * gas/arm/attr-names.d: Add test to make sure all attribute names + are recognised. + * gas/arm/attr-names.s: Likewise. + 2010-04-07 Jie Zhang <jie@codesourcery.com> * gas/arm/mapmisc.s: Test multiple mapping symbols have diff --git a/gas/testsuite/gas/arm/attr-mcpu.d b/gas/testsuite/gas/arm/attr-mcpu.d index 80cb168..4e8f321 100644 --- a/gas/testsuite/gas/arm/attr-mcpu.d +++ b/gas/testsuite/gas/arm/attr-mcpu.d @@ -12,5 +12,5 @@ File Attributes Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_VFP_arch: VFPv3 + Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm1020e.d b/gas/testsuite/gas/arm/attr-mfpu-arm1020e.d index aba9948..95ea725 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm1020e.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm1020e.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv2 + Tag_FP_arch: VFPv2 diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm1020t.d b/gas/testsuite/gas/arm/attr-mfpu-arm1020t.d index 1fe1ab2..19b001b 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm1020t.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm1020t.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv1 + Tag_FP_arch: VFPv1 diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d b/gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d index 78d546b..f25aebe 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv2 + Tag_FP_arch: VFPv2 diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d b/gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d index e251d3e..4b8fce6 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv2 + Tag_FP_arch: VFPv2 diff --git a/gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d b/gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d index f04ad31..3866572 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d +++ b/gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d @@ -9,6 +9,6 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv3 + Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 - Tag_VFP_HP_extension: Allowed + Tag_FP_HP_extension: Allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-neon.d b/gas/testsuite/gas/arm/attr-mfpu-neon.d index 9de9886..1d7d33b 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-neon.d +++ b/gas/testsuite/gas/arm/attr-mfpu-neon.d @@ -9,5 +9,5 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv3 + Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 diff --git a/gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d b/gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d index 1fe6961..d0524c2 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d +++ b/gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv2 + Tag_FP_arch: VFPv2 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp.d b/gas/testsuite/gas/arm/attr-mfpu-vfp.d index e57218d..331b81a 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv2 + Tag_FP_arch: VFPv2 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d b/gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d index dd69345..6f89e6a 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv1 + Tag_FP_arch: VFPv1 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp10.d b/gas/testsuite/gas/arm/attr-mfpu-vfp10.d index 6c27fc5..37af075 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp10.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp10.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv2 + Tag_FP_arch: VFPv2 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp3.d b/gas/testsuite/gas/arm/attr-mfpu-vfp3.d index f0549da..f02d2cd 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp3.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp3.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv3 + Tag_FP_arch: VFPv3 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp9.d b/gas/testsuite/gas/arm/attr-mfpu-vfp9.d index 1f7f996..57f5df7 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp9.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp9.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv2 + Tag_FP_arch: VFPv2 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv2.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv2.d index befd88f..678eb9e 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv2.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv2.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv2 + Tag_FP_arch: VFPv2 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d index 255e552..36d9914 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv3-D16 + Tag_FP_arch: VFPv3-D16 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv3.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv3.d index e5d443e..b6cf496 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv3.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv3.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv3 + Tag_FP_arch: VFPv3 diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d index 6b3574d..967e912 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d @@ -9,5 +9,5 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv4-D16 - Tag_VFP_HP_extension: Allowed + Tag_FP_arch: VFPv4-D16 + Tag_FP_HP_extension: Allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv4.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv4.d index a3b91a5..fd92773 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv4.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv4.d @@ -9,5 +9,5 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv4 - Tag_VFP_HP_extension: Allowed + Tag_FP_arch: VFPv4 + Tag_FP_HP_extension: Allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpxd.d b/gas/testsuite/gas/arm/attr-mfpu-vfpxd.d index b8002d1..735860e 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpxd.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpxd.d @@ -9,4 +9,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_VFP_arch: VFPv1 + Tag_FP_arch: VFPv1 diff --git a/gas/testsuite/gas/arm/attr-names.d b/gas/testsuite/gas/arm/attr-names.d new file mode 100644 index 0000000..1eddd93 --- /dev/null +++ b/gas/testsuite/gas/arm/attr-names.d @@ -0,0 +1,48 @@ +# name: EABI attribute names +# source: attr-names.s +# as: +# readelf: -A +# This test is only valid on EABI based ports. +# target: *-*-*eabi + +Attribute Section: aeabi +File Attributes + Tag_conformance: "2.08" + Tag_nodefaults: True + Tag_CPU_raw_name: "random-cpu" + Tag_CPU_name: "cpu" + Tag_CPU_arch: v4 + Tag_CPU_arch_profile: Application or Realtime + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_FP_arch: VFPv1 + Tag_WMMX_arch: WMMXv1 + Tag_Advanced_SIMD_arch: NEONv1 + Tag_PCS_config: Bare platform + Tag_ABI_PCS_R9_use: SB + Tag_ABI_PCS_RW_data: PC-relative + Tag_ABI_PCS_RO_data: PC-relative + Tag_ABI_PCS_GOT_use: direct + Tag_ABI_PCS_wchar_t: 2 + Tag_ABI_FP_rounding: Needed + Tag_ABI_FP_denormal: Needed + Tag_ABI_FP_exceptions: Needed + Tag_ABI_FP_user_exceptions: Needed + Tag_ABI_FP_number_model: Finite + Tag_ABI_align_needed: 8-byte + Tag_ABI_align_preserved: 8-byte, except leaf SP + Tag_ABI_enum_size: small + Tag_ABI_HardFP_use: SP only + Tag_ABI_VFP_args: VFP registers + Tag_ABI_WMMX_args: WMMX registers + Tag_ABI_optimization_goals: Prefer Speed + Tag_ABI_FP_optimization_goals: Prefer Speed + Tag_compatibility: flag = 1, vendor = gnu + Tag_CPU_unaligned_access: v6 + Tag_FP_HP_extension: Allowed + Tag_ABI_FP_16bit_format: IEEE 754 + Tag_MPextension_use: Allowed + Tag_DIV_use: Not allowed + Tag_also_compatible_with: v6-M + Tag_T2EE_use: Allowed + Tag_Virtualization_use: TrustZone and Virtualization Extensions diff --git a/gas/testsuite/gas/arm/attr-names.s b/gas/testsuite/gas/arm/attr-names.s new file mode 100644 index 0000000..c43fb88 --- /dev/null +++ b/gas/testsuite/gas/arm/attr-names.s @@ -0,0 +1,43 @@ +.eabi_attribute Tag_CPU_raw_name, "random-cpu" +.eabi_attribute Tag_CPU_name, "cpu" +.eabi_attribute Tag_CPU_arch, 1 +.eabi_attribute Tag_CPU_arch_profile, 'S' +.eabi_attribute Tag_ARM_ISA_use, 1 +.eabi_attribute Tag_THUMB_ISA_use, 1 +.eabi_attribute Tag_FP_arch, 1 +.eabi_attribute Tag_VFP_arch, 1 +.eabi_attribute Tag_WMMX_arch, 1 +.eabi_attribute Tag_Advanced_SIMD_arch, 1 +.eabi_attribute Tag_PCS_config, 1 +.eabi_attribute Tag_ABI_PCS_R9_use, 1 +.eabi_attribute Tag_ABI_PCS_RW_data, 1 +.eabi_attribute Tag_ABI_PCS_RO_data, 1 +.eabi_attribute Tag_ABI_PCS_GOT_use, 1 +.eabi_attribute Tag_ABI_PCS_wchar_t, 2 +.eabi_attribute Tag_ABI_FP_rounding, 1 +.eabi_attribute Tag_ABI_FP_denormal, 1 +.eabi_attribute Tag_ABI_FP_exceptions, 1 +.eabi_attribute Tag_ABI_FP_user_exceptions, 1 +.eabi_attribute Tag_ABI_FP_number_model, 1 +.eabi_attribute Tag_ABI_align_needed, 1 +.eabi_attribute Tag_ABI_align8_needed, 1 +.eabi_attribute Tag_ABI_align_preserved, 1 +.eabi_attribute Tag_ABI_align8_preserved, 1 +.eabi_attribute Tag_ABI_enum_size, 1 +.eabi_attribute Tag_ABI_HardFP_use, 1 +.eabi_attribute Tag_ABI_VFP_args, 1 +.eabi_attribute Tag_ABI_WMMX_args, 1 +.eabi_attribute Tag_ABI_optimization_goals, 1 +.eabi_attribute Tag_ABI_FP_optimization_goals, 1 +.eabi_attribute Tag_compatibility, 1, "gnu" +.eabi_attribute Tag_CPU_unaligned_access, 1 +.eabi_attribute Tag_FP_HP_extension, 1 +.eabi_attribute Tag_VFP_HP_extension, 1 +.eabi_attribute Tag_ABI_FP_16bit_format, 1 +.eabi_attribute Tag_MPextension_use, 1 +.eabi_attribute Tag_DIV_use, 1 +.eabi_attribute Tag_nodefaults, 0 +.eabi_attribute Tag_also_compatible_with, "\06\013" +.eabi_attribute Tag_conformance, "2.08" +.eabi_attribute Tag_T2EE_use, 1 +.eabi_attribute Tag_Virtualization_use, 3 |