This is the mail archive of the
mailing list for the glibc project.
Re: A DT_INIT/DT_FINI glibc patch.
- To: Ulrich Drepper <drepper at redhat dot com>
- Subject: Re: A DT_INIT/DT_FINI glibc patch.
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Thu, 16 Nov 2000 10:45:37 -0800
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>,alan at linuxcare dot com dot au
On Thu, Nov 16, 2000 at 10:15:10AM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <email@example.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.
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 (firstname.lastname@example.org)