Support .preinit_array/.init_array/.fini_array in glibc
Ulrich Drepper
drepper@redhat.com
Fri Mar 15 18:55:00 GMT 2002
On Tue, 2002-03-12 at 21:56, H . J . Lu wrote:
> Here is an update. It won't try to run those new tests with the old
> binutils.
I've been putting off handling this patch since I think it's wrong.
ld.so must not assume non-standard symbols being present to work
correctly. The ELF spec has a documented way to access the init/fini
arrays and this way should be followed.
As a first step I've checked in a modified configure patch. It tests
whether the .init_array section is correctly allocated.
I'll look into the other required changes now.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020315/2d6a2d72/attachment.sig>
More information about the Libc-alpha
mailing list