about summary refs log tree commit diff
path: root/sysdeps/generic/ffs.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-09 09:11:57 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-09 09:11:57 +0000
commit19212f875d0dd43a8925c68e7b806561b4cabbb9 (patch)
tree474a27d1c29c9badbf03026ec21f07d51f32a9bf /sysdeps/generic/ffs.c
parent9ed56d45864d0263ce9d76aef042b82b1c5a957c (diff)
downloadglibc-19212f875d0dd43a8925c68e7b806561b4cabbb9.tar.gz
glibc-19212f875d0dd43a8925c68e7b806561b4cabbb9.tar.xz
glibc-19212f875d0dd43a8925c68e7b806561b4cabbb9.zip
Update.
1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/chown.c: Moved to ...
	* sysdeps/unix/sysv/linux/i386/chown.c: ...here.

	* sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
	* libc.map: Add chown to GLIBC_2.1.
	* sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
	* sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.

1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
	weak alias.
	* sysdeps/alpha/ffs.c: Likewise.
	* sysdeps/am29k/ffs.c: Likewise.
	* sysdeps/i386/ffs.c: Likewise.
	* sysdeps/i960/ffs.c: Likewise.
	* sysdeps/m68k/ffs.c: Likewise.
	* sysdeps/m88k/ffs.c: Likewise.
	* sysdeps/powerpc/ffs.c: Likewise.
	* sysdeps/rs6000/ffs.c: Likewise.
	* sysdeps/vax/ffs.s: Likewise.
	* string/string.h: Declare __ffs.
	* libc.map: Export it.
	* elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
	__builtin_ffs, which is not guaranteed to be namespace clean.

1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* elf/sprof.c: Rewrite symbol handling to use the normal symbol
	table, which is much more likely to exist than debugging symbols.
	(printsym): Remove const.
	(load_shobj): Don't use _dl_pagesize.  Fix mapping of section
	header table.

	* libc.map: Export __profile_frequency, used by elf/sprof, to
	avoid infinite recursion during startup.

1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
Diffstat (limited to 'sysdeps/generic/ffs.c')
-rw-r--r--sysdeps/generic/ffs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/ffs.c b/sysdeps/generic/ffs.c
index 8e1c699f51..35cf218c4b 100644
--- a/sysdeps/generic/ffs.c
+++ b/sysdeps/generic/ffs.c
@@ -24,7 +24,7 @@
 
 /* Find the first bit set in I.  */
 int
-ffs (i)
+__ffs (i)
      int i;
 {
   static const unsigned char table[] =
@@ -45,3 +45,4 @@ ffs (i)
 
   return table[x >> a] + a;
 }
+weak_alias (__ffs, ffs)