2010-05-12 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Thu, 13 May 2010 02:41:15 +0000 (02:41 +0000)
committerDoug Kwan <dougkwan@google.com>
Thu, 13 May 2010 02:41:15 +0000 (02:41 +0000)
commitda59ad79a2bab290cca29440b8b1d7981aa2b983
tree69474e22226b02e09ee1e7fbb6bb4a7ff3227ac5
parent235f101c07d43aac6a5fcc167680ea691c9ee92a
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.
elfcpp/ChangeLog
elfcpp/arm.h
gold/ChangeLog
gold/arm.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/arm_attr_merge.sh [new file with mode: 0755]
gold/testsuite/arm_attr_merge_6a.s [new file with mode: 0644]
gold/testsuite/arm_attr_merge_6b.s [new file with mode: 0644]
gold/testsuite/arm_attr_merge_7a.s [new file with mode: 0644]
gold/testsuite/arm_attr_merge_7b.s [new file with mode: 0644]