[PATCH 1/1] LoongArch: Add pointer mangling support.
Xi Ruoyao
xry111@xry111.site
Tue Aug 16 01:30:40 GMT 2022
On Mon, 2022-08-15 at 20:52 +0000, Joseph Myers wrote:
> On Thu, 11 Aug 2022, caiyinyu wrote:
>
> > Tested on LoongArch machine: gcc 13.0.0, Linux kernel 5.19.0 rc2,
> > binutils branch master 2eb132bdfb9.
>
> This appears to have broken the build-many-glibcs.py build ("Fatal error:
> unknown reloc hint: pc_hi20"). Is that something that would be fixed by
> using binutils 2.39 branch instead of 2.38 branch in build-many-glibcs.py?
No, we must use Binutils-2.40 for new relocation types like %pc_hi20.
Maybe we can add a configure check to fallback to "la.pcrel"/"la.got"
macros for Binutils <= 2.39.
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
More information about the Libc-alpha
mailing list