glibc/sysdeps/unix/sysv/linux/mips
Adhemerval Zanella 54ba2541b3 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.  */

(cherry picked from commit 6e05978f0c)
2020-03-30 23:18:26 +02:00
..
bits Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mips32 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-13 20:18:20 +01:00
mips64 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] 2020-02-13 20:18:20 +01:00
sys Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Implies
Makefile elf: Move vDSO setup to rtld (BZ#24967) 2020-01-03 11:22:07 -03:00
Versions
____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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
clone.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
configure
configure.ac
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
kernel-features.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
kernel_rt_sigframe.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.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
makecontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mmap_info.h
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
sysdep.h mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-13 19:44:26 +01:00
ucontext_i.sym
unwind-arch.h mips: Fix bracktrace result for signal frames 2020-03-30 23:18:26 +02:00
ustat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
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