diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 15:58:23 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 15:58:23 +0000 |
commit | 25ead03a3712d57df2208fe82f3d316eb8faeaf6 (patch) | |
tree | eb6ebccbeffba879a7cf9cbaa29daeeb73d8e049 /sysdeps/powerpc/powerpc64/strcmp.S | |
parent | bf9f3c5bced2d3a5fb782b5a7de1008d8ca1425c (diff) | |
parent | 963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff) |
Merge commit 'refs/top-bases/t/faccessat' into t/faccessat
Diffstat (limited to 'sysdeps/powerpc/powerpc64/strcmp.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/strcmp.S | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysdeps/powerpc/powerpc64/strcmp.S b/sysdeps/powerpc/powerpc64/strcmp.S index d4fb5b364a..1862a2e5ce 100644 --- a/sysdeps/powerpc/powerpc64/strcmp.S +++ b/sysdeps/powerpc/powerpc64/strcmp.S @@ -1,5 +1,5 @@ /* Optimized strcmp implementation for PowerPC64. - Copyright (C) 1997-2016 Free Software Foundation, Inc. + Copyright (C) 1997-2018 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 @@ -22,7 +22,11 @@ /* int [r3] strcmp (const char *s1 [r3], const char *s2 [r4]) */ -EALIGN (strcmp, 4, 0) +#ifndef STRCMP +# define STRCMP strcmp +#endif + +ENTRY_TOCLESS (STRCMP, 4) CALL_MCOUNT 2 #define rTMP2 r0 @@ -172,5 +176,5 @@ L(u3): sub rRTN, rWORD1, rWORD2 L(u4): lbz rWORD1, -1(rSTR1) sub rRTN, rWORD1, rWORD2 blr -END (strcmp) +END (STRCMP) libc_hidden_builtin_def (strcmp) |