A DT_INIT/DT_FINI glibc patch.

H . J . Lu hjl@valinux.com
Thu Nov 16 10:45:00 GMT 2000


On Thu, Nov 16, 2000 at 10:15:10AM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
> 
> > My bfd patch is ok. Here is an updated glibc patch. It passed
> 
> I've applied the patch.  I see no reason why to carry on with the
> broken code.  If anybody wants to they have to undo the patch.
> 

Thanks.

While we are on this subject, I looked at the hppa code. It seems to
have the same bug. I have an impression that HP never really used
DT_INIT/DT_FINI. They use DT_INIT_ARRAY/DT_FINI_ARRAY. I don't know
if we should fix hppa also.

Also, ia64 and hppa share dl-fptr.c and dl-symaddr.c. Shouldn't we move
them from ia64 to generic? Later, we may want to use tree instead of
linked list for function descriptor allocation. We don't have to copy
the code around.


-- 
H.J. Lu (hjl@valinux.com)


More information about the Libc-alpha mailing list