[PATCH v3 1/1] LoongArch: Add static PIE support
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Fri Sep 30 12:54:07 GMT 2022
On 30/09/22 09:47, Xi Ruoyao via Libc-alpha wrote:
> On Thu, 2022-09-29 at 21:32 +0800, caiyinyu wrote:
>> Here are some mistakes:
>
> Sorry for the stupid mistake...`
>
> I need to be AFK for several days, will send v4 once I'm back.
>
>> diff --git a/sysdeps/loongarch/configure b/sysdeps/loongarch/configure
>> index 70d6fec5c1..6edd6d08a5 100644
>> --- a/sysdeps/loongarch/configure
>> +++ b/sysdeps/loongarch/configure
>> @@ -14,10 +14,10 @@ else
>> .global _start
>> .type _start, @function
>> _start:
>> - li.w $a7, 93
>> + li.w \$a7, 93
>> /* This ensures the assembler supports explicit reloc. */
>> - pcalau12i $a0, %pc_hi20(x)
>> - ld.w $a0, $a0, %pc_lo12(x)
>> + pcalau12i \$a0, %pc_hi20(x)
>> + ld.w \$a0, \$a0, %pc_lo12(x)
>> syscall 0
>
I was committed upstream nevertheless (8b10727a9af3e2aa4b27dff0116bb8d3c9afce3d).
It upstream correct or does it require a the above fix?
More information about the Libc-alpha
mailing list