On 2015/3/10 12:54 AM, Chung-Lin Tang wrote: > It appears that some of the ways nios2 has organized the > ucontext/pt_regs/etc. are remnants of the pre-generic code, some > basically because the port was based off m68k. > > I've re-organized the headers a bit: nios2/include/asm/ucontext.h is > deleted, and re-definition of struct sigcontext now allows use of > uapi/asm-generic/ucontext.h directly. Note that the reorg, despite > effectively renaming some fields, is still binary compatible. I'll > probably update the corresponding glibc definitions later. > > struct pt_regs is now not exported, and all exported register sets are > now supposed to follow the 49 register set defined as in GDB now. > > Tobias, Ley Foon, how do you think this looks? Sorry, accidentally attached unrelated GCC patch instead, this one's the correct one. Chung-Lin