[PATCH] gold: don't invoke IA32 syscall in x86_64 assembly testcase

Cary Coutant ccoutant@gmail.com
Thu Mar 31 16:05:06 GMT 2022


> On Thu, 2022-03-31 at 12:41 +0200, Jan Beulich wrote:
> > On 12.03.2022 15:21, Xi Ruoyao via Binutils wrote:
> > > pr17704a_test.s is a x86_64 assembly file, but it invokes IA32 exit
> > > syscall with "int 0x80".  This causes a segfault on kernels with
> > > CONFIG_IA32_EMULATION disabled.
> > >
> > > gold/
> > >
> > >         * testsuite/pr17704a_test.s (_start): Invoke x86_64 exit syscall
> > >         instead of its IA32 counterpart.
> >
> > Okay.
>
> I don't have write access to binutils-gdb.git, please help me to push
> it.

Sorry, yes, this is OK. I'll apply it.

-cary


More information about the Binutils mailing list