aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.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/arm.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/arm.cc')
-rw-r--r--gold/arm.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index c980c6b..ddf928b 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -2952,7 +2952,8 @@ const Target::Target_info Target_arm<big_endian>::arm_info =
0, // small_common_section_flags
0, // large_common_section_flags
".ARM.attributes", // attributes_section
- "aeabi" // attributes_vendor
+ "aeabi", // attributes_vendor
+ "_start" // entry_symbol_name
};
// Arm relocate functions class
@@ -12216,7 +12217,8 @@ const Target::Target_info Target_arm_nacl<big_endian>::arm_nacl_info =
0, // small_common_section_flags
0, // large_common_section_flags
".ARM.attributes", // attributes_section
- "aeabi" // attributes_vendor
+ "aeabi", // attributes_vendor
+ "_start" // entry_symbol_name
};
template<bool big_endian>