Re: [PATCH 2/2] ARC: handle gcc generated __builtin_trap for older compiler

From: Arnd Bergmann
Date: Thu Dec 21 2017 - 03:10:05 EST


On Wed, Dec 20, 2017 at 11:49 PM, Vineet Gupta
<Vineet.Gupta1@xxxxxxxxxxxx> wrote:
> ARC gcc prior to GNU 2018.03 release didn't have a target specific
> __builtin_trap() implementation, generating default abort() call.
>
> Implement the abort() call - emulating what newer gcc does for the same,
> as suggested by Arnd.
>
> Signed-off-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>