* parameters.cc (Parameters::entry): Return target-specific entry
    	symbol name.
    	* target.h (Target::entry_symbol_name): New function.
    	(Target_info::entry_symbol_name): New data member.

    	* arm.cc (Target_arm::arm_info): Add entry_symbol_name.
    	(Target_arm_nacl::arm_nacl_info): Likewise.
    	* i386.cc (Target_i386::i386_info): Likewise.
    	(Target_i386_nacl::i386_nacl_info): Likewise.
    	* powerpc.cc (Target_powerpc::powerpc_info): Likewise.
    	* sparc.cc (Target_sparc::sparc_info): Likewise.
    	* tilegx.cc (Target_tilegx::tilegx_info): Likewise.
    	* x86_64.cc: (Target_x86_64::x86_64_info) Likewise.
    	(Target_x86_64_nacl::x86_64_nacl_info) Likewise.
    	* testsuite/testfile.cc (Target_test::test_target_info): Likewise.
This commit is contained in:
Cary Coutant
2013-07-30 21:26:53 +00:00
parent 11b4b7cc1f
commit a67858e046
10 changed files with 62 additions and 23 deletions

View File

@@ -1219,7 +1219,8 @@ Target::Target_info Target_powerpc<32, true>::powerpc_info =
0, // small_common_section_flags
0, // large_common_section_flags
NULL, // attributes_section
NULL // attributes_vendor
NULL, // attributes_vendor
"_start" // entry_symbol_name
};
template<>
@@ -1245,7 +1246,8 @@ Target::Target_info Target_powerpc<32, false>::powerpc_info =
0, // small_common_section_flags
0, // large_common_section_flags
NULL, // attributes_section
NULL // attributes_vendor
NULL, // attributes_vendor
"_start" // entry_symbol_name
};
template<>
@@ -1271,7 +1273,8 @@ Target::Target_info Target_powerpc<64, true>::powerpc_info =
0, // small_common_section_flags
0, // large_common_section_flags
NULL, // attributes_section
NULL // attributes_vendor
NULL, // attributes_vendor
"_start" // entry_symbol_name
};
template<>
@@ -1297,7 +1300,8 @@ Target::Target_info Target_powerpc<64, false>::powerpc_info =
0, // small_common_section_flags
0, // large_common_section_flags
NULL, // attributes_section
NULL // attributes_vendor
NULL, // attributes_vendor
"_start" // entry_symbol_name
};
inline bool