diff options
author | Cary Coutant <ccoutant@google.com> | 2013-07-30 21:26:53 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2013-07-30 21:26:53 +0000 |
commit | a67858e0463977eb1e9aa65ccc55deab011335d5 (patch) | |
tree | 1c45473982f82097c04a2728b7a53414d19b96f2 /gold/x86_64.cc | |
parent | 11b4b7cc1fdcc85aeeb79d7bb1cac64542404cd5 (diff) | |
download | gdb-a67858e0463977eb1e9aa65ccc55deab011335d5.zip gdb-a67858e0463977eb1e9aa65ccc55deab011335d5.tar.gz gdb-a67858e0463977eb1e9aa65ccc55deab011335d5.tar.bz2 |
gold/
* 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.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r-- | gold/x86_64.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 8f773bd..4f4d612 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -1007,7 +1007,8 @@ const Target::Target_info Target_x86_64<64>::x86_64_info = 0, // small_common_section_flags elfcpp::SHF_X86_64_LARGE, // large_common_section_flags NULL, // attributes_section - NULL // attributes_vendor + NULL, // attributes_vendor + "_start" // entry_symbol_name }; template<> @@ -1033,7 +1034,8 @@ const Target::Target_info Target_x86_64<32>::x86_64_info = 0, // small_common_section_flags elfcpp::SHF_X86_64_LARGE, // large_common_section_flags NULL, // attributes_section - NULL // attributes_vendor + NULL, // attributes_vendor + "_start" // entry_symbol_name }; // This is called when a new output section is created. This is where @@ -4597,7 +4599,8 @@ const Target::Target_info Target_x86_64_nacl<64>::x86_64_nacl_info = 0, // small_common_section_flags elfcpp::SHF_X86_64_LARGE, // large_common_section_flags NULL, // attributes_section - NULL // attributes_vendor + NULL, // attributes_vendor + "_start" // entry_symbol_name }; template<> @@ -4623,7 +4626,8 @@ const Target::Target_info Target_x86_64_nacl<32>::x86_64_nacl_info = 0, // small_common_section_flags elfcpp::SHF_X86_64_LARGE, // large_common_section_flags NULL, // attributes_section - NULL // attributes_vendor + NULL, // attributes_vendor + "_start" // entry_symbol_name }; #define NACLMASK 0xe0 // 32-byte alignment mask. |