From 38c0241ea9b69d7d0058445c89fa230bcd37ed42 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 5 Jul 2004 17:36:14 +0000 Subject: [PATCH] (ffs): Add libc_hidden_builtin_def. --- sysdeps/alpha/alphaev67/ffs.S | 3 ++- sysdeps/alpha/ffs.S | 3 ++- sysdeps/am29k/ffs.c | 3 ++- sysdeps/i960/ffs.c | 3 ++- sysdeps/m68k/ffs.c | 3 ++- sysdeps/m88k/ffs.c | 3 ++- sysdeps/rs6000/ffs.c | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/sysdeps/alpha/alphaev67/ffs.S b/sysdeps/alpha/alphaev67/ffs.S index 6d87008988..fb1cdd932c 100644 --- a/sysdeps/alpha/alphaev67/ffs.S +++ b/sysdeps/alpha/alphaev67/ffs.S @@ -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) diff --git a/sysdeps/alpha/ffs.S b/sysdeps/alpha/ffs.S index c73d822841..5f2074ee7c 100644 --- a/sysdeps/alpha/ffs.S +++ b/sysdeps/alpha/ffs.S @@ -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) diff --git a/sysdeps/am29k/ffs.c b/sysdeps/am29k/ffs.c index a1a74445c7..6f080db442 100644 --- a/sysdeps/am29k/ffs.c +++ b/sysdeps/am29k/ffs.c @@ -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 diff --git a/sysdeps/i960/ffs.c b/sysdeps/i960/ffs.c index 979696ec19..ad907a4ecb 100644 --- a/sysdeps/i960/ffs.c +++ b/sysdeps/i960/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 diff --git a/sysdeps/m68k/ffs.c b/sysdeps/m68k/ffs.c index a296121333..189936b94f 100644 --- a/sysdeps/m68k/ffs.c +++ b/sysdeps/m68k/ffs.c @@ -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) diff --git a/sysdeps/m88k/ffs.c b/sysdeps/m88k/ffs.c index fe78ebc154..b7db70fd3b 100644 --- a/sysdeps/m88k/ffs.c +++ b/sysdeps/m88k/ffs.c @@ -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 diff --git a/sysdeps/rs6000/ffs.c b/sysdeps/rs6000/ffs.c index 802bbc8c31..4d01727044 100644 --- a/sysdeps/rs6000/ffs.c +++ b/sysdeps/rs6000/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