Revision 515b029d005b5694cf612a0a5ca6f861a7e45362 authored by David Daney on 21 October 2010, 23:32:26 UTC, committed by Ralf Baechle on 16 December 2010, 18:10:57 UTC
We were unconditionally sending SIGBUS with an empty siginfo on FP
emulator faults.  This differs from what happens when real floating
point hardware would get a fault.

For most faults we need to send SIGSEGV with the faulting address
filled in in the struct siginfo.

Reported-by: Camm Maguire <camm@maguirefamily.org>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Cc: Camm Maguire <camm@maguirefamily.org>
Patchwork: https://patchwork.linux-mips.org/patch/1727/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 0bc6791
History
File Mode Size
Makefile -rw-r--r-- 610 bytes
bootstr_32.c -rw-r--r-- 1.2 KB
bootstr_64.c -rw-r--r-- 1.0 KB
cif.S -rw-r--r-- 989 bytes
console_32.c -rw-r--r-- 1.2 KB
console_64.c -rw-r--r-- 1.0 KB
devmap.c -rw-r--r-- 1.4 KB
init_32.c -rw-r--r-- 1.7 KB
init_64.c -rw-r--r-- 1.4 KB
memory.c -rw-r--r-- 1.9 KB
misc_32.c -rw-r--r-- 2.7 KB
misc_64.c -rw-r--r-- 8.9 KB
mp.c -rw-r--r-- 2.3 KB
p1275.c -rw-r--r-- 1.2 KB
palloc.c -rw-r--r-- 1.5 KB
printf.c -rw-r--r-- 1.7 KB
ranges.c -rw-r--r-- 3.6 KB
segment.c -rw-r--r-- 753 bytes
tree_32.c -rw-r--r-- 7.9 KB
tree_64.c -rw-r--r-- 7.9 KB

back to top