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 Fri, Mar 15, 2002 at 06:54:58PM -0800, Ulrich Drepper wrote:
> 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.

The ELF spec doesn't cover static binaries. I don't know how you can
access those arrays easily without some special symbols from ld.


H.J.


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