powerpc: Remove stpcpy internal clash with IFUNC
commit8072373ea96cb95a0d1cbe97a41a352439b92ea9
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 30 Nov 2016 13:31:41 +0000 (30 11:31 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 30 Nov 2016 17:13:26 +0000 (30 15:13 -0200)
treead3c62ff15cd85971efc1ead06d3727b741295d1
parentb04beebf0731c0da49bf9113bf299acf56e4c2e5
powerpc: Remove stpcpy internal clash with IFUNC

Commit 142e0a99530 redirected the internal stpcpy to default powerpc64
implementation by redefining the weak_alias at
sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c:

  #undef weak_alias
  #define weak_alias(name, aliasname) \
    extern __typeof (__stpcpy_ppc) aliasname \
      __attribute__ ((weak, alias ("__stpcpy_ppc")));

This creates a __GI_stpcpy alias that clashes with the IFUNC symbol in
stpcpy.os.  There is not need to define the default version for internal
version, since ifunc should work internally for powerpc64.  This patch
removes the weak_alias indirection.

Checked on powerpc64le.

* sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
Remove redirection to __stpcpy_ppc.
ChangeLog
sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c