glibc/sysdeps/unix/sysv/linux/mips
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
..
bits Use gcc -finput-charset=ascii for check-installed-headers. 2020-02-13 17:32:00 +01:00
mips32 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
mips64 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
sys 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
_test_and_set.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
brk.c linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
clone.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
configure mips: Force RWX stack for hard-float builds that can run on pre-4.8 kernels 2019-08-23 16:38:04 +00:00
configure.ac mips: Force RWX stack for hard-float builds that can run on pre-4.8 kernels 2019-08-23 16:38:04 +00:00
dl-cache.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dl-static.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getrlimit64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Implies
kernel_rt_sigframe.h Rename struct ucontext tag (bug 21457). 2017-06-26 22:03:58 +00:00
kernel_sigaction.h linux: Consolidate sigaction implementation 2018-04-05 17:09:50 -03:00
kernel_stat.h
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libc-abis MIPS support for GNU hash 2019-08-29 20:11:42 +00:00
makecontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile elf: Move vDSO setup to rtld (BZ#24967) 2020-01-03 11:22:07 -03:00
mmap_info.h posix: Fix large mmap64 offset for mips64n32 (BZ#24699) 2019-07-10 16:52:50 -03:00
pipe.S
readelflib.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setrlimit64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shlib-versions
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
swapcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
syscalls.list Consolidate Linux send implementation 2017-03-09 15:22:06 +01:00
sysdep.h mips: Use Linux kABI for syscall return 2020-02-14 21:09:12 -03:00
ucontext_i.sym
unwind-arch.h mips: Fix bracktrace result for signal frames 2020-02-18 10:39:03 -03:00
ustat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions
vfork.S Linux: Use system call tables during build 2020-01-02 10:18:23 +01:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00