]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / powerpc / powerpc64 / multiarch / strncmp-ppc64.S
index 14a2bec648b050c26778e6ad54952f8b346648a9..7e5d4c8e0115defee72b490216c3af5b44cbf329 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2013-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2013-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
-#include <sysdep.h>
-
-#if defined SHARED && !defined NOT_IN_libc
-#undef EALIGN
-#define EALIGN(name,alignt,words)                              \
-  .section ".text";                                            \
-  ENTRY_2(__strncmp_ppc)                                       \
-  .align ALIGNARG(alignt);                                     \
-  EALIGN_W_##words;                                            \
-  BODY_LABEL(__strncmp_ppc):                                   \
-  cfi_startproc;                                               \
-  LOCALENTRY(__strncmp_ppc)
-
-#undef END
-#define END(name)                                              \
-  cfi_endproc;                                                 \
-  TRACEBACK(__strncmp_ppc)                                     \
-  END_2(__strncmp_ppc)
+#if defined SHARED && IS_IN (libc)
+# define STRNCMP __strncmp_ppc
 
 # undef libc_hidden_builtin_def
 # define libc_hidden_builtin_def(name)                         \