[PING^3 PATCH] gold: don't invoke IA32 syscall in x86_64 assembly testcase
Jan Beulich
jbeulich@suse.com
Wed May 18 07:40:52 GMT 2022
On 06.05.2022 17:03, Xi Ruoyao wrote:
> 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.
I've committed this, seeing that it was still pending. While doing so
I took the liberty to slightly change the new assembly (using %eax
instead of %rax in two places).
Jan
More information about the Binutils
mailing list