[PATCH 1/1] LoongArch: Add pointer mangling support.

Xi Ruoyao xry111@xry111.site
Fri Aug 19 13:46:37 GMT 2022


On Wed, 2022-08-17 at 16:46 +0000, Joseph Myers wrote:
> On Wed, 17 Aug 2022, Xi Ruoyao via Libc-alpha wrote:
> 
> > I share your feeling...  But the fix needed by ld.so (bc2a35c in
> > binutils-gdb.git) is after two commits massively changing the relocation
> > types.  Backporting the relocation type changes is completely
> > unacceptable (such an attempt will do nothing except annoying Nick
> > Clifton :). And bc2a35c alone cannot be backported trivially.
> 
> If the branch isn't usable as-is on LoongArch (which apparently is the
> state at present), there should be no problem with any backport to 
> architecture-specific code, regardless of how large it is - it can't 
> exactly regress from "not usable".

Sorry, my memory was flawed when I wrote the last reply (due to my 2-
week vacation :( ).  It's not completely usable, only IFUNC is broken.

> I note that the only GCC target supported for LoongArch is 
> loongarch*-*-linux*, so there isn't really a question of being usable for 
> bare-metal either.
> 

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


More information about the Libc-alpha mailing list