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.24-610-g811de1a
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 4 Jan 2017 18:12:37 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-610-g811de1a
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 811de1a68863f7903341288a113b8c0ac7aa9c0e (commit)
from f5ee5362bf8c50e5a85bf758f3f5d91f262a446f (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=811de1a68863f7903341288a113b8c0ac7aa9c0e
commit 811de1a68863f7903341288a113b8c0ac7aa9c0e
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Jan 4 18:12:14 2017 +0000
Fix MicroBlaze bits/setjmp.h for C++.
For MicroBlaze, setjmp/check-installed-headers-cxx fails with:
../setjmp/setjmp.h:34:8: error: '__jmp_buf_tag' has a field '__jmp_buf_tag::__jmpbuf' whose type depends on the type '<unnamed struct>' which has no linkage [-Werror=subobject-linkage]
This patch fixes this in the same way as for some other architectures:
the struct used for the internal __jmp_buf type is given the tag
__jmp_buf_internal_tag.
Tested (compilation tests) with build-many-glibcs.py.
* sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
__jmp_buf_internal_tag.
diff --git a/ChangeLog b/ChangeLog
index 0278dff..7ab73a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2017-01-04 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
+ __jmp_buf_internal_tag.
+
* sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
preserve NaN payload if [__mips_nan2008].
* sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
diff --git a/sysdeps/microblaze/bits/setjmp.h b/sysdeps/microblaze/bits/setjmp.h
index d54db9c..fd175da 100644
--- a/sysdeps/microblaze/bits/setjmp.h
+++ b/sysdeps/microblaze/bits/setjmp.h
@@ -25,7 +25,7 @@
# error "Never include <bits/setjmp.h> directly; use <setjmp.h> instead."
#endif
-typedef struct
+typedef struct __jmp_buf_internal_tag
{
/* There are 21 4-byte registers that should be saved:
r1, r2, r13-r31. Actually, there seems no need to save
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
sysdeps/microblaze/bits/setjmp.h | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources