aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.h
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2009-01-19 12:14:05 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2009-01-19 12:14:05 +0000
commit5aa6ff7ca4d5209dece43cf89fa5750f5dcaa033 (patch)
treeaf1aaeae14e0dbe24962fe72cd800af96678760b /bfd/elfxx-target.h
parent3483fe2e0bd83ee8dba72f73c6a309cae2d75e7e (diff)
downloadgdb-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 'bfd/elfxx-target.h')
-rw-r--r--bfd/elfxx-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
index 811dbf5..4aa8dd4 100644
--- a/bfd/elfxx-target.h
+++ b/bfd/elfxx-target.h
@@ -461,6 +461,9 @@
#ifndef elf_backend_obj_attrs_section_type
#define elf_backend_obj_attrs_section_type SHT_GNU_ATTRIBUTES
#endif
+#ifndef elf_backend_obj_attrs_order
+#define elf_backend_obj_attrs_order NULL
+#endif
#ifndef elf_backend_post_process_headers
#define elf_backend_post_process_headers NULL
#endif
@@ -720,6 +723,7 @@ static struct elf_backend_data elfNN_bed =
elf_backend_obj_attrs_section,
elf_backend_obj_attrs_arg_type,
elf_backend_obj_attrs_section_type,
+ elf_backend_obj_attrs_order,
elf_backend_collect,
elf_backend_type_change_ok,
elf_backend_may_use_rel_p,