mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-23 09:13:28 +08:00
2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): Put back !link_info.relocatable.
This commit is contained in:
parent
0093138c53
commit
c18bae34de
@ -1,3 +1,8 @@
|
||||
2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
|
||||
Put back !link_info.relocatable.
|
||||
|
||||
2005-05-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR 878
|
||||
|
@ -1475,7 +1475,7 @@ gld${EMULATION_NAME}_provide_bound_symbols (const char *sec,
|
||||
static void
|
||||
gld${EMULATION_NAME}_provide_init_fini_syms (void)
|
||||
{
|
||||
if (link_info.executable)
|
||||
if (!link_info.relocatable && link_info.executable)
|
||||
{
|
||||
gld${EMULATION_NAME}_provide_bound_symbols (".preinit_array",
|
||||
"__preinit_array_start",
|
||||
|
Loading…
Reference in New Issue
Block a user