[PATCH 2/2] sparc: Fix .udiv plt on libc

Florian Weimer fweimer@redhat.com
Thu Mar 16 14:45:00 GMT 2017


On 03/16/2017 02:43 PM, Adhemerval Zanella wrote:
> To avoid it, this patch uses the linker option --wrap to replace all
> the internal libc.so .udiv calls to the wrapper __wrap_.udiv. Along
> with strong alias in the udiv implementations, it makes linker do
> local calls.

I think we already use a different mechanism for a similar purpose, via 
sysdeps/generic/symbol-hacks.h.  Maybe it's possible to reuse that?

Thanks,
Florian



More information about the Libc-alpha mailing list