From 38a7d8baf498dd46f81ff49ea28eb3b3b7775544 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 3 May 2002 07:39:22 +0000 Subject: Update. 2002-05-02 Jakub Jelinek * sysdeps/ia64/Makefile: Add ia64libgcc in csu subdir. * sysdeps/ia64/Versions (__divtf3, __divdf3, __divsf3, __divdi3, __moddi3, __udivdi3, __umoddi3, __multi3): Export at GLIBC_2.0. * sysdeps/ia64/ia64libgcc.S: New file. 2002-05-02 Ulrich Drepper * sysdeps/generic/dl-tls.c (oom): Implement using _dl_fatal_printf. * malloc/memusage.c: Distinguish anonymous mmap. --- sysdeps/generic/dl-tls.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'sysdeps/generic/dl-tls.c') diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c index 8d98786fd5..0d6fcec0e5 100644 --- a/sysdeps/generic/dl-tls.c +++ b/sysdeps/generic/dl-tls.c @@ -23,7 +23,6 @@ #include #include -#include #include /* We don't need any of this if TLS is not supported. */ @@ -42,21 +41,7 @@ static void __attribute__ ((__noreturn__)) oom (void) { - static const char msg[] = "\ -cannot allocate memory for thread-local data: ABORT\n"; - - __libc_write (STDERR_FILENO, msg, sizeof (msg) - 1); - - /* Kill ourself. */ - __kill (__getpid (), SIGKILL); - - /* Just in case something goes wrong with the kill. */ - while (1) - { -# ifdef ABORT_INSTRUCTION - ABORT_INSTRUCTION; -# endif - } + _dl_fatal_printf ("cannot allocate memory for thread-local data: ABORT\n"); } # endif -- cgit v1.2.3