diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-28 21:23:47 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-28 21:23:47 +0000 |
commit | b5510883226aede4e54f9271bbfa9d5585038bde (patch) | |
tree | ae32f3353fa02dc9294cfe2fe056eab32dbda9c8 /sysdeps/powerpc/powerpc32/power7/strnlen.S | |
parent | 365261c37ff9156372a32f4ab3f07dcfbd72217e (diff) | |
download | glibc-b5510883226aede4e54f9271bbfa9d5585038bde.tar.gz glibc-b5510883226aede4e54f9271bbfa9d5585038bde.tar.xz glibc-b5510883226aede4e54f9271bbfa9d5585038bde.zip |
Remove powerpc32 bounded-pointers code.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/power7/strnlen.S')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power7/strnlen.S | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/powerpc/powerpc32/power7/strnlen.S b/sysdeps/powerpc/powerpc32/power7/strnlen.S index ec716e74a3..ed088366a2 100644 --- a/sysdeps/powerpc/powerpc32/power7/strnlen.S +++ b/sysdeps/powerpc/powerpc32/power7/strnlen.S @@ -18,12 +18,10 @@ <http://www.gnu.org/licenses/>. */ #include <sysdep.h> -#include <bp-sym.h> -#include <bp-asm.h> /* int [r3] strnlen (char *s [r3], int size [r4]) */ .machine power7 -ENTRY (BP_SYM (__strnlen)) +ENTRY (__strnlen) CALL_MCOUNT dcbt 0,r3 clrrwi r8,r3,2 /* Align the address to word boundary. */ @@ -166,6 +164,6 @@ L(loop_small): cmplw r9,r7 bge L(end_max) b L(loop_small) -END (BP_SYM (__strnlen)) -weak_alias (BP_SYM (__strnlen), BP_SYM(strnlen)) +END (__strnlen) +weak_alias (__strnlen, strnlen) libc_hidden_builtin_def (strnlen) |