diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2018-08-16 12:12:02 +0530 |
---|---|---|
committer | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2018-08-16 12:12:02 +0530 |
commit | 7793ad7a2c00434398aa8bb3f5932e2fdf43536a (patch) | |
tree | 4adb3fc19bdde52c7ccdc0f110646cf18de8a32d /sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S | |
parent | 436e4d5b965abe592d26150cb518accf9ded8fe4 (diff) | |
download | glibc-7793ad7a2c00434398aa8bb3f5932e2fdf43536a.tar glibc-7793ad7a2c00434398aa8bb3f5932e2fdf43536a.tar.gz glibc-7793ad7a2c00434398aa8bb3f5932e2fdf43536a.tar.bz2 glibc-7793ad7a2c00434398aa8bb3f5932e2fdf43536a.zip |
powerpc: Rearrange little endian specific files
This patch moves little endian specific POWER9 optimization files to
sysdeps/powerpc/powerpc64/le and creates POWER9 ifunc functions
only for little endian.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S b/sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S index 3356f72527..c6f0128379 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S +++ b/sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S @@ -15,11 +15,11 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#if IS_IN (libc) +#if defined __LITTLE_ENDIAN__ && IS_IN (libc) #define STRNCMP __strncmp_power9 #undef libc_hidden_builtin_def #define libc_hidden_builtin_def(name) -#include <sysdeps/powerpc/powerpc64/power9/strncmp.S> +#include <sysdeps/powerpc/powerpc64/le/power9/strncmp.S> #endif |