about summary refs log tree commit diff
path: root/ports/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps')
-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
5 files changed, 5 insertions, 0 deletions
diff --git a/ports/sysdeps/alpha/alphaev67/ffs.S b/ports/sysdeps/alpha/alphaev67/ffs.S
index e4531525a7..9b3463cbc6 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 def0f25d77..d1f0c83719 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 b2c88b9460..9f999306ff 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 fd4e5ffaed..a3c1a0d02b 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 93ad9801bd..eb982a6dd3 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