gcc/libgcc/config/xtensa
Max Filippov 991995c4e7 xtensa: fix _Unwind_GetCFA
Returning context->cfa in _Unwind_GetCFA makes CFA point one stack frame
higher than what was actually used by code at context->ra. This results
in invalid CFA value in signal frames and premature unwinding completion
in forced unwinding used by uClibc NPTL thread cancellation.
Returning context->sp from _Unwind_GetCFA makes all CFA values valid and
matching code that used them.

2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
libgcc/
	* config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
	context->sp instead of context->cfa.

From-SVN: r226964
2015-08-18 01:08:22 +00:00
..
crti.S
crtn.S
ieee754-df.S
ieee754-sf.S
lib1funcs.S
lib2funcs.S xtensa: reimplement register spilling 2015-08-18 01:05:44 +00:00
libgcc-glibc.ver
linux-unwind.h
t-elf
t-linux
t-windowed xtensa: use unwind-dw2-fde-dip instead of unwind-dw2-fde 2015-08-18 01:07:10 +00:00
t-xtensa
unwind-dw2-xtensa.c xtensa: fix _Unwind_GetCFA 2015-08-18 01:08:22 +00:00
unwind-dw2-xtensa.h