summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/string
diff options
context:
space:
mode:
authorandreast <andreast@FreeBSD.org>2013-11-21 22:31:18 +0000
committerandreast <andreast@FreeBSD.org>2013-11-21 22:31:18 +0000
commit305492af4723b9c7a9118c02471b58651d2ec999 (patch)
treef17b7ebad3190908338acdaaee5562f547b46c87 /lib/libc/i386/string
parent3ce6c522309d1339bd7d2c960630b23199ff13e3 (diff)
downloadFreeBSD-src-305492af4723b9c7a9118c02471b58651d2ec999.zip
FreeBSD-src-305492af4723b9c7a9118c02471b58651d2ec999.tar.gz
Replace the WEAK_ALIAS() alias with the WEAK_REFERENCE() alias. Use it and
get rid of the __CONCAT and CNAME macros. Reviewed by: bde, kib
Diffstat (limited to 'lib/libc/i386/string')
-rw-r--r--lib/libc/i386/string/strchr.S2
-rw-r--r--lib/libc/i386/string/strrchr.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/i386/string/strchr.S b/lib/libc/i386/string/strchr.S
index f57c2cd..83aa87f 100644
--- a/lib/libc/i386/string/strchr.S
+++ b/lib/libc/i386/string/strchr.S
@@ -63,6 +63,6 @@ L2:
ret
END(strchr)
-WEAK_ALIAS(index, strchr)
+WEAK_REFERENCE(strchr, index)
.section .note.GNU-stack,"",%progbits
diff --git a/lib/libc/i386/string/strrchr.S b/lib/libc/i386/string/strrchr.S
index 5ec5287..5e250b0 100644
--- a/lib/libc/i386/string/strrchr.S
+++ b/lib/libc/i386/string/strrchr.S
@@ -64,6 +64,6 @@ L2:
ret
END(strrchr)
-WEAK_ALIAS(rindex, strrchr)
+WEAK_REFERENCE(strrchr, rindex)
.section .note.GNU-stack,"",%progbits
OpenPOWER on IntegriCloud