This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.19-378-g55d4d55
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 9 May 2014 17:06:44 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-378-g55d4d55
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 55d4d550c8d77d42f968ac5a3f9be2dfcb05b620 (commit)
from 77d08acaadfb197cd03c56ac8f72baabeb305f25 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=55d4d550c8d77d42f968ac5a3f9be2dfcb05b620
commit 55d4d550c8d77d42f968ac5a3f9be2dfcb05b620
Author: Roland McGrath <roland@hack.frob.com>
Date: Fri May 9 10:05:29 2014 -0700
Silence a missing-noreturn warning for _Unwind_Resume.
diff --git a/ChangeLog b/ChangeLog
index 4510093..2da8ae1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-09 Roland McGrath <roland@hack.frob.com>
+
+ * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
+
2014-05-09 Joseph Myers <joseph@codesourcery.com>
[BZ #16064]
diff --git a/sysdeps/gnu/unwind-resume.c b/sysdeps/gnu/unwind-resume.c
index c7d6870..5044a71 100644
--- a/sysdeps/gnu/unwind-resume.c
+++ b/sysdeps/gnu/unwind-resume.c
@@ -21,7 +21,8 @@
#include <unwind.h>
#include <gnu/lib-names.h>
-static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
+static void (*libgcc_s_resume) (struct _Unwind_Exception *exc)
+ __attribute__ ((noreturn));
static _Unwind_Reason_Code (*libgcc_s_personality)
(int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *,
struct _Unwind_Context *);
@@ -37,7 +38,8 @@ init (void)
if (handle == NULL
|| (resume = __libc_dlsym (handle, "_Unwind_Resume")) == NULL
|| (personality = __libc_dlsym (handle, "__gcc_personality_v0")) == NULL)
- __libc_fatal (LIBGCC_S_SO " must be installed for pthread_cancel to work\n");
+ __libc_fatal (LIBGCC_S_SO
+ " must be installed for pthread_cancel to work\n");
libgcc_s_resume = resume;
libgcc_s_personality = personality;
@@ -48,7 +50,7 @@ _Unwind_Resume (struct _Unwind_Exception *exc)
{
if (__glibc_unlikely (libgcc_s_resume == NULL))
init ();
- libgcc_s_resume (exc);
+ (*libgcc_s_resume) (exc);
}
_Unwind_Reason_Code
@@ -59,6 +61,6 @@ __gcc_personality_v0 (int version, _Unwind_Action actions,
{
if (__glibc_unlikely (libgcc_s_personality == NULL))
init ();
- return libgcc_s_personality (version, actions, exception_class,
- ue_header, context);
+ return (*libgcc_s_personality) (version, actions, exception_class,
+ ue_header, context);
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
sysdeps/gnu/unwind-resume.c | 12 +++++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU C Library master sources