aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-05 11:12:46 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-05 11:12:46 +0000
commitaa420660e08be0da12f473293db8f57e1bcdcc8d (patch)
treebd33645dfcdddf9ee8041d990f5f125ac697fd34
parent58845a7030dfca1812db98099cd7954c7449bac2 (diff)
downloadglibc-aa420660e08be0da12f473293db8f57e1bcdcc8d.tar
glibc-aa420660e08be0da12f473293db8f57e1bcdcc8d.tar.gz
glibc-aa420660e08be0da12f473293db8f57e1bcdcc8d.tar.bz2
glibc-aa420660e08be0da12f473293db8f57e1bcdcc8d.zip
Update.
* malloc/malloc.c: Don't call exported interface in the implementation.
-rw-r--r--ChangeLog2
-rw-r--r--malloc/malloc.c29
-rw-r--r--nptl/ChangeLog4
3 files changed, 32 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2dba203347..6c11f1e8bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2004-03-05 Ulrich Drepper <drepper@redhat.com>
+ * malloc/malloc.c: Don't call exported interface in the implementation.
+
* include/wctype.h: Add libc_hidden_proto for __towctrans.
* wctype/towctrans.c: Add libc_hidden_def.
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 4e959d20a2..48392623e5 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1,5 +1,5 @@
/* Malloc implementation for multiple threads without lock contention.
- Copyright (C) 1996-2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1996-2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Wolfram Gloger <wg@malloc.de>
and Doug Lea <dl@cs.oswego.edu>, 2001.
@@ -828,6 +828,9 @@ Void_t* public_mALLOc(size_t);
#else
Void_t* public_mALLOc();
#endif
+#ifdef libc_hidden_proto
+libc_hidden_proto (public_mALLOc)
+#endif
/*
free(Void_t* p)
@@ -845,6 +848,9 @@ void public_fREe(Void_t*);
#else
void public_fREe();
#endif
+#ifdef libc_hidden_proto
+libc_hidden_proto (public_fREe)
+#endif
/*
calloc(size_t n_elements, size_t element_size);
@@ -889,6 +895,9 @@ Void_t* public_rEALLOc(Void_t*, size_t);
#else
Void_t* public_rEALLOc();
#endif
+#ifdef libc_hidden_proto
+libc_hidden_proto (public_rEALLOc)
+#endif
/*
memalign(size_t alignment, size_t n);
@@ -907,6 +916,9 @@ Void_t* public_mEMALIGn(size_t, size_t);
#else
Void_t* public_mEMALIGn();
#endif
+#ifdef libc_hidden_proto
+libc_hidden_proto (public_mEMALIGn)
+#endif
/*
valloc(size_t n);
@@ -3318,6 +3330,9 @@ public_mALLOc(size_t bytes)
ar_ptr == arena_for_chunk(mem2chunk(victim)));
return victim;
}
+#ifdef libc_hidden_def
+libc_hidden_def(public_mALLOc)
+#endif
void
public_fREe(Void_t* mem)
@@ -3359,6 +3374,9 @@ public_fREe(Void_t* mem)
_int_free(ar_ptr, mem);
(void)mutex_unlock(&ar_ptr->mutex);
}
+#ifdef libc_hidden_def
+libc_hidden_def (public_fREe)
+#endif
Void_t*
public_rEALLOc(Void_t* oldmem, size_t bytes)
@@ -3433,6 +3451,9 @@ public_rEALLOc(Void_t* oldmem, size_t bytes)
ar_ptr == arena_for_chunk(mem2chunk(newp)));
return newp;
}
+#ifdef libc_hidden_def
+libc_hidden_def (public_rEALLOc)
+#endif
Void_t*
public_mEMALIGn(size_t alignment, size_t bytes)
@@ -3478,7 +3499,9 @@ public_mEMALIGn(size_t alignment, size_t bytes)
ar_ptr == arena_for_chunk(mem2chunk(p)));
return p;
}
-strong_alias (public_mEMALIGn, __memalign_internal)
+#ifdef libc_hidden_def
+libc_hidden_def (public_mEMALIGn)
+#endif
Void_t*
public_vALLOc(size_t bytes)
@@ -5403,7 +5426,7 @@ __posix_memalign (void **memptr, size_t alignment, size_t size)
if (hook != NULL)
mem = (*hook)(alignment, size, RETURN_ADDRESS (0));
else
- mem = __memalign_internal (alignment, size);
+ mem = public_mEMALIGn (alignment, size);
if (mem != NULL) {
*memptr = mem;
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 146c5c36c0..dcb26a5a6e 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-05 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/i386/tls.h: Use GLRO instead of GL where appropriate.
+
2004-03-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S