another .fini vs. .fini_array problem
Ulrich Drepper
drepper@redhat.com
Wed Nov 26 07:36:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Mosberger wrote:
> 2003-11-21 David Mosberger <davidm@hpl.hp.com>
>
> * elf/soinit.c (_fini): Put _fini() in .init_array section if
> HAVE_INITFINI_ARRAY is defined.
This patch isn't quite correct. You kept the function name as _fini
which caused DT_FINI and DT_FINI_ARRAY to be created. I.e., the
destructor got called twice. I've checked in a fixed version.
- --
â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/xFMK2ijCOnn/RHQRAhwTAKChSWjxjgBz0y3ZXe9V5lVCJtE0lQCgv14Z
SWAKm+/+BBbgK9UZ5GcOXZo=
=IYVE
-----END PGP SIGNATURE-----
More information about the Libc-hacker
mailing list