Add libc_hidden_builtin_def.

This commit is contained in:
Ulrich Drepper 2003-04-29 22:47:20 +00:00
parent 9d90f5e569
commit 79b7c8634d
25 changed files with 46 additions and 21 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Mosberger (davidm@cs.arizona.edu).
EV6 optimized by Rick Gorton <rick.gorton@alpha-processor.com>.
@ -190,3 +190,4 @@ weak_alias (__memchr, memchr)
#if !__BOUNDED_POINTERS__
weak_alias (__memchr, __ubp_memchr)
#endif
libc_hidden_builtin_def (memchr)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
EV6 optimized by Rick Gorton <rick.gorton@alpha-processor.com>.
@ -252,3 +252,4 @@ $nomoredata:
nop # E :
END(memcpy)
libc_hidden_builtin_def (memcpy)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@tamu.edu)
EV6 optimized by Rick Gorton <rick.gorton@alpha-processor.com>.
This file is part of the GNU C Library.
@ -221,3 +221,4 @@ $end:
ret $31,($26),1 # L0 :
END(memset)
libc_hidden_builtin_def (memset)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@tamu.edu>, 1996.
EV67 optimized by Rick Gorton <rick.gorton@alpha-processor.com>.
This file is part of the GNU C Library.
@ -59,3 +59,4 @@ $found: cttz $2, $3 # U0 :
jmp $31, __stxcpy # L0 :
END(strcat)
libc_hidden_builtin_def (strcat)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@tamu.edu>, 1996.
EV67 optimized by Rick Gorton <rick.gorton@alpha-processor.com>.
This file is part of the GNU C Library.
@ -98,3 +98,4 @@ $found:
END(strchr)
weak_alias (strchr, index)
libc_hidden_builtin_def (strchr)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
Contributed by David Mosberger (davidm@cs.arizona.edu).
EV67 optimized by Rick Gorton <rick.gorton@alpha-processor.com>.
This file is part of the GNU C Library.
@ -58,3 +58,4 @@ $found:
ret $31, ($26) # L0 :
END(strlen)
libc_hidden_builtin_def (strlen)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
EV67 optimized by Rick Gorton <rick.gorton@alpha-processor.com>.
This file is part of the GNU C Library.
@ -114,3 +114,4 @@ $eos:
END(strrchr)
weak_alias (strrchr, rindex)
libc_hidden_builtin_def (strrchr)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 2000 Free Software Foundation, Inc.
/* Copyright (C) 1996, 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Mosberger (davidm@cs.arizona.edu).
@ -173,3 +173,4 @@ weak_alias (__memchr, memchr)
#if !__BOUNDED_POINTERS__
weak_alias (__memchr, __ubp_memchr)
#endif
libc_hidden_builtin_def (memchr)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@tamu.edu)
This file is part of the GNU C Library.
@ -134,3 +134,4 @@ $oneq:
$done: ret
END(memset)
libc_hidden_builtin_def (memset)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996 Free Software Foundation, Inc.
/* Copyright (C) 1996, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@tamu.edu>, 1996.
@ -69,3 +69,4 @@ $found: negq t1, t2 # clear all but least set bit
jmp $31, __stxcpy
END(strcat)
libc_hidden_builtin_def (strcat)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996 Free Software Foundation, Inc.
/* Copyright (C) 1996, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@tamu.edu)
@ -92,3 +92,4 @@ $retnull:
END(strchr)
weak_alias (strchr, index)
libc_hidden_builtin_def (strchr)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@tamu.edu)
This file is part of the GNU C Library.
@ -192,3 +192,4 @@ $done:
ret # e1 :
END(strcmp)
libc_hidden_builtin_def (strcmp)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996 Free Software Foundation, Inc.
/* Copyright (C) 1996, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@tamu.edu>, 1996.
@ -39,3 +39,4 @@ ENTRY(strcpy)
jmp $31, __stxcpy # do the copy
END(strcpy)
libc_hidden_builtin_def (strcpy)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 2003 Free Software Foundation, Inc.
Contributed by David Mosberger (davidm@cs.arizona.edu).
This file is part of the GNU C Library.
@ -74,3 +74,4 @@ $found: negq t1, t2 # clear all but least set bit
ret
END(strlen)
libc_hidden_builtin_def (strlen)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@tamu.edu)
This file is part of the GNU C Library.
@ -221,3 +221,4 @@ $zerolength:
ret
END(strncmp)
libc_hidden_builtin_def (strncmp)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson (rth@tamu.edu)
This file is part of the GNU C Library.
@ -85,3 +85,4 @@ $zerocount:
ret # .. e1 :
END(strncpy)
libc_hidden_builtin_def (strncpy)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 2003 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
@ -108,3 +108,4 @@ $retnull:
END(strrchr)
weak_alias (strrchr, rindex)
libc_hidden_builtin_def (strrchr)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998 Free Software Foundation, Inc.
/* Copyright (C) 1998, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Philip Blundell <philb@gnu.org>
@ -65,3 +65,4 @@ ENTRY(memset)
strb a2, [a4], $1
RETINSTR(mov,pc,lr)
END(memset)
libc_hidden_builtin_def (memset)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998 Free Software Foundation, Inc.
/* Copyright (C) 1998, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Code contributed by Matthew Wilcox <willy@odie.barnet.ac.uk>
@ -61,3 +61,4 @@ Llastword: @ drop through to here once we find a
addne r0, r0, $1 @ must be zero)
RETINSTR(mov,pc,lr)
END(strlen)
libc_hidden_builtin_def (strlen)

View File

@ -1,7 +1,7 @@
/* memchr (str, ch, n) -- Return pointer to first occurrence of CH in the
first N bytes of STR.
For Motorola 68000.
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Schwab <schwab@gnu.org>.
@ -229,3 +229,4 @@ weak_alias (__memchr, memchr)
#if !__BOUNDED_POINTERS__
weak_alias (__memchr, __ubp_memchr)
#endif
libc_hidden_builtin_def (memchr)

View File

@ -1,6 +1,6 @@
/* strchr (str, ch) -- Return pointer to first occurrence of CH in STR.
For Motorola 68000.
Copyright (C) 1999 Free Software Foundation, Inc.
Copyright (C) 1999, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Schwab <schwab@gnu.org>.
@ -255,3 +255,4 @@ L(L9:)
END(strchr)
weak_alias (strchr, index)
libc_hidden_builtin_def (strchr)

View File

@ -133,3 +133,4 @@ L(shfth):
.set reorder
END (memcpy)
libc_hidden_builtin_def (memcpy)

View File

@ -83,3 +83,4 @@ L(exit):
.set reorder
END (memset)
libc_hidden_builtin_def (memset)

View File

@ -137,3 +137,4 @@ L(shfth):
.set reorder
END (memcpy)
libc_hidden_builtin_def (memcpy)

View File

@ -89,3 +89,4 @@ L(exit):
.set reorder
END (memset)
libc_hidden_builtin_def (memset)