[PATCH] Avoid PLT when calling __sched_getaffinity_new

Joseph Myers joseph@codesourcery.com
Wed Oct 14 16:54:00 GMT 2015


On Wed, 14 Oct 2015, Andreas Schwab wrote:

> It's highly x86-specific.  Most other architectures don't need a special
> register set up just for doing a PLT call, so it doesn't matter whether
> it's relaxed by the compiler or the linker.

True - the main benefit of an architecture-independent test would be to 
make it less likely that people check in changes introducing new 
non-hidden calls on x86 because they tested on non-x86, rather than 
because it actually affects the generated code on other architectures.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list