diff options
Diffstat (limited to 'sysdeps/powerpc/powerpc64/power8/strlen.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/power8/strlen.S | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/powerpc/powerpc64/power8/strlen.S b/sysdeps/powerpc/powerpc64/power8/strlen.S index 2afc6b3c2e..8f4a1fc1dc 100644 --- a/sysdeps/powerpc/powerpc64/power8/strlen.S +++ b/sysdeps/powerpc/powerpc64/power8/strlen.S @@ -29,10 +29,14 @@ /* int [r3] strlen (char *s [r3]) */ +#ifndef STRLEN +# define STRLEN strlen +#endif + /* TODO: change this to .machine power8 when the minimum required binutils allows it. */ .machine power7 -EALIGN (strlen, 4, 0) +EALIGN (STRLEN, 4, 0) CALL_MCOUNT 1 dcbt 0,r3 clrrdi r4,r3,3 /* Align the address to doubleword boundary. */ @@ -293,5 +297,5 @@ L(vmx_zero): add r3,r5,r0 /* Compute final length. */ blr -END (strlen) +END (STRLEN) libc_hidden_builtin_def (strlen) |