diff options
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r-- | ld/emultempl/elf32.em | 2 |
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", |