From 05a352e6a76d399efe20435ac617f49327fdff29 Mon Sep 17 00:00:00 2001 From: Doug Kwan Date: Sun, 6 Dec 2009 02:49:46 +0000 Subject: 2009-12-05 Doug Kwan 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. --- gold/testsuite/testfile.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gold/testsuite') diff --git a/gold/testsuite/testfile.cc b/gold/testsuite/testfile.cc index 88e5b81..7f53792 100644 --- a/gold/testsuite/testfile.cc +++ b/gold/testsuite/testfile.cc @@ -101,7 +101,9 @@ const Target::Target_info Target_test::test_target_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 }; // The test targets. -- cgit v1.1