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

Xi Ruoyao xry111@mengyan1223.wang
Fri May 6 15:03:56 GMT 2022


On Fri, 2022-04-29 at 00:15 +0800, Xi Ruoyao wrote:
> On Sat, 2022-04-09 at 07:25 +0800, Xi Ruoyao wrote:
> > On Thu, 2022-03-31 at 09:05 -0700, Cary Coutant wrote:
> > > > 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
> > 
> > Gentle ping again, in case it's forgotten :).
> 
> Ping? :(

Ping.

-- 
Xi Ruoyao <xry111@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University


More information about the Binutils mailing list