Fix MicroBlaze bits/setjmp.h for C++.
commit811de1a68863f7903341288a113b8c0ac7aa9c0e
authorJoseph Myers <joseph@codesourcery.com>
Wed, 4 Jan 2017 18:12:14 +0000 (4 18:12 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 4 Jan 2017 18:12:14 +0000 (4 18:12 +0000)
tree406b27767ac412239ab849c8a7f6f8849724db04
parentf5ee5362bf8c50e5a85bf758f3f5d91f262a446f
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.
ChangeLog
sysdeps/microblaze/bits/setjmp.h