unwind failures due to __pthread_initialize_minimal

Ulrich Drepper drepper@redhat.com
Thu Nov 20 04:01:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Mosberger wrote:

> Ah, in fact there is already an ia64-specific version.  I missed it at
> first.  Turns out the problem really was worse: not only was it using
> .init, but the unwind directives for both _init and _fini were
> missing!  With the proper unwind info for _init and _fini, the old
> code was lucky enough to work fine, but I still think it's better to
> switch to .init_array both for cleanliness and consistency reasons.
> LinuxThreads had the same problem.  Patch to fix both is attached.

Mostly OK.  But there still is a .init section and a DT_INIT entry.  The
later must go.  I tried to simply remove the code for the .init section
but this causes some tests to fail.

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/vCYh2ijCOnn/RHQRAi6bAJ9WwaTAGxJiqiio3+/W6sPIvv5cIgCeNVy6
lwmB3p/+lDBOSJVsPDCuSk4=
=NY5F
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list