summaryrefslogtreecommitdiffstats
path: root/arch/arc/Kconfig
diff options
context:
space:
mode:
authorVineet Gupta2017-12-20 21:37:54 +0100
committerVineet Gupta2017-12-21 00:16:18 +0100
commitf5a16b93e6291ba1f65f55647cb4cd8d75ed1b35 (patch)
tree4c6243cc717af027d95dff55542b05b067ef16a8 /arch/arc/Kconfig
parentARC: uaccess: dont use "l" gcc inline asm constraint modifier (diff)
downloadkernel-qcow2-linux-f5a16b93e6291ba1f65f55647cb4cd8d75ed1b35.tar.gz
kernel-qcow2-linux-f5a16b93e6291ba1f65f55647cb4cd8d75ed1b35.tar.xz
kernel-qcow2-linux-f5a16b93e6291ba1f65f55647cb4cd8d75ed1b35.zip
ARC: handle gcc generated __builtin_trap()
gcc toggle -fisolate-erroneous-paths-dereference (default at -O2 onwards) isolates faulty code paths such as null pointer access, divide by zero etc by emitting __builtin_trap() Newer ARC gcc generates TRAP_S 5 instruction which needs to be handled and treated like any other unexpected exception - user mode : task terminated with a SEGV - kernel mode: die() called after register and stack dump Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Kconfig')
0 files changed, 0 insertions, 0 deletions