mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
(ffs): Add libc_hidden_builtin_def.
This commit is contained in:
parent
a18e04cfb5
commit
38c0241ea9
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user