[PATCH] LoongArch: Use generic __builtin_trap in abort.

Xi Ruoyao xry111@xry111.site
Wed Dec 24 07:29:40 GMT 2025


On Wed, 2025-12-24 at 09:40 +0800, caiyinyu wrote:
> gentle ping

Reviewed-by: Xi Ruoyao <xry111@xry111.site>

But as the LoongArch port maintainer you have the right to commit it
without a review, per
https://sourceware.org/glibc/wiki/Consensus#Machine_Changes.

> 在 2025/12/22 下午4:08, caiyinyu 写道:
> > ---
> >   sysdeps/loongarch/abort-instr.h | 2 --
> >   1 file changed, 2 deletions(-)
> >   delete mode 100644 sysdeps/loongarch/abort-instr.h
> > 
> > diff --git a/sysdeps/loongarch/abort-instr.h b/sysdeps/loongarch/abort-instr.h
> > deleted file mode 100644
> > index 46d3ad0871..0000000000
> > --- a/sysdeps/loongarch/abort-instr.h
> > +++ /dev/null
> > @@ -1,2 +0,0 @@
> > -/* An instruction which should crash any program is a breakpoint.  */
> > -#define ABORT_INSTRUCTION asm ("break 0")

-- 
Xi Ruoyao <xry111@xry111.site>


More information about the Libc-alpha mailing list