(ffs): Add libc_hidden_builtin_def.

This commit is contained in:
Ulrich Drepper 2004-07-05 17:36:14 +00:00
parent a18e04cfb5
commit 38c0241ea9
7 changed files with 14 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -48,3 +48,4 @@ ENTRY(__ffs)
END(__ffs)
weak_alias (__ffs, ffs)
libc_hidden_builtin_def (ffs)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 1998, 2004 Free Software Foundation, Inc.
Contributed by David Mosberger (davidm@cs.arizona.edu).
This file is part of the GNU C Library.
@ -86,5 +86,6 @@ $ffsl..ng:
END(ffsl)
weak_alias (__ffs, ffs)
libc_hidden_builtin_def (ffs)
weak_extern (ffsl)
weak_alias (ffsl, ffsll)

View File

@ -1,6 +1,6 @@
/* ffs -- find first set bit in a word, counted from least significant end.
For Amd 290x0.
Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc.
Copyright (C) 1991, 1992, 1997, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Torbjorn Granlund (tege@sics.se).
@ -36,6 +36,7 @@ __ffs (x)
return 32 - cnt;
}
weak_alias (__ffs, ffs)
libc_hidden_builtin_def (ffs)
#else
#include <sysdeps/generic/ffs.c>

View File

@ -1,7 +1,7 @@
/* ffs -- find first set bit in a word, counted from least significant end.
For i960 Core architecture
This file is part of the GNU C Library.
Copyright (C) 1994, 1997 Free Software Foundation, Inc.
Copyright (C) 1994, 1997, 2004 Free Software Foundation, Inc.
Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
On-Line Applications Research Corporation.
@ -37,6 +37,7 @@ __ffs (x)
return cnt;
}
weak_alias (__ffs, ffs)
libc_hidden_builtin_def (ffs)
#else

View File

@ -1,7 +1,7 @@
/* ffs -- find first set bit in a word, counted from least significant end.
For mc68020, mc68030, mc68040.
This file is part of the GNU C Library.
Copyright (C) 1991, 1992, 1997, 1998 Free Software Foundation, Inc.
Copyright (C) 1991, 1992, 1997, 1998, 2004 Free Software Foundation, Inc.
Contributed by Torbjorn Granlund (tege@sics.se).
The GNU C Library is free software; you can redistribute it and/or
@ -37,6 +37,7 @@ __ffs (x)
return 32 - cnt;
}
weak_alias (__ffs, ffs)
libc_hidden_builtin_def (ffs)
#undef ffsl
weak_alias (__ffs, ffsl)

View File

@ -1,7 +1,7 @@
/* ffs -- find first set bit in a word, counted from least significant end.
For Motorola 88000.
This file is part of the GNU C Library.
Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc.
Copyright (C) 1991, 1992, 1997, 2004 Free Software Foundation, Inc.
Contributed by Torbjorn Granlund (tege@sics.se).
The GNU C Library is free software; you can redistribute it and/or
@ -38,6 +38,7 @@ __ffs (x)
return cnt + 1;
}
weak_alias (__ffs, ffs)
libc_hidden_builtin_def (ffs)
#else
#include <sysdeps/generic/ffs.c>

View File

@ -1,6 +1,6 @@
/* ffs -- find first set bit in a word, counted from least significant end.
For IBM rs6000.
Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc.
Copyright (C) 1991, 1992, 1997, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Torbjorn Granlund (tege@sics.se).
@ -35,6 +35,7 @@ __ffs (x)
return 32 - cnt;
}
weak_alias (__ffs, ffs)
libc_hidden_builtin_def (ffs)
#else
#include <sysdeps/generic/ffs.c>