aboutsummaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2010-05-13 02:41:15 +0000
committerDoug Kwan <dougkwan@google.com>2010-05-13 02:41:15 +0000
commitda59ad79a2bab290cca29440b8b1d7981aa2b983 (patch)
tree69474e22226b02e09ee1e7fbb6bb4a7ff3227ac5 /elfcpp
parent235f101c07d43aac6a5fcc167680ea691c9ee92a (diff)
downloadgdb-da59ad79a2bab290cca29440b8b1d7981aa2b983.zip
gdb-da59ad79a2bab290cca29440b8b1d7981aa2b983.tar.gz
gdb-da59ad79a2bab290cca29440b8b1d7981aa2b983.tar.bz2
2010-05-12 Doug Kwan <dougkwan@google.com>
elfcpp/ChangeLog * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved, Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from existing tags. (Tag_undefined40, Tag_undefined41, Tag_MPextension_use, Tag_undefined43): New tags. (Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved, Tag_VFP_HP_extension): Define aliases for backward compatiblity. gold/ChangeLog * arm.cc (Target_arm::do_finalize_sections): Create an empty attributes section only if there no attributes section after merging. (Target_arm::merge_object_attributes): Move value of Tag_MPextension_use_legacy to that of Tag_MPextension_use. Handle Tag_DIV_use and Tag_MPextension_use_legacy. * testsuite/Makefile.am (check_SCRIPTS): Add arm_attr_merge.sh (check_DATA): Add arm_attr_merge_6.stdout, arm_attr_merge_6r_stdout and arm_attr_merge_7.stdout. (arm_attr_merge_6.stdout, arm_attr_merge_6 arm_attr_merge_6a.o arm_attr_merge_6b.o, arm_attr_merge_6r.stdout, arm_attr_merge_6r, arm_attr_merge_7.stdout, arm_attr_merge_7, arm_attr_merge_7a.o, arm_attr_merge_7b.o): New rules. (MOSTLYCLEANFILES): Add arm_attr_merge_6, arm_attr_merge_6r and arm_attr_merge_7 * testsuite/Makefile.in: Regenerate. * testsuite/arm_attr_merge.sh: New file. * testsuite/arm_attr_merge_[67][ab].s: Same.
Diffstat (limited to 'elfcpp')
-rw-r--r--elfcpp/ChangeLog10
-rw-r--r--elfcpp/arm.h21
2 files changed, 26 insertions, 5 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index 6f97d25..3240c72 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,13 @@
+2010-05-12 Doug Kwan <dougkwan@google.com>
+
+ * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
+ Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from
+ existing tags.
+ (Tag_undefined40, Tag_undefined41, Tag_MPextension_use,
+ Tag_undefined43): New tags.
+ (Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved,
+ Tag_VFP_HP_extension): Define aliases for backward compatiblity.
+
2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* elfcpp.h (VER_FLG_INFO): Define.
diff --git a/elfcpp/arm.h b/elfcpp/arm.h
index 397d0d0..cb85eeb 100644
--- a/elfcpp/arm.h
+++ b/elfcpp/arm.h
@@ -255,7 +255,7 @@ enum
Tag_CPU_arch_profile = 7,
Tag_ARM_ISA_use = 8,
Tag_THUMB_ISA_use = 9,
- Tag_VFP_arch = 10,
+ Tag_FP_arch = 10,
Tag_WMMX_arch = 11,
Tag_Advanced_SIMD_arch = 12,
Tag_PCS_config = 13,
@@ -269,8 +269,8 @@ enum
Tag_ABI_FP_exceptions = 21,
Tag_ABI_FP_user_exceptions = 22,
Tag_ABI_FP_number_model = 23,
- Tag_ABI_align8_needed = 24,
- Tag_ABI_align8_preserved = 25,
+ Tag_ABI_align_needed = 24,
+ Tag_ABI_align_preserved = 25,
Tag_ABI_enum_size = 26,
Tag_ABI_HardFP_use = 27,
Tag_ABI_VFP_args = 28,
@@ -281,17 +281,28 @@ enum
Tag_undefined33 = 33,
Tag_CPU_unaligned_access = 34,
Tag_undefined35 = 35,
- Tag_VFP_HP_extension = 36,
+ Tag_FP_HP_extension = 36,
Tag_undefined37 = 37,
Tag_ABI_FP_16bit_format = 38,
Tag_undefined39 = 39,
+ Tag_undefined40 = 40,
+ Tag_undefined41 = 41,
+ Tag_MPextension_use = 42,
+ Tag_undefined43 = 43,
+ Tag_DIV_use = 44,
Tag_nodefaults = 64,
Tag_also_compatible_with = 65,
Tag_T2EE_use = 66,
Tag_conformance = 67,
Tag_Virtualization_use = 68,
Tag_undefined69 = 69,
- Tag_MPextension_use = 70
+ Tag_MPextension_use_legacy = 70,
+
+ // The following tags are legacy names for other tags.
+ Tag_VFP_arch = Tag_FP_arch,
+ Tag_ABI_align8_needed = Tag_ABI_align_needed,
+ Tag_ABI_align8_preserved = Tag_ABI_align_preserved,
+ Tag_VFP_HP_extension = Tag_FP_HP_extension
};
// Values for Tag_ABI_PCS_R9_use.