[PATCH v6 10/13] ARC: ABI lists

Adhemerval Zanella adhemerval.zanella@linaro.org
Mon Jun 8 18:17:49 GMT 2020

On 08/06/2020 05:44, Florian Weimer wrote:
> * Adhemerval Zanella via Libc-alpha:
>> What I am not sure is if we can use the the same hack to force
>> the linker bind the memcpy libgcc internal usage to glibc provided 
>> symbol.
> We can probably get the linker to bind to another symbol, but if the
> linker cannot perform any relaxation, the PLT reference will still be
> there.
> I looked at this recently for the aarch64 outline atomics, and there did
> not seem to exist a good way to fix it here.  ARC could be similar.

Right and it seems the hack did not work for ARC.  I am not sure which
would be the best option: do not add memcpy/memset/memmove on the expected
localplt and add a comment that it might happen depending on how libgcc
is built or add them anyway with a proper comment.

More information about the Libc-alpha mailing list