[PATCH][aarch64] Fix glibc.tune.cpu tunable handling
Steve Ellcey
sellcey@cavium.com
Tue Sep 5 15:54:00 GMT 2017
On Mon, 2017-09-04 at 11:07 +0530, Siddhesh Poyarekar wrote:
>Â
> Right, tunable_is_name is the wrong function to call but using strcmp
> there may not be safe.  Please verify that it does not go through a PLT,
> i.e. it calls the ld.so version at all times.
>
> Siddhesh
I am not sure I know how to do this. Â If I look at csu/libc-start.o,
where, after inlining, this code shows up I see a reference to "strcmp"
and not to "__GI_strcmp" that I see in some other places. Â Does that
mean I am going through the PLT? Â If so, what do I do about it? Â I also
see a new undefined reference to strcmp from elf/dl-sysdep.os, but that
file was already referencing "strlen", so maybe it doesn't matter
there.
Steve Ellcey
sellcey@cavium.com
More information about the Libc-alpha
mailing list