[PATCH] MIPS: support PCREL GOT access

YunQiang Su syq@gcc.gnu.org
Fri Feb 2 01:25:48 GMT 2024


Xi Ruoyao <xry111@xry111.site> 于2024年1月31日周三 17:24写道:
>
> On Wed, 2024-01-31 at 16:32 +0800, YunQiang Su wrote:
> > Note: the relocation is different for r6 and pre-r6.
> > For r6, we use aluipc, which will unset the lower 16bit of
> > result.
>
> Better use two different names for different semantics.
>

Thank you. I will update my patch.
Any idea how to write ld testcases?
Normal readelf/objdump can only be sure that it is linked.
I think that we need to execute the out objects to be sure that it has no
problems, such as segfault etc.

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


More information about the Binutils mailing list