[parisc-linux] Dynamic loader ignores DT_INIT_ARRAY and DT_FINI_ARRAY

John David Anglin dave@hiauly1.hia.nrc.ca
Thu, 26 Dec 2002 16:06:27 -0500 (EST)


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>.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)