summaryrefslogtreecommitdiff
path: root/common/lib
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2009-12-19 19:09:48 +0000
committerpooka <pooka@NetBSD.org>2009-12-19 19:09:48 +0000
commit817cd315412cb2ce0bc4e6bf3f12a866fd948396 (patch)
treee66ecd2d97429a64332562149fbc2c293fc8b259 /common/lib
parentebd0ab14ab46adc1921e4064e294e9ed62301fe6 (diff)
Don't export __ffstab, it's used only in this routine. This gets
rid of one of those evil common symbols in the __ namespace. reviewed by martin
Diffstat (limited to 'common/lib')
-rw-r--r--common/lib/libc/arch/sparc/string/ffs.S10
-rw-r--r--common/lib/libc/arch/sparc64/string/ffs.S10
2 files changed, 10 insertions, 10 deletions
diff --git a/common/lib/libc/arch/sparc/string/ffs.S b/common/lib/libc/arch/sparc/string/ffs.S
index a9fdffe6506..104e36263ce 100644
--- a/common/lib/libc/arch/sparc/string/ffs.S
+++ b/common/lib/libc/arch/sparc/string/ffs.S
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
+/* $NetBSD: ffs.S,v 1.2 2009/12/19 19:09:48 pooka Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -40,7 +40,7 @@
#if 0
.asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: ffs.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
+ RCSID("$NetBSD: ffs.S,v 1.2 2009/12/19 19:09:48 pooka Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -60,9 +60,9 @@
*/
ENTRY(ffs)
#ifdef PIC
- PICCY_SET(_C_LABEL(__ffstab), %o2, %o3)
+ PICCY_SET(ffstab, %o2, %o3)
#else
- set _C_LABEL(__ffstab), %o2
+ set ffstab, %o2
#endif
andcc %o0, 0xff, %o1 ! get low byte
be,a 1f ! try again if 0
@@ -94,7 +94,7 @@ ENTRY(ffs)
retl
add %o0, 24, %o0
-RODATA(__ffstab)
+ffstab:
.byte -24,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1 /* 00-0f */
.byte 5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1 /* 10-1f */
.byte 6,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1 /* 20-2f */
diff --git a/common/lib/libc/arch/sparc64/string/ffs.S b/common/lib/libc/arch/sparc64/string/ffs.S
index 04870b5cba5..93e620ae2ae 100644
--- a/common/lib/libc/arch/sparc64/string/ffs.S
+++ b/common/lib/libc/arch/sparc64/string/ffs.S
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs.S,v 1.1 2005/12/20 19:28:50 christos Exp $ */
+/* $NetBSD: ffs.S,v 1.2 2009/12/19 19:09:48 pooka Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -40,7 +40,7 @@
#if 0
.asciz "@(#)ffs.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: ffs.S,v 1.1 2005/12/20 19:28:50 christos Exp $")
+ RCSID("$NetBSD: ffs.S,v 1.2 2009/12/19 19:09:48 pooka Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -82,9 +82,9 @@ ENTRY(ffs)
*/
ENTRY(ffs)
#ifdef PIC
- PICCY_SET(_C_LABEL(__ffstab), %o2, %o3)
+ PICCY_SET(ffstab, %o2, %o3)
#else
- set _C_LABEL(__ffstab), %o2
+ set ffstab, %o2
#endif
andcc %o0, 0xff, %o1 ! get low byte
be,a 1f ! try again if 0
@@ -116,7 +116,7 @@ ENTRY(ffs)
retl
add %o0, 24, %o0
-RODATA(__ffstab)
+ffstab:
.byte -24,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1 /* 00-0f */
.byte 5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1 /* 10-1f */
.byte 6,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1 /* 20-2f */