glibc/sysdeps
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
..
aarch64 nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
alpha nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
arm Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
csky linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
generic mips: Fix bracktrace result for signal frames 2020-02-18 10:39:03 -03:00
gnu Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hppa Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
htl pthread: Move robust mutex tests from nptl to sysdeps/pthread 2020-02-16 14:43:54 +00:00
hurd C11 threads: Move implementation to sysdeps/pthread 2020-02-09 13:56:48 +01:00
i386 x86: Avoid single-argument _Static_assert in <tls.h> 2020-02-17 11:12:03 +01:00
ia64 nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
ieee754 ldbl-128ibm-compat: Provide a scalb implementation 2020-02-14 08:24:56 -06:00
init_array Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
m68k linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
mach <fd_to_filename.h>: Add type safety and port to Hurd 2020-02-18 13:42:29 +01:00
microblaze Linux: Use system call tables during build 2020-01-02 10:18:23 +01:00
mips linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
nios2 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nptl linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
posix nss: Add function types and NSS_DECLARE_MODULE_FUNCTIONS macro to <nss.h> 2020-02-13 09:14:40 +01:00
powerpc linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
pthread pthread: Fix building tst-robust8 with nptl 2020-02-16 23:53:45 +01:00
riscv nptl: add missing pthread-offsets.h 2020-02-10 17:01:21 +01:00
s390 S390: Fix non-ascii character in fenv.h. 2020-02-12 09:10:56 +01:00
sh linux: Consolidate INLINE_SYSCALL 2020-02-14 21:09:12 -03:00
sparc linux: Consolidate INLINE_SYSCALL 2020-02-14 21:09:12 -03:00
unix mips: Fix bracktrace result for signal frames 2020-02-18 10:39:03 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 x86: Remove <bits/select.h> and use the generic version 2020-02-09 14:02:27 +01:00
x86_64 x86: Avoid single-argument _Static_assert in <tls.h> 2020-02-17 11:12:03 +01:00