diff options
author | Paul Brook <paul@codesourcery.com> | 2005-10-08 17:07:19 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2005-10-08 17:07:19 +0000 |
commit | ee065d83ee798906655323c4c20065788175d3d6 (patch) | |
tree | fdfb630b278b322edbd89c03697d003a30b394b2 /ld/testsuite | |
parent | 19590ef7f6590cb0dd72cae7752dc47ec5224182 (diff) | |
download | gdb-ee065d83ee798906655323c4c20065788175d3d6.zip gdb-ee065d83ee798906655323c4c20065788175d3d6.tar.gz gdb-ee065d83ee798906655323c4c20065788175d3d6.tar.bz2 |
2005-10-08 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c: Move #include "elf/arm.h" after libbfd.h.
(NUM_KNOWN_ATTRIBUTES): Define.
(aeabi_attribute, aeabi_attribute_list): Define.
(elf32_arm_obj_tdata): Add known_eabi_attributes and
other_eabi_attributes.
(uleb128_size, is_default_attr, eabi_attr_size,
elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute,
elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link,
elf32_arm_new_eabi_attr, attr_strdup, elf32_arm_add_eabi_attr_int,
elf32_arm_add_eabi_attr_compat, copy_eabi_attributes,
elf32_arm_merge_eabi_attributes): New functions.
(elf32_arm_copy_private_bfd_data): Copy EABI object attributes.
(elf32_arm_fake_sections): Handle .ARM.attributes.
(elf32_arm_parse_attributes): New function.
(elf32_arm_section_from_shdr): Use it.
(bfd_elf32_bfd_final_link): Define.
gas/
* config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
(arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
New variables.
(arm_cpu_option_table): Add canonical_name.
(arm_cpus): Populate canonical_name field.
(s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
aeabi_set_public_attributes, arm_md_end): New functions.
(md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
(md_assemble): Set thumb_arch_used and arm_arch_used.
(md_begin): Set defaut cpu if CPU_DEFAULT not defined.
* config/tc-arm.h (md_end): Define.
* doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
gas/testsuite/
* gas/arm/eabi_attr_1.s: New test.
* gas/arm/eabi_attr_1.d: New test.
* gas/arm/arm7t.d: Only disassemble code sections.
* gas/arm/bignum1.d: Ignore Arm object attribute sections.
* gas/arm/mapping.d: Ditto.
* gas/arm/unwind.d: Ditto.
* gas/elf/section0.d: Ditto.
* gas/elf/section1.d: Ditto.
* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
* gas/elf/section2.e-armeabi: New file.
include/elf/
* arm.h: Add prototypes for BFD object attribute routines.
ld/testsuite/
* ld-arm/arm-rel31.d: Ignore Arm object attribute sections.
* ld-arm/arm-target1-abs.d: Ditto.
* ld-arm/arm-target1-rel.d: Ditto.
* ld-arm/arm-target2-abs.d: Ditto.
* ld-arm/arm-target2-got-rel.d: Ditto.
* ld-arm/arm-target2-rel.d: Ditto.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-rel31.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-target1-abs.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-target1-rel.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-target2-abs.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-target2-got-rel.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-target2-rel.d | 2 |
7 files changed, 21 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 684b7d3..c80b5db 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2005-10-08 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-rel31.d: Ignore Arm object attribute sections. + * ld-arm/arm-target1-abs.d: Ditto. + * ld-arm/arm-target1-rel.d: Ditto. + * ld-arm/arm-target2-abs.d: Ditto. + * ld-arm/arm-target2-got-rel.d: Ditto. + * ld-arm/arm-target2-rel.d: Ditto. + 2005-10-04 H.J. Lu <hongjiu.lu@intel.com> PR ld/1396 diff --git a/ld/testsuite/ld-arm/arm-rel31.d b/ld/testsuite/ld-arm/arm-rel31.d index 1ab6839..ac99e92 100644 --- a/ld/testsuite/ld-arm/arm-rel31.d +++ b/ld/testsuite/ld-arm/arm-rel31.d @@ -3,3 +3,5 @@ Contents of section .text: 8000 (10000000 fcffff7f 08000080 f4ffffff|00000010 7ffffffc 80000008 fffffff4) .* +# Ignore .ARM.attributes section +#... diff --git a/ld/testsuite/ld-arm/arm-target1-abs.d b/ld/testsuite/ld-arm/arm-target1-abs.d index 81cc9cc..af64e60 100644 --- a/ld/testsuite/ld-arm/arm-target1-abs.d +++ b/ld/testsuite/ld-arm/arm-target1-abs.d @@ -3,3 +3,5 @@ Contents of section .text: 8000 (04800000|00008004) .* +# Ignore .ARM.attributes section +#... diff --git a/ld/testsuite/ld-arm/arm-target1-rel.d b/ld/testsuite/ld-arm/arm-target1-rel.d index 2d10dee..fcd6c1a 100644 --- a/ld/testsuite/ld-arm/arm-target1-rel.d +++ b/ld/testsuite/ld-arm/arm-target1-rel.d @@ -3,3 +3,5 @@ Contents of section .text: 8000 (04000000|00000004) .* +# Ignore .ARM.attributes section +#... diff --git a/ld/testsuite/ld-arm/arm-target2-abs.d b/ld/testsuite/ld-arm/arm-target2-abs.d index 81cc9cc..af64e60 100644 --- a/ld/testsuite/ld-arm/arm-target2-abs.d +++ b/ld/testsuite/ld-arm/arm-target2-abs.d @@ -3,3 +3,5 @@ Contents of section .text: 8000 (04800000|00008004) .* +# Ignore .ARM.attributes section +#... diff --git a/ld/testsuite/ld-arm/arm-target2-got-rel.d b/ld/testsuite/ld-arm/arm-target2-got-rel.d index 089c061..1a996f0 100644 --- a/ld/testsuite/ld-arm/arm-target2-got-rel.d +++ b/ld/testsuite/ld-arm/arm-target2-got-rel.d @@ -5,3 +5,5 @@ Contents of section .text: 8000 (00100000|00001000) .* Contents of section .got: 9000 (04800000|00008004) .* +# Ignore .ARM.attributes section +#... diff --git a/ld/testsuite/ld-arm/arm-target2-rel.d b/ld/testsuite/ld-arm/arm-target2-rel.d index 4913e07..569d6b5 100644 --- a/ld/testsuite/ld-arm/arm-target2-rel.d +++ b/ld/testsuite/ld-arm/arm-target2-rel.d @@ -3,3 +3,5 @@ Contents of section .text: 8000 (04000000|00000004) .* +# Ignore .ARM.attributes section +#... |