gcc/libgcc
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
..
config xtensa: fix _Unwind_GetCFA 2015-08-18 01:08:22 +00:00
soft-fp Update soft-fp from glibc. 2014-10-09 19:21:30 +01:00
ChangeLog xtensa: fix _Unwind_GetCFA 2015-08-18 01:08:22 +00:00
Makefile.in Add --enable-default-pie option to GCC configure 2015-05-27 19:36:55 -07:00
config.host IA MCU psABI support: changes to libraries 2015-06-30 09:42:07 -07:00
config.in sjlj.m4: New file. 2015-05-13 21:15:31 +00:00
configure IA MCU psABI support: changes to libraries 2015-06-30 09:42:07 -07:00
configure.ac sjlj.m4: New file. 2015-05-13 21:15:31 +00:00
crtstuff.c Update copyright years. 2015-01-05 13:33:28 +01:00
dfp-bit.c Update copyright years. 2015-01-05 13:33:28 +01:00
dfp-bit.h Update copyright years. 2015-01-05 13:33:28 +01:00
divmod.c Update copyright years. 2015-01-05 13:33:28 +01:00
empty.mk
emutls.c Update copyright years. 2015-01-05 13:33:28 +01:00
enable-execute-stack-empty.c enable-execute-stack-empty.c (__enable_execute_stack): Add prototype. 2011-06-22 13:20:07 +02:00
enable-execute-stack-mprotect.c Update copyright years. 2015-01-05 13:33:28 +01:00
find-symver.awk Update copyright years. 2015-01-05 13:33:28 +01:00
fixed-bit.c Update copyright years. 2015-01-05 13:33:28 +01:00
fixed-bit.h Update copyright years. 2015-01-05 13:33:28 +01:00
fixed-obj.mk Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out LIB2FUNCS_EXCLUDE before adding them to libgcc-objects, libgcc-s-objects. 2012-08-23 15:41:03 +00:00
floatunsidf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsisf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsitf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsixf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
fp-bit.c Update copyright years. 2015-01-05 13:33:28 +01:00
fp-bit.h Update copyright years. 2015-01-05 13:33:28 +01:00
gbl-ctors.h Update copyright years. 2015-01-05 13:33:28 +01:00
gen-fixed.sh fixed-obj.mk: New file to support fine-grain fixed-point functions. 2007-09-17 22:18:13 +00:00
generic-morestack-thread.c Update copyright years. 2015-01-05 13:33:28 +01:00
generic-morestack.c rs6000-common.c (TARGET_SUPPORTS_SPLIT_STACK): Define. 2015-05-20 10:56:28 +09:30
generic-morestack.h Update copyright years. 2015-01-05 13:33:28 +01:00
gstdint.h dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined. 2008-06-11 00:43:09 +01:00
gthr-posix.h Update copyright years. 2015-01-05 13:33:28 +01:00
gthr-single.h gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty do-while loop as macro body to avoid warnings. 2015-04-15 09:29:12 -06:00
gthr.h Update copyright years. 2015-01-05 13:33:28 +01:00
libgcc-std.ver.in Update copyright years. 2015-01-05 13:33:28 +01:00
libgcc2.c Update copyright years. 2015-01-05 13:33:28 +01:00
libgcc2.h Update copyright years. 2015-01-05 13:33:28 +01:00
libgcov-driver-system.c re PR gcov-profile/61889 (gcov-tool.c uses nftw, ftw.h) 2015-02-10 15:13:13 +01:00
libgcov-driver.c Update copyright years. 2015-01-05 13:33:28 +01:00
libgcov-interface.c Update copyright years. 2015-01-05 13:33:28 +01:00
libgcov-merge.c Update copyright years. 2015-01-05 13:33:28 +01:00
libgcov-profiler.c Update copyright years. 2015-01-05 13:33:28 +01:00
libgcov-util.c libgcov-util.c: Add space between string literal and macro name. 2015-05-12 16:40:49 +02:00
libgcov.h Update copyright years. 2015-01-05 13:33:28 +01:00
memcmp.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memcpy.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memmove.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memset.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
mkheader.sh Update copyright years. 2015-01-05 13:33:28 +01:00
mkmap-flat.awk Update copyright years. 2015-01-05 13:33:28 +01:00
mkmap-symver.awk Update copyright years. 2015-01-05 13:33:28 +01:00
offloadstuff.c mkoffload.c (process): Constify host data. 2015-07-17 17:12:01 +00:00
shared-object.mk Add the nvptx port. 2014-11-10 16:12:42 +00:00
siditi-object.mk Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
static-object.mk Add the nvptx port. 2014-11-10 16:12:42 +00:00
sync.c Update copyright years. 2015-01-05 13:33:28 +01:00
udivmod.c Update copyright years. 2015-01-05 13:33:28 +01:00
udivmodsi4.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-arm-common.inc Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-c.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-compat.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-compat.h Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-dw2-fde-compat.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-dw2-fde-dip.c unwind fix for musl 2015-04-22 14:20:01 +00:00
unwind-dw2-fde.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-dw2-fde.h unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of "(char *)" to avoid qualifier warning by 'xgcc'... 2015-01-22 09:22:31 -07:00
unwind-dw2.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-dw2.h Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-generic.h Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-pe.h Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-seh.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind-sjlj.c Update copyright years. 2015-01-05 13:33:28 +01:00
unwind.inc Update copyright years. 2015-01-05 13:33:28 +01:00
vtv_end.c Update copyright years. 2015-01-05 13:33:28 +01:00
vtv_end_preinit.c Update copyright years. 2015-01-05 13:33:28 +01:00
vtv_start.c Update copyright years. 2015-01-05 13:33:28 +01:00
vtv_start_preinit.c Update copyright years. 2015-01-05 13:33:28 +01:00