summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2017-12-20 12:37:54 -0800
committerVineet Gupta <vgupta@synopsys.com>2017-12-20 15:16:18 -0800
commitf5a16b93e6291ba1f65f55647cb4cd8d75ed1b35 (patch)
tree4c6243cc717af027d95dff55542b05b067ef16a8 /fs
parent79435ac78d160e4c245544d457850a56f805ac0d (diff)
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 'fs')
0 files changed, 0 insertions, 0 deletions