[PATCH] gold: don't invoke IA32 syscall in x86_64 assembly testcase
Xi Ruoyao
xry111@mengyan1223.wang
Thu Mar 31 15:03:30 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.
--
Xi Ruoyao <xry111@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University
More information about the Binutils
mailing list