[patch] init_array/fini_array support

Joseph S. Myers joseph at codesourcery.com
Tue Jan 31 00:21:28 UTC 2006


On Mon, 30 Jan 2006, Peter S. Mazinger wrote:

> Would it be possible to add __libc_csu_init/fini to libc.so, or is it too 
> late/early? Is there a specific reason to have it in nonshared.a 
> (we don't have to mimic glibc for this) ? Does each binary have to have 
> it's own copy of it?

The linker defines the symbols such as __init_array_start as hidden 
symbols in the executable, so I don't think using them from libc.so will 
work.

-- 
Joseph S. Myers
joseph at codesourcery.com



More information about the uClibc mailing list