aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2013-09-20 21:24:53 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2013-09-20 21:25:31 +0200
commit5bb43a43199e2bc3f729b858d26c47e91fd56621 (patch)
tree640fc759cbbeda5ab9d6d7fd8803d4a73c16c03a
parentc7ae84fa4cdf00b0b62c493c5f50e7c0a4d2267b (diff)
downloadglibc-5bb43a43199e2bc3f729b858d26c47e91fd56621.zip
glibc-5bb43a43199e2bc3f729b858d26c47e91fd56621.tar.gz
glibc-5bb43a43199e2bc3f729b858d26c47e91fd56621.tar.bz2
Make __ffs hidden
-rw-r--r--ChangeLog10
-rw-r--r--include/string.h1
-rw-r--r--ports/ChangeLog.alpha5
-rw-r--r--ports/ChangeLog.arm4
-rw-r--r--ports/ChangeLog.m68k4
-rw-r--r--ports/ChangeLog.tile4
-rw-r--r--ports/sysdeps/alpha/alphaev67/ffs.S1
-rw-r--r--ports/sysdeps/alpha/ffs.S1
-rw-r--r--ports/sysdeps/arm/armv6t2/ffs.S1
-rw-r--r--ports/sysdeps/m68k/ffs.c1
-rw-r--r--ports/sysdeps/tile/ffs.c1
-rw-r--r--string/ffs.c1
-rw-r--r--sysdeps/i386/ffs.c1
-rw-r--r--sysdeps/i386/i686/ffs.c1
-rw-r--r--sysdeps/powerpc/ffs.c1
-rw-r--r--sysdeps/s390/ffs.c1
-rw-r--r--sysdeps/x86_64/ffs.c1
17 files changed, 39 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70a4408..a7791b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * include/string.h (__ffs): Declare as hidden.
+ * string/ffs.c (__ffs): Define as hidden.
+ * sysdeps/i386/ffs.c (__ffs): Likewise.
+ * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
+ * sysdeps/powerpc/ffs.c (__ffs): Likewise.
+ * sysdeps/s390/ffs.c (__ffs): Likewise.
+ * sysdeps/x86_64/ffs.c (__ffs): Likewise.
+
2013-09-20 Alexandre Oliva <aoliva@redhat.com>
* NEWS: Mention malloc probes.
diff --git a/include/string.h b/include/string.h
index d6d8594..8323412 100644
--- a/include/string.h
+++ b/include/string.h
@@ -90,6 +90,7 @@ extern char *__strsep_g (char **__stringp, const char *__delim);
libc_hidden_proto (__strsep_g)
libc_hidden_proto (strnlen)
libc_hidden_proto (memmem)
+libc_hidden_proto (__ffs)
libc_hidden_builtin_proto (memchr)
libc_hidden_builtin_proto (memcpy)
diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha
index e47d46f..1b58cb8 100644
--- a/ports/ChangeLog.alpha
+++ b/ports/ChangeLog.alpha
@@ -1,3 +1,8 @@
+2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/alpha/alphaev67/ffs.S (__ffs): Define as hidden.
+ * sysdeps/alpha/ffs.S (__ffs): Likewise.
+
2013-09-11 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (__O_TMPFILE):
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index bff557c..d7b29e5 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,7 @@
+2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/arm/armv6t2/ffs.S (__ffs): Define as hidden.
+
2013-09-18 Dinar Temirbulatov <dtemirbulatov@gmail.com>
[BZ #15640]
diff --git a/ports/ChangeLog.m68k b/ports/ChangeLog.m68k
index ba9865a..4f933c6 100644
--- a/ports/ChangeLog.m68k
+++ b/ports/ChangeLog.m68k
@@ -1,3 +1,7 @@
+2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/m68k/ffs.c (__ffs): Define as hidden.
+
2013-09-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/m68k/mmap64.c: New file.
diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile
index 5ad254c..79d15b4 100644
--- a/ports/ChangeLog.tile
+++ b/ports/ChangeLog.tile
@@ -1,3 +1,7 @@
+2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/tile/ffs.c (__ffs): Define as hidden.
+
2013-08-21 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/tile/jmpbuf-offsets.h: Fix typos.
diff --git a/ports/sysdeps/alpha/alphaev67/ffs.S b/ports/sysdeps/alpha/alphaev67/ffs.S
index e453152..9b3463c 100644
--- a/ports/sysdeps/alpha/alphaev67/ffs.S
+++ b/ports/sysdeps/alpha/alphaev67/ffs.S
@@ -47,4 +47,5 @@ ENTRY(__ffs)
END(__ffs)
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
diff --git a/ports/sysdeps/alpha/ffs.S b/ports/sysdeps/alpha/ffs.S
index def0f25..d1f0c83 100644
--- a/ports/sysdeps/alpha/ffs.S
+++ b/ports/sysdeps/alpha/ffs.S
@@ -85,6 +85,7 @@ $ffsl..ng:
END(ffsl)
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
weak_extern (ffsl)
weak_alias (ffsl, ffsll)
diff --git a/ports/sysdeps/arm/armv6t2/ffs.S b/ports/sysdeps/arm/armv6t2/ffs.S
index b2c88b9..9f99930 100644
--- a/ports/sysdeps/arm/armv6t2/ffs.S
+++ b/ports/sysdeps/arm/armv6t2/ffs.S
@@ -32,4 +32,5 @@ END (__ffs)
weak_alias (__ffs, ffs)
weak_alias (__ffs, ffsl)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
diff --git a/ports/sysdeps/m68k/ffs.c b/ports/sysdeps/m68k/ffs.c
index fd4e5ff..a3c1a0d 100644
--- a/ports/sysdeps/m68k/ffs.c
+++ b/ports/sysdeps/m68k/ffs.c
@@ -36,6 +36,7 @@ __ffs (x)
return 32 - cnt;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#undef ffsl
weak_alias (__ffs, ffsl)
diff --git a/ports/sysdeps/tile/ffs.c b/ports/sysdeps/tile/ffs.c
index 93ad980..eb982a6 100644
--- a/ports/sysdeps/tile/ffs.c
+++ b/ports/sysdeps/tile/ffs.c
@@ -27,6 +27,7 @@ __ffs (int x)
return __builtin_ffs (x);
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#undef ffsll
diff --git a/string/ffs.c b/string/ffs.c
index a645224..916c5c3 100644
--- a/string/ffs.c
+++ b/string/ffs.c
@@ -46,6 +46,7 @@ __ffs (i)
return table[x >> a] + a;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#if ULONG_MAX == UINT_MAX
diff --git a/sysdeps/i386/ffs.c b/sysdeps/i386/ffs.c
index 47496dc..77d2e60 100644
--- a/sysdeps/i386/ffs.c
+++ b/sysdeps/i386/ffs.c
@@ -41,6 +41,7 @@ __ffs (x)
return cnt;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#undef ffsl
weak_alias (__ffs, ffsl)
diff --git a/sysdeps/i386/i686/ffs.c b/sysdeps/i386/i686/ffs.c
index 5c97050..cde1c99 100644
--- a/sysdeps/i386/i686/ffs.c
+++ b/sysdeps/i386/i686/ffs.c
@@ -39,6 +39,7 @@ __ffs (x)
return cnt + 1;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#undef ffsl
weak_alias (__ffs, ffsl)
diff --git a/sysdeps/powerpc/ffs.c b/sysdeps/powerpc/ffs.c
index e0fee46..deba0cd 100644
--- a/sysdeps/powerpc/ffs.c
+++ b/sysdeps/powerpc/ffs.c
@@ -35,6 +35,7 @@ __ffs (int x)
return 32 - cnt;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#if ULONG_MAX == UINT_MAX
#undef ffsl
diff --git a/sysdeps/s390/ffs.c b/sysdeps/s390/ffs.c
index 807441d..2dbb743 100644
--- a/sysdeps/s390/ffs.c
+++ b/sysdeps/s390/ffs.c
@@ -63,6 +63,7 @@ __ffs (x)
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)
#if ULONG_MAX == UINT_MAX
#undef ffsl
diff --git a/sysdeps/x86_64/ffs.c b/sysdeps/x86_64/ffs.c
index 27013d6..07ee7dd 100644
--- a/sysdeps/x86_64/ffs.c
+++ b/sysdeps/x86_64/ffs.c
@@ -35,4 +35,5 @@ __ffs (int x)
return cnt + 1;
}
weak_alias (__ffs, ffs)
+libc_hidden_def (__ffs)
libc_hidden_builtin_def (ffs)