This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: another .fini vs. .fini_array problem


-----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-----


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