aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-05-07 02:14:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-05-07 02:14:21 +0000
commitc18bae34de482f2dc415694af45bd21f1a78715b (patch)
treeb5c35084cbff1dadc04f1c858066a82f56b620bd /ld/emultempl
parent0093138c538288acd259b6aecdee91b6405ba5c4 (diff)
downloadgdb-c18bae34de482f2dc415694af45bd21f1a78715b.zip
gdb-c18bae34de482f2dc415694af45bd21f1a78715b.tar.gz
gdb-c18bae34de482f2dc415694af45bd21f1a78715b.tar.bz2
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.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/elf32.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 474efb6..69b5c26 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -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",