[parisc-linux] Dynamic loader ignores DT_INIT_ARRAY and DT_FINI_ARRAY

Carlos O'Donell carlos@baldric.uwo.ca
Thu, 26 Dec 2002 18:05:03 -0500


> Experimenting with initializers and finalizers, I find that the dynamic
> loader doesn't run initializers in .init_array.  The linker sets up
> DT_INIT_ARRAY to point to the list of initilizers .init_array but they
> don't get run.  This appears to be a violation of the generic System V
> ABI for ELF <http://www.caldera.com/developers/gabi/latest/contents.html>.

Do you have a quick snip of code that shows this? I'm looking through
the glibc ld bits to determine where the mistake might reside.

I'm also building latest toolchain :)

c.