Re: [RFC][PATCH] signal/m68k: Use force_sigsegv(SIGSEGV) in fpsp040_die

Eric W. Biederman
2021-07-26T20:29:14Z

Andreas Schwab <schwab@linux-m68k.org> writes:

> On Jul 26 2021, Eric W. Biederman wrote:
>
>> diff --git a/arch/m68k/fpsp040/skeleton.S b/arch/m68k/fpsp040/skeleton.S
>> index a8f41615d94a..ec767523c012 100644
>> --- a/arch/m68k/fpsp040/skeleton.S
>> +++ b/arch/m68k/fpsp040/skeleton.S
>> @@ -502,7 +502,8 @@ in_ea:
>> .section .fixup,#alloc,#execinstr
>> .even
>> 1:
>> - jbra fpsp040_die
>> + bsrl fpsp040_die
>> + jmp .Lnotkern
>
> That should be jbra instead of jmp.

I will update my patch. Mind if I ask what the difference is?

I could not find a reference mentioning jbra. Do I need to look in the
gas source or do you know if there is a better source?

Eric