aboutsummaryrefslogtreecommitdiff
path: root/gold/tilegx.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2013-07-30 21:26:53 +0000
committerCary Coutant <ccoutant@google.com>2013-07-30 21:26:53 +0000
commita67858e0463977eb1e9aa65ccc55deab011335d5 (patch)
tree1c45473982f82097c04a2728b7a53414d19b96f2 /gold/tilegx.cc
parent11b4b7cc1fdcc85aeeb79d7bb1cac64542404cd5 (diff)
downloadgdb-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/tilegx.cc')
-rw-r--r--gold/tilegx.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/gold/tilegx.cc b/gold/tilegx.cc
index ab97640..c3918b9 100644
--- a/gold/tilegx.cc
+++ b/gold/tilegx.cc
@@ -681,7 +681,8 @@ const Target::Target_info Target_tilegx<64, false>::tilegx_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<>
@@ -707,7 +708,8 @@ const Target::Target_info Target_tilegx<32, false>::tilegx_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<>
@@ -733,7 +735,8 @@ const Target::Target_info Target_tilegx<64, true>::tilegx_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<>
@@ -759,7 +762,8 @@ const Target::Target_info Target_tilegx<32, true>::tilegx_info =
0, // small_common_section_flags
0, // large_common_section_flags
NULL, // attributes_section
- NULL // attributes_vendor
+ NULL, // attributes_vendor
+ "_start" // entry_symbol_name
};
// tilegx relocation handlers