On Thu, Jan 19, 2017 at 10:44:27PM +1030, Alan Modra wrote:
> glibc compiled with current gcc-7 fails one test due to strcmp and
> strncmp appearing in the PLT.  This is because the inline expansion of
> those functions falls back to a function call, but not using the asm
> name for the call.  Fixed by retrieving the asm name from the builtin
> decl.  I used the builtin decl simply because it is in a handy table.
> 
> Bootstrapped and regression tested powerpc64le-linux.  OK to apply?

Okay for trunk.  Thanks!


Segher


>       * config/rs6000/rs6000.c (expand_strn_compare): Get the asm name
>       for strcmp and strncmp from corresponding builtin decl.

Reply via email to