This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support .preinit_array/.init_array/.fini_array in glibc


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

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]