glibc/debug
Adhemerval Zanella 6e05978f0c mips: Fix bracktrace result for signal frames
MIPS fallback code handle a frame where its FDE can not be obtained
(for instance a signal frame) by reading the kernel allocated signal frame
and adding '2' to the value of 'sc_pc' [1].  The added value is used to
recognize an end of an EH region on mips16 [2].

The fix adjust the obtained signal frame value and remove the libgcc added
value by checking if the previous frame is a signal frame one.

Checked with backtrace and tst-sigcontext-get_pc tests on mips-linux-gnu
and mips64-linux-gnu.

[1] libgcc/config/mips/linux-unwind.h from gcc code.
[2] gcc/config/mips/mips.h from gcc code.  */
2020-02-18 10:39:03 -03:00
..
asprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
backtrace-tst.c
backtrace.c mips: Fix bracktrace result for signal frames 2020-02-18 10:39:03 -03:00
backtracesyms.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
backtracesymsfd.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
catchsegv.sh Update copyright dates not handled by scripts/update-copyrights. 2020-01-01 00:21:22 +00:00
chk_fail.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
confstr_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Depend
dprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
execinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
explicit_bzero_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fdelt_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fgets_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fgets_u_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fgetws_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fgetws_u_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fortify_fail.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fread_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fread_u_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fwprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getcwd_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getdomainname_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getgroups_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gethostname_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gets_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getwd_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
longjmp_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile debug: Add missing locale dependencies of fortify tests 2020-02-11 08:38:37 +01:00
mbsnrtowcs_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mbsrtowcs_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mbstowcs_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memmove_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mempcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memset_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
noophooks.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
obprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pcprofile.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pcprofiledump.c Update copyright dates not handled by scripts/update-copyrights. 2020-01-01 00:21:22 +00:00
poll_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ppoll_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pread64_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pread_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
printf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
read_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readlink_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readlinkat_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readonly-area.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
realpath_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
recv_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
recvfrom_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
segfault.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
snprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stack_chk_fail_local.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stack_chk_fail.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpncpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcat_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncat_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
swprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-stpcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
test-strcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-backtrace2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-backtrace3.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-backtrace4.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-backtrace5.c Fix array overflow in backtrace on PowerPC (bug 25423) 2020-01-21 15:26:57 +01:00
tst-backtrace6.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-backtrace.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-chk1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-chk2.c
tst-chk3.c
tst-chk4.cc
tst-chk5.cc
tst-chk6.cc
tst-lfschk1.c
tst-lfschk2.c
tst-lfschk3.c
tst-lfschk4.cc
tst-lfschk5.cc
tst-lfschk6.cc
tst-longjmp_chk2.c test-skeleton.c: Add write_message function 2016-06-23 11:00:36 +02:00
tst-longjmp_chk3.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-longjmp_chk.c
tst-ssp-1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ttyname_r_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vasprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vdprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions New string function explicit_bzero (from OpenBSD). 2016-12-16 16:21:54 -05:00
vfprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vfwprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vobprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vsnprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vsprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vswprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
vwprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
warning-nop.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcpcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcpncpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcrtomb_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcscat_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcscpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcsncat_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcsncpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcsnrtombs_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcsrtombs_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wcstombs_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wctomb_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wmemcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wmemmove_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wmempcpy_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wmemset_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wprintf_chk.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
xtrace.sh Update copyright dates not handled by scripts/update-copyrights. 2020-01-01 00:21:22 +00:00