aboutsummaryrefslogtreecommitdiff
path: root/gold/i386.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/i386.cc
parent11b4b7cc1fdcc85aeeb79d7bb1cac64542404cd5 (diff)
downloadfsf-binutils-gdb-a67858e0463977eb1e9aa65ccc55deab011335d5.zip
fsf-binutils-gdb-a67858e0463977eb1e9aa65ccc55deab011335d5.tar.gz
fsf-binutils-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/i386.cc')
-rw-r--r--gold/i386.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/gold/i386.cc b/gold/i386.cc
index 59ec885..b2279e7 100644
--- a/gold/i386.cc
+++ b/gold/i386.cc
@@ -857,7 +857,8 @@ const Target::Target_info Target_i386::i386_info =
0, // small_common_section_flags
0, // large_common_section_flags
NULL, // attributes_section
- NULL // attributes_vendor
+ NULL, // attributes_vendor
+ "_start" // entry_symbol_name
};
// Get the GOT section, creating it if necessary.
@@ -3964,7 +3965,8 @@ const Target::Target_info Target_i386_nacl::i386_nacl_info =
0, // small_common_section_flags
0, // large_common_section_flags
NULL, // attributes_section
- NULL // attributes_vendor
+ NULL, // attributes_vendor
+ "_start" // entry_symbol_name
};
#define NACLMASK 0xe0 // 32-byte alignment mask