diff options
author | Andrew Stubbs <andrew.stubbs@st.com> | 2009-01-19 12:14:05 +0000 |
---|---|---|
committer | Andrew Stubbs <andrew.stubbs@st.com> | 2009-01-19 12:14:05 +0000 |
commit | 5aa6ff7ca4d5209dece43cf89fa5750f5dcaa033 (patch) | |
tree | af1aaeae14e0dbe24962fe72cd800af96678760b /gas/testsuite | |
parent | 3483fe2e0bd83ee8dba72f73c6a309cae2d75e7e (diff) | |
download | gdb-5aa6ff7ca4d5209dece43cf89fa5750f5dcaa033.zip gdb-5aa6ff7ca4d5209dece43cf89fa5750f5dcaa033.tar.gz gdb-5aa6ff7ca4d5209dece43cf89fa5750f5dcaa033.tar.bz2 |
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
bfd/
* elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering.
* elf-bfd.h (elf_backend_data): Add obj_attrs_order.
* elf32-arm.c (elf32_arm_obj_attrs_order): New function.
(elf_backend_obj_attrs_order): New define.
* elfxx-target.h (elf_backend_obj_attrs_order): New define.
(elfNN_bed): Add elf_backend_obj_attrs_order.
gas/testsuite/
* gas/arm/attr-order.d: New file.
* gas/arm/attr-order.s: New file.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/attr-order.d | 15 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/attr-order.s | 9 |
3 files changed, 29 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b4039ef..00abbb9 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-01-19 Andrew Stubbs <ams@codesourcery.com> + + * gas/arm/attr-order.d: New file. + * gas/arm/attr-order.s: New file. + 2009-01-16 Andrew Stubbs <ams@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> diff --git a/gas/testsuite/gas/arm/attr-order.d b/gas/testsuite/gas/arm/attr-order.d new file mode 100644 index 0000000..19f0c28 --- /dev/null +++ b/gas/testsuite/gas/arm/attr-order.d @@ -0,0 +1,15 @@ +# name: EABI attribute ordering +# source: attr-order.s +# as: +# readelf: -A + +Attribute Section: aeabi +File Attributes + Tag_conformance: "2.07" + Tag_nodefaults: True + Tag_CPU_name: "ARM7TDMI" + Tag_CPU_arch: v4T + Tag_unknown_63: "val" + Tag_also_compatible_with: v6-M + Tag_T2EE_use: Allowed + Tag_Virtualization_use: Allowed diff --git a/gas/testsuite/gas/arm/attr-order.s b/gas/testsuite/gas/arm/attr-order.s new file mode 100644 index 0000000..10eb3a3 --- /dev/null +++ b/gas/testsuite/gas/arm/attr-order.s @@ -0,0 +1,9 @@ +@ This test ensures that the following attributes +@ are emitted in the proper order. + .cpu arm7tdmi + .eabi_attribute 63, "val" + .eabi_attribute Tag_nodefaults, 0 + .eabi_attribute Tag_also_compatible_with, "\006\013" + .eabi_attribute Tag_T2EE_use, 1 + .eabi_attribute Tag_conformance, "2.07" + .eabi_attribute Tag_Virtualization_use, 1 |