Don't use INTDEF/INTUSE with __cxa_atexit (bug 14132).
commitcb8312455b85a4a6c998b4c4a892c28b74cc3c4d
authorJoseph Myers <joseph@codesourcery.com>
Thu, 9 Oct 2014 11:22:33 +0000 (9 11:22 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 9 Oct 2014 11:22:33 +0000 (9 11:22 +0000)
treec82e28896478cd7417c79617b93389483645d369
parent5deeb190146967ac05828b1fa6821182668356aa
Don't use INTDEF/INTUSE with __cxa_atexit (bug 14132).

This patch removes use of the obsolete INTDEF/INTUSE mechanism for
__cxa_atexit, replacing it with libc_hidden_def/libc_hidden_proto.

Tested for x86_64 that installed stripped shared libraries are
unchanged by the patch.

[BZ #14132]
* stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
of INTDEF.
* include/stdlib.h (__cxa_atexit_internal): Remove declaration.
(__cxa_atexit): Use libc_hidden_proto.
[!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
ChangeLog
include/stdlib.h
stdlib/cxa_atexit.c