summaryrefslogtreecommitdiff
path: root/libc/string/bfin/memcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/bfin/memcmp.S')
-rw-r--r--libc/string/bfin/memcmp.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/bfin/memcmp.S b/libc/string/bfin/memcmp.S
index b5d4f1c7a..7cc76ad96 100644
--- a/libc/string/bfin/memcmp.S
+++ b/libc/string/bfin/memcmp.S
@@ -23,6 +23,7 @@
.align 2
+.weak _memcmp
ENTRY(_memcmp)
I1 = P3;
P0 = R0; /* P0 = s1 address */
@@ -99,5 +100,5 @@ ENTRY(_memcmp)
libc_hidden_def (memcmp)
#ifdef __UCLIBC_SUSV3_LEGACY__
-strong_alias (memcmp,bcmp)
+weak_alias (memcmp,bcmp)
#endif