summaryrefslogtreecommitdiff
path: root/libc/string/ia64/memcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/ia64/memcmp.S')
-rw-r--r--libc/string/ia64/memcmp.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/string/ia64/memcmp.S b/libc/string/ia64/memcmp.S
index c6ea7529b..8b0c096ce 100644
--- a/libc/string/ia64/memcmp.S
+++ b/libc/string/ia64/memcmp.S
@@ -160,6 +160,7 @@ ENTRY(memcmp)
mov ar.lc = saved_lc // restore the loop counter
br.ret.sptk.many b0
END(memcmp)
-
-weak_alias (memcmp, bcmp)
libc_hidden_def (memcmp)
+#ifdef __UCLIBC_SUSV3_LEGACY__
+strong_alias (memcmp, bcmp)
+#endif