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/parameters.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/parameters.cc')
-rw-r--r-- | gold/parameters.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc index 2781990..7410e7f 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -238,10 +238,7 @@ Parameters::entry() const { const char* ret = this->options().entry(); if (ret == NULL) - { - // FIXME: Need to support target specific entry symbol. - ret = "_start"; - } + ret = parameters->target().entry_symbol_name(); return ret; } |