Vineet Gupta f5a16b93e6 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>
2017-12-20 15:16:18 -08:00
..
2017-11-17 17:45:29 -08:00
2017-11-15 15:01:28 -08:00
2017-11-17 17:45:29 -08:00
2017-11-15 18:21:03 -08:00
2017-11-17 17:45:29 -08:00
2017-11-15 18:21:00 -08:00
2017-11-14 18:25:40 -08:00
2017-11-14 18:25:40 -08:00
2017-11-14 18:25:40 -08:00
2017-11-15 18:21:04 -08:00
2017-11-15 10:49:15 -08:00
2017-11-17 09:51:57 -08:00