summaryrefslogtreecommitdiff
path: root/libc/string/bfin/strcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/bfin/strcmp.S')
-rw-r--r--libc/string/bfin/strcmp.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/string/bfin/strcmp.S b/libc/string/bfin/strcmp.S
index c0a706d2b..12e8c53c6 100644
--- a/libc/string/bfin/strcmp.S
+++ b/libc/string/bfin/strcmp.S
@@ -23,6 +23,7 @@
.align 2
+.weak _strcmp
ENTRY(_strcmp)
[--sp] = (R7:4);
p1 = r0;
@@ -116,6 +117,6 @@ ENTRY(_strcmp)
libc_hidden_def (strcmp)
#ifndef __UCLIBC_HAS_LOCALE__
-strong_alias (strcmp,strcoll)
+weak_alias (strcmp,strcoll)
libc_hidden_def (strcoll)
#endif