2002-08-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Return
immediately if result == NULL.
* locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
+2002-08-19 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Return
+ immediately if result == NULL.
+
2002-08-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
2002-08-16 Jakub Jelinek <jakub@redhat.com>
- * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
+ * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
in change before last: MAX -> MIN.
2002-08-15 Roland McGrath <roland@redhat.com>
return result;
}
-INTDEF(_dl_allocate_tls)
+
void *
internal_function
struct dtv_slotinfo_list *listp;
size_t total = 0;
+ if (result == NULL)
+ /* The memory allocation failed. */
+ return NULL;
+
/* We have to look prepare the dtv for all currently loaded
modules using TLS. For those which are dynamically loaded we
add the values indicating deferred allocation. */
{
return _dl_allocate_tls_init (_dl_allocate_tls_storage ());
}
+INTDEF(_dl_allocate_tls)
+
void
internal_function