diff options
author | Doug Kwan <dougkwan@google.com> | 2009-12-06 02:49:46 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2009-12-06 02:49:46 +0000 |
commit | 05a352e6a76d399efe20435ac617f49327fdff29 (patch) | |
tree | d3c1762666ef735b7811c4f86b7dbc8bd5206b24 /gold/powerpc.cc | |
parent | f4e5969cc0a9a29070832a4439b3e22d9cd9621b (diff) | |
download | gdb-05a352e6a76d399efe20435ac617f49327fdff29.zip gdb-05a352e6a76d399efe20435ac617f49327fdff29.tar.gz gdb-05a352e6a76d399efe20435ac617f49327fdff29.tar.bz2 |
2009-12-05 Doug Kwan <dougkwan@google.com>
elfcpp/ChangeLog:
* arm.h: Define enums for Tag_CPU_arch EABI attribute.
gold/ChangeLog:
* arm.cc (Target_arm::arm_info): Initialize new fields
attributes_section and attributes_vendor.
* i386.cc (Target_i386::i386_info): Same.
* object.cc (Sized_relobj::do_layout): Skip attribute section.
* gold/powerpc.cc (Target_powerpc::powerpc_info): Initialize new
fields attributes_section and attributes_vendor.
* sparc.cc (Target_sparc::sparc_info): Same.
* target.h (Target::attributes_section, Target::attributes_vendor,
Target::is_attributes_section, Target::attribute_arg_type,
Target::attributes_order): New method definitions.
(Target::Target_info::attributes_section,
Target::Target_info::attributes_vendor): New fields.
(Target::do_attribute_arg_type, Target::do_attributes_order): New
virtual method definitions.
* x86_64.cc (Target_x86_64::x86_64_info): Initialize new fields
attributes_section and attributes_vendor.
* testsuite/testfile.cc (Target_test::test_target_info): Same.
Diffstat (limited to 'gold/powerpc.cc')
-rw-r--r-- | gold/powerpc.cc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 36b5790..bd5571c 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -342,7 +342,9 @@ Target::Target_info Target_powerpc<32, true>::powerpc_info = elfcpp::SHN_UNDEF, // small_common_shndx elfcpp::SHN_UNDEF, // large_common_shndx 0, // small_common_section_flags - 0 // large_common_section_flags + 0, // large_common_section_flags + NULL, // attributes_section + NULL // attributes_vendor }; template<> @@ -363,7 +365,9 @@ Target::Target_info Target_powerpc<32, false>::powerpc_info = elfcpp::SHN_UNDEF, // small_common_shndx elfcpp::SHN_UNDEF, // large_common_shndx 0, // small_common_section_flags - 0 // large_common_section_flags + 0, // large_common_section_flags + NULL, // attributes_section + NULL // attributes_vendor }; template<> @@ -384,7 +388,9 @@ Target::Target_info Target_powerpc<64, true>::powerpc_info = elfcpp::SHN_UNDEF, // small_common_shndx elfcpp::SHN_UNDEF, // large_common_shndx 0, // small_common_section_flags - 0 // large_common_section_flags + 0, // large_common_section_flags + NULL, // attributes_section + NULL // attributes_vendor }; template<> @@ -405,7 +411,9 @@ Target::Target_info Target_powerpc<64, false>::powerpc_info = elfcpp::SHN_UNDEF, // small_common_shndx elfcpp::SHN_UNDEF, // large_common_shndx 0, // small_common_section_flags - 0 // large_common_section_flags + 0, // large_common_section_flags + NULL, // attributes_section + NULL // attributes_vendor }; template<int size, bool big_endian> |