From: H.J. Lu Date: Sat, 7 May 2005 02:14:21 +0000 (+0000) Subject: 2005-05-06 H.J. Lu X-Git-Tag: msnyder-tracepoint-checkpoint-branchpoint~315 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c18bae34de482f2dc415694af45bd21f1a78715b;p=external%2Fbinutils.git 2005-05-06 H.J. Lu * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): Put back !link_info.relocatable. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 9118708..83fd86c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2005-05-06 H.J. Lu + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): + Put back !link_info.relocatable. + +2005-05-06 H.J. Lu + PR 878 * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): Just check link_info.executable. 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",