[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: missing __init_array_start, __init_array_end in __libc_csu_init



On Thu, Jun 21, 2007 at 01:23:05PM +0200, Michael Schmitz wrote:

> > Unfortunately, -pie is still a problem.
> 
> Looking back over the glibc build logs, it seems -pie never worked, at
> last not since 2005. The m68k sysdeps/elf/start.S does not have a separate
> #if SHARED section as seen in the hppa patch (and in the i386 start.S)
> - does this matter?
> 
> csu/elf-init.c says:
> 
> /* These magic symbols are provided by the linker.  */
> extern void (*__preinit_array_start []) (int, char **, char **)
>   attribute_hidden;
> extern void (*__preinit_array_end []) (int, char **, char **)
>   attribute_hidden;
> extern void (*__init_array_start []) (int, char **, char **)
>   attribute_hidden;
> extern void (*__init_array_end []) (int, char **, char **)
>   attribute_hidden;
> extern void (*__fini_array_start []) (void) attribute_hidden;
> extern void (*__fini_array_end []) (void) attribute_hidden;
> 
> so it would appear our binutils are to blame? Or gcc?

Got me. Maybe Roman knows?

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>

Attachment: signature.asc
Description: Digital signature


Reply to: