diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-12-20 10:59:21 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-12-20 10:59:21 +0000 |
commit | 20a911071d1cfaf7d20d088efe9ede27c5809c09 (patch) | |
tree | fcf38eb33fbc3519432eee7241b36dfdbe3dca74 /ChangeLog | |
parent | 24a640bf2a13a96aa3b582c13c767effcd946dbf (diff) |
* malloc/mtrace.c (__libc_malloc, __libc_free, __libc_realloc,cvs/fedora-glibc-2_3_90-20
__libc_memalign): Add prototypes and libc_hidden_proto resp.
defines for !_LIBC.
(tr_freehook): Call __libc_free instead of free.
(tr_mallochook): Call __libc_malloc instead of malloc.
(tr_reallochook): Call __libc_realloc instead of realloc.
(tr_memalignhook): Call __libc_memalign instead of memalign.
* malloc/mcheck.c: Include stdlib.h.
(__libc_malloc, __libc_free, __libc_realloc,
__libc_memalign): Add prototypes and libc_hidden_proto resp.
defines for !_LIBC.
(freehook): Call __libc_free instead of free.
(mallochook): Call __libc_malloc instead of malloc.
(reallochook): Call __libc_realloc instead of realloc.
(memalignhook): Call __libc_memalign instead of memalign.
(mcheck): Call __libc_malloc and __libc_free instead of
malloc and free.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,5 +1,23 @@ 2005-12-20 Jakub Jelinek <jakub@redhat.com> + * malloc/mtrace.c (__libc_malloc, __libc_free, __libc_realloc, + __libc_memalign): Add prototypes and libc_hidden_proto resp. + defines for !_LIBC. + (tr_freehook): Call __libc_free instead of free. + (tr_mallochook): Call __libc_malloc instead of malloc. + (tr_reallochook): Call __libc_realloc instead of realloc. + (tr_memalignhook): Call __libc_memalign instead of memalign. + * malloc/mcheck.c: Include stdlib.h. + (__libc_malloc, __libc_free, __libc_realloc, + __libc_memalign): Add prototypes and libc_hidden_proto resp. + defines for !_LIBC. + (freehook): Call __libc_free instead of free. + (mallochook): Call __libc_malloc instead of malloc. + (reallochook): Call __libc_realloc instead of realloc. + (memalignhook): Call __libc_memalign instead of memalign. + (mcheck): Call __libc_malloc and __libc_free instead of + malloc and free. + Workaround for http://gcc.gnu.org/PR25240 * include/libc-symbols.h (weak_extern): Define using weak attribute. (_weak_extern): Remove. |