From 0eb18281696aa6c39d906cba552ce5438134b4e7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 14 Mar 2003 22:04:21 +0000 Subject: Update. 2003-03-14 Ulrich Drepper * localedata/mn_MN: New file. Contributed by Sanlig Badral . --- localedata/ChangeLog | 5 +++++ nptl/ChangeLog | 2 ++ nptl/pthread_create.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 59905a6..8016801 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +2003-03-14 Ulrich Drepper + + * localedata/mn_MN: New file. + Contributed by Sanlig Badral . + 2003-01-30 Ulrich Drepper * Makefile (LOCALES): Add vi_VN.TCVN5712-1. diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 27a30b1..6e4ea82 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,7 @@ 2003-03-14 Ulrich Drepper + * pthread_create.c (start_thread): setjmp is expected to return 0. + * sysdeps/x86_64/tls.h (THREAD_GETMEM): Mark asms volatile. (THREAD_GETMEM_NC): Likewise. diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 519d0c6..0eb7dc7 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -221,7 +221,7 @@ start_thread (void *arg) /* This is where the try/finally block should be created. For compilers without that support we do use setjmp. */ - if (setjmp (pd->cancelbuf) == 0) + if (__builtin_expect (setjmp (pd->cancelbuf) == 0, 1)) { /* Run the code the user provided. */ THREAD_SETMEM (pd, result, pd->start_routine (pd->arg)); -- cgit v1.1