From 4c513679224f32a45b52c21235dfce1d098549e1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 24 Apr 2003 17:18:42 +0000 Subject: [PATCH] * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function. * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be != --- ChangeLog | 6 +++++- elf/dl-reloc.c | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 46fbfbbd4a..95fdc51b1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-04-24 Roland McGrath + + * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function. + 2003-04-24 Jakub Jelinek * elf/dl-reloc.c (allocate_static_tls): Rename to... @@ -23,7 +27,7 @@ 2003-04-23 Ulrich Drepper - * nis/ypclnt.c (__yp_bind): Expect ypdb parameter to always we != + * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be != NULL. Remove code made redundant by this assumption. (__yp_unbind): Add call to free. Adjust all callers. diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c index e8e56c84e7..5d8dc0d6e1 100644 --- a/elf/dl-reloc.c +++ b/elf/dl-reloc.c @@ -41,7 +41,8 @@ the static TLS area already allocated for each running thread. If this object's TLS segment is too big to fit, we fail. If it fits, we set MAP->l_tls_offset and return. */ -void __attribute_noinline__ +void +internal_function __attribute_noinline__ _dl_allocate_static_tls (struct link_map *map) { size_t offset, used, check;