]> code.ossystems Code Review - openembedded-core.git/commit
gcc-6.3.inc: Use ucontext_t not struct ucontext.
authorJuro Bystricky <juro.bystricky@intel.com>
Thu, 14 Sep 2017 23:18:08 +0000 (16:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Sep 2017 10:07:22 +0000 (11:07 +0100)
commitec1c18d866c137b1fa523d0fcc29f65a28f59f44
tree3144b757e5a39b8a78bb699c1a2256b21b9223fc
parent9c668f9ff989a34e615e2ecc051dadbfe24a5bb4
gcc-6.3.inc: Use ucontext_t not struct ucontext.

Use ucontext_t not struct ucontext in linux-unwind.h files.

Current glibc no longer gives the ucontext_t type the tag struct
ucontext, to conform with POSIX namespace rules.  This requires
various linux-unwind.h files in libgcc, that were previously using
struct ucontext, to be fixed to use ucontext_t instead.  This is
similar to the removal of the struct siginfo tag from siginfo_t some
years ago.

Backport of patches by Joseph Myers, taken from
https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=249957

[YOCTO #12083]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-6.3.inc
meta/recipes-devtools/gcc/gcc-6.3/0055-unwind_h-glibc26.patch [new file with mode: 0644]