[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r13567 - in /fsf/trunk/libc: ./ elf/ io/ libio/ locale/programs/ malloc/ manual/ misc/ nptl/ nptl/sysdeps/unix/sysv/linux/ n...
- To: commits@xxxxxxxxxx
- Subject: [commits] r13567 - in /fsf/trunk/libc: ./ elf/ io/ libio/ locale/programs/ malloc/ manual/ misc/ nptl/ nptl/sysdeps/unix/sysv/linux/ n...
- From: eglibc@xxxxxxxxxx
- Date: Sat, 23 Apr 2011 07:03:42 -0000
Author: eglibc
Date: Sat Apr 23 00:03:39 2011
New Revision: 13567
Log:
Import glibc-mainline for 2011-04-23
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/NEWS
fsf/trunk/libc/elf/cache.c
fsf/trunk/libc/elf/dl-lookup.c
fsf/trunk/libc/elf/dl-object.c
fsf/trunk/libc/io/fchmod.c
fsf/trunk/libc/libio/fileops.c
fsf/trunk/libc/libio/oldfileops.c
fsf/trunk/libc/libio/wfileops.c
fsf/trunk/libc/locale/programs/ld-collate.c
fsf/trunk/libc/malloc/malloc.c
fsf/trunk/libc/manual/stdio.texi
fsf/trunk/libc/misc/fchflags.c
fsf/trunk/libc/misc/ftruncate.c
fsf/trunk/libc/misc/ftruncate64.c
fsf/trunk/libc/misc/tst-efgcvt.c
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c
fsf/trunk/libc/nptl/tst-kill4.c
fsf/trunk/libc/nscd/connections.c
fsf/trunk/libc/nss/getnssent_r.c
fsf/trunk/libc/stdlib/gmp-impl.h
fsf/trunk/libc/sunrpc/Makefile
fsf/trunk/libc/sunrpc/clnt_perr.c
fsf/trunk/libc/sunrpc/svc_run.c
fsf/trunk/libc/sunrpc/svc_udp.c
fsf/trunk/libc/sysdeps/generic/tls.h
fsf/trunk/libc/sysdeps/i386/stpncpy.S
fsf/trunk/libc/sysdeps/ia64/fpu/libm_lgammal.S
fsf/trunk/libc/sysdeps/ia64/memcmp.S
fsf/trunk/libc/sysdeps/ia64/strcpy.S
fsf/trunk/libc/sysdeps/mach/hurd/fchflags.c
fsf/trunk/libc/sysdeps/mach/hurd/fchmod.c
fsf/trunk/libc/sysdeps/mach/hurd/ftruncate.c
fsf/trunk/libc/sysdeps/powerpc/powerpc32/dl-machine.c
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcpy.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/strncmp.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memcpy.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strncmp.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/strncmp.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/memcpy.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcmp.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcpy.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/strncmp.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memcpy.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memcmp.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strncmp.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/strchr.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcmp.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcpy.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/strlen.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/strncmp.S
fsf/trunk/libc/sysdeps/unix/sysv/linux/check_pf.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/ftruncate64.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/ifaddrs.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/truncate64.c
fsf/trunk/libc/time/strptime_l.c
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sat Apr 23 00:03:39 2011
@@ -1,3 +1,19 @@
+2011-04-22 Ulrich Drepper <drepper@xxxxxxxxx>
+
+ [BZ #12685]
+ * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
+ mode string.
+ Patch by Eric Blake <eblake@xxxxxxxxxx>.
+
+2011-04-20 H.J. Lu <hongjiu.lu@xxxxxxxxx>
+
+ * sunrpc/Makefile (need-export-routines): Add svc_run.
+ (routines): Remove svc_run.
+ ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
+ * sunrpc/clnt_perr.c (clnt_perrno): Export.
+ * sunrpc/svc_run.c (svc_run): Likewise.
+ * sunrpc/svc_udp.c (svcudp_create): Likewise.
+
2011-04-21 Ulrich Drepper <drepper@xxxxxxxxx>
* nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes. 2011-4-17
+GNU C Library NEWS -- history of user-visible changes. 2011-4-22
Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc.
See the end for copying conditions.
@@ -19,7 +19,7 @@
* The following bugs are resolved with this release:
11724, 12420, 12445, 12454, 12460, 12469, 12489, 12509, 12510, 12518, 12583,
- 12587, 12597, 12631, 12650, 12653, 12655
+ 12587, 12597, 12631, 12650, 12653, 12655, 12685
Version 2.13
Modified: fsf/trunk/libc/elf/cache.c
==============================================================================
--- fsf/trunk/libc/elf/cache.c (original)
+++ fsf/trunk/libc/elf/cache.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2003,2005,2006,2007 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2003,2005,2006,2007,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@xxxxxxx>, 1999.
@@ -361,7 +361,7 @@
{
/* We could subtract file_entries_new_size from str_offset -
not doing so makes the code easier, the string table
- always begins at the beginning of the the new cache
+ always begins at the beginning of the new cache
struct. */
file_entries_new->libs[idx_new].flags = entry->flags;
file_entries_new->libs[idx_new].osversion = entry->osversion;
Modified: fsf/trunk/libc/elf/dl-lookup.c
==============================================================================
--- fsf/trunk/libc/elf/dl-lookup.c (original)
+++ fsf/trunk/libc/elf/dl-lookup.c Sat Apr 23 00:03:39 2011
@@ -194,7 +194,7 @@
might exist in more than one form
If the library does not provide symbol version information
- there is no problem at at: we simply use the symbol if it
+ there is no problem at all: we simply use the symbol if it
is defined.
These two lookups need to be handled differently if the
Modified: fsf/trunk/libc/elf/dl-object.c
==============================================================================
--- fsf/trunk/libc/elf/dl-object.c (original)
+++ fsf/trunk/libc/elf/dl-object.c Sat Apr 23 00:03:39 2011
@@ -112,7 +112,7 @@
/* new->l_global = 0; We use calloc therefore not necessary. */
- /* Use the 'l_scope_mem' array by default for the the 'l_scope'
+ /* Use the 'l_scope_mem' array by default for the 'l_scope'
information. If we need more entries we will allocate a large
array dynamically. */
new->l_scope = new->l_scope_mem;
Modified: fsf/trunk/libc/io/fchmod.c
==============================================================================
--- fsf/trunk/libc/io/fchmod.c (original)
+++ fsf/trunk/libc/io/fchmod.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1996, 1997, 2011 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
@@ -21,7 +21,7 @@
#include <sys/stat.h>
#include <sys/types.h>
-/* Change the protections of the file FD refers to to MODE. */
+/* Change the permissions of the file referenced by FD to MODE. */
int
__fchmod (fd, mode)
int fd;
Modified: fsf/trunk/libc/libio/fileops.c
==============================================================================
--- fsf/trunk/libc/libio/fileops.c (original)
+++ fsf/trunk/libc/libio/fileops.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997-2005, 2006, 2007, 2008, 2009
+/* Copyright (C) 1993, 1995, 1997-2005, 2006, 2007, 2008, 2009, 2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Per Bothner <bothner@xxxxxxxxxx>.
@@ -290,7 +290,7 @@
#ifdef _LIBC
last_recognized = mode;
#endif
- for (i = 1; i < 6; ++i)
+ for (i = 1; i < 7; ++i)
{
switch (*++mode)
{
@@ -507,7 +507,7 @@
if (fp->_flags & _IO_IS_APPENDING)
/* On a system without a proper O_APPEND implementation,
you would need to sys_seek(0, SEEK_END) here, but is
- is not needed nor desirable for Unix- or Posix-like systems.
+ not needed nor desirable for Unix- or Posix-like systems.
Instead, just indicate that offset (before and after) is
unpredictable. */
fp->_offset = _IO_pos_BAD;
@@ -997,18 +997,18 @@
/* Adjust for read-ahead (bytes is buffer). */
offset -= fp->_IO_read_end - fp->_IO_read_ptr;
if (fp->_offset == _IO_pos_BAD)
- {
- if (mode != 0)
- goto dumb;
- else
- {
- result = _IO_SYSSEEK (fp, 0, dir);
- if (result == EOF)
- return result;
-
- fp->_offset = result;
- }
- }
+ {
+ if (mode != 0)
+ goto dumb;
+ else
+ {
+ result = _IO_SYSSEEK (fp, 0, dir);
+ if (result == EOF)
+ return result;
+
+ fp->_offset = result;
+ }
+ }
/* Make offset absolute, assuming current pointer is file_ptr(). */
offset += fp->_offset;
if (offset < 0)
@@ -1109,7 +1109,7 @@
/* We need to do it since it is possible that the file offset in
the kernel may be changed behind our back. It may happen when
we fopen a file and then do a fork. One process may access the
- the file and the kernel file offset will be changed. */
+ file and the kernel file offset will be changed. */
if (fp->_offset >= 0)
_IO_SYSSEEK (fp, fp->_offset, 0);
@@ -1270,7 +1270,7 @@
{
f->_flags |= _IO_ERR_SEEN;
break;
- }
+ }
to_do -= count;
data = (void *) ((char *) data + count);
}
@@ -1358,12 +1358,12 @@
do_write = to_do - (block_size >= 128 ? to_do % block_size : 0);
if (do_write)
- {
+ {
count = new_do_write (f, s, do_write);
to_do -= count;
if (count < do_write)
return n - to_do;
- }
+ }
/* Now write out the remainder. Normally, this will fit in the
buffer, but it's somewhat messier for line-buffered files,
Modified: fsf/trunk/libc/libio/oldfileops.c
==============================================================================
--- fsf/trunk/libc/libio/oldfileops.c (original)
+++ fsf/trunk/libc/libio/oldfileops.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997-2004, 2005, 2007
+/* Copyright (C) 1993, 1995, 1997-2004, 2005, 2007, 2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Per Bothner <bothner@xxxxxxxxxx>.
@@ -299,7 +299,7 @@
if (fp->_flags & _IO_IS_APPENDING)
/* On a system without a proper O_APPEND implementation,
you would need to sys_seek(0, SEEK_END) here, but is
- is not needed nor desirable for Unix- or Posix-like systems.
+ not needed nor desirable for Unix- or Posix-like systems.
Instead, just indicate that offset (before and after) is
unpredictable. */
fp->_old_offset = _IO_pos_BAD;
@@ -654,7 +654,7 @@
/* We need to do it since it is possible that the file offset in
the kernel may be changed behind our back. It may happen when
we fopen a file and then do a fork. One process may access the
- the file and the kernel file offset will be changed. */
+ file and the kernel file offset will be changed. */
if (fp->_old_offset >= 0)
_IO_SYSSEEK (fp, fp->_old_offset, 0);
Modified: fsf/trunk/libc/libio/wfileops.c
==============================================================================
--- fsf/trunk/libc/libio/wfileops.c (original)
+++ fsf/trunk/libc/libio/wfileops.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,1995,1997-2004,2006,2009 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995,1997-2004,2006,2009,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Ulrich Drepper <drepper@xxxxxxxxxx>.
Based on the single byte version by Per Bothner <bothner@xxxxxxxxxx>.
@@ -759,7 +759,7 @@
/* We need to do it since it is possible that the file offset in
the kernel may be changed behind our back. It may happen when
we fopen a file and then do a fork. One process may access the
- the file and the kernel file offset will be changed. */
+ file and the kernel file offset will be changed. */
if (fp->_offset >= 0)
_IO_SYSSEEK (fp, fp->_offset, 0);
Modified: fsf/trunk/libc/locale/programs/ld-collate.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-collate.c (original)
+++ fsf/trunk/libc/locale/programs/ld-collate.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-2003, 2005-2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2003, 2005-2008, 2009, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxx>, 1995.
@@ -2565,7 +2565,7 @@
elem_table[idx * 2] = hash;
elem_table[idx * 2 + 1] = obstack_object_size (&extrapool);
- /* The the string itself including length. */
+ /* The string itself including length. */
obstack_1grow (&extrapool, namelen);
obstack_grow (&extrapool, runp->name, namelen);
Modified: fsf/trunk/libc/malloc/malloc.c
==============================================================================
--- fsf/trunk/libc/malloc/malloc.c (original)
+++ fsf/trunk/libc/malloc/malloc.c Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Malloc implementation for multiple threads without lock contention.
- Copyright (C) 1996-2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1996-2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Wolfram Gloger <wg@xxxxxxxxx>
and Doug Lea <dl@xxxxxxxxxxxxx>, 2001.
@@ -2774,7 +2774,7 @@
always true of any allocated chunk; i.e., that each allocated
chunk borders either a previously allocated and still in-use
chunk, or the base of its memory arena. This is ensured
- by making all allocations from the the `lowest' part of any found
+ by making all allocations from the `lowest' part of any found
chunk. This does not necessarily hold however for chunks
recycled via fastbins.
*/
Modified: fsf/trunk/libc/manual/stdio.texi
==============================================================================
--- fsf/trunk/libc/manual/stdio.texi (original)
+++ fsf/trunk/libc/manual/stdio.texi Sat Apr 23 00:03:39 2011
@@ -4329,7 +4329,7 @@
@item
In a call to @code{fseek} or @code{fseeko} on a text stream, either the
@var{offset} must be zero, or @var{whence} must be @code{SEEK_SET} and
-and the @var{offset} must be the result of an earlier call to @code{ftell}
+the @var{offset} must be the result of an earlier call to @code{ftell}
on the same stream.
@item
Modified: fsf/trunk/libc/misc/fchflags.c
==============================================================================
--- fsf/trunk/libc/misc/fchflags.c (original)
+++ fsf/trunk/libc/misc/fchflags.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2004, 2011 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
@@ -20,7 +20,7 @@
#include <stddef.h>
#include <sys/stat.h>
-/* Change the flags of the file FD refers to to FLAGS. */
+/* Change the flags of the file referenced by FD to FLAGS. */
int fchflags (int fd, int flags) __THROW;
Modified: fsf/trunk/libc/misc/ftruncate.c
==============================================================================
--- fsf/trunk/libc/misc/ftruncate.c (original)
+++ fsf/trunk/libc/misc/ftruncate.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 1998, 2011 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
@@ -20,7 +20,7 @@
#include <sys/types.h>
#include <unistd.h>
-/* Truncate the file FD refers to to LENGTH bytes. */
+/* Truncate the file referenced by FD to LENGTH bytes. */
int
__ftruncate (fd, length)
int fd;
Modified: fsf/trunk/libc/misc/ftruncate64.c
==============================================================================
--- fsf/trunk/libc/misc/ftruncate64.c (original)
+++ fsf/trunk/libc/misc/ftruncate64.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2001, 2011 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
@@ -20,7 +20,7 @@
#include <errno.h>
#include <unistd.h>
-/* Truncate the file FD refers to to LENGTH bytes. */
+/* Truncate the file referenced by FD to LENGTH bytes. */
int
__ftruncate64 (fd, length)
int fd;
Modified: fsf/trunk/libc/misc/tst-efgcvt.c
==============================================================================
--- fsf/trunk/libc/misc/tst-efgcvt.c (original)
+++ fsf/trunk/libc/misc/tst-efgcvt.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000, 2004, 2011 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
@@ -184,7 +184,7 @@
(void) ecvt (123.456, 10000, &decpt, &sign);
(void) fcvt (123.456, 10000, &decpt, &sign);
- /* Some tests for for the reentrant functions. */
+ /* Some tests for the reentrant functions. */
/* Use a too small buffer. */
res = ecvt_r (123.456, 10, &decpt, &sign, buf, 1);
if (res == 0)
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_kill.c
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_kill.c (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_kill.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004, 2006, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2002.
@@ -45,7 +45,7 @@
/* Not a valid thread handle. */
return ESRCH;
- /* Disallow sending the signal we use for cancellation, timers, for
+ /* Disallow sending the signal we use for cancellation, timers,
for the setxid implementation. */
if (signo == SIGCANCEL || signo == SIGTIMER || signo == SIGSETXID)
return EINVAL;
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2009.
@@ -49,7 +49,7 @@
/* Not a valid thread handle. */
return ESRCH;
- /* Disallow sending the signal we use for cancellation, timers, for
+ /* Disallow sending the signal we use for cancellation, timers,
for the setxid implementation. */
if (signo == SIGCANCEL || signo == SIGTIMER || signo == SIGSETXID)
return EINVAL;
Modified: fsf/trunk/libc/nptl/tst-kill4.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-kill4.c (original)
+++ fsf/trunk/libc/nptl/tst-kill4.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2006, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 2003.
@@ -67,7 +67,7 @@
/* The following only works because we assume here something about
the implementation. Namely, that the memory allocated for the
- thread descriptor is not going away, that the the TID field is
+ thread descriptor is not going away, that the TID field is
cleared and therefore the signal is sent to process 0, and that
we can savely assume there is no other process with this ID at
that time. */
Modified: fsf/trunk/libc/nscd/connections.c
==============================================================================
--- fsf/trunk/libc/nscd/connections.c (original)
+++ fsf/trunk/libc/nscd/connections.c Sat Apr 23 00:03:39 2011
@@ -1583,7 +1583,7 @@
/* This is the main loop. It is replicated in different threads but
- the the use of the ready list makes sure only one thread handles an
+ the use of the ready list makes sure only one thread handles an
incoming connection. */
static void *
__attribute__ ((__noreturn__))
Modified: fsf/trunk/libc/nss/getnssent_r.c
==============================================================================
--- fsf/trunk/libc/nss/getnssent_r.c (original)
+++ fsf/trunk/libc/nss/getnssent_r.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2002, 2004, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002, 2004, 2007, 2011 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
@@ -164,7 +164,7 @@
status = DL_CALL_FCT (fct.f,
(resbuf, buffer, buflen, &errno, &h_errno));
- /* The the status is NSS_STATUS_TRYAGAIN and errno is ERANGE the
+ /* The status is NSS_STATUS_TRYAGAIN and errno is ERANGE the
provided buffer is too small. In this case we should give
the user the possibility to enlarge the buffer and we should
not simply go on with the next service (even if the TRYAGAIN
Modified: fsf/trunk/libc/stdlib/gmp-impl.h
==============================================================================
--- fsf/trunk/libc/stdlib/gmp-impl.h (original)
+++ fsf/trunk/libc/stdlib/gmp-impl.h Sat Apr 23 00:03:39 2011
@@ -1,6 +1,6 @@
/* Include file for internal GNU MP types and definitions.
-Copyright (C) 1991, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+Copyright (C) 1991, 1993, 1994, 1995, 1996, 2011 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -241,7 +241,7 @@
(r) = _r; \
(q) = _q; \
} while (0)
-/* Like udiv_qrnnd_preinv, but for for any value D. DNORM is D shifted left
+/* Like udiv_qrnnd_preinv, but for any value D. DNORM is D shifted left
so that its most significant bit is set. LGUP is ceil(log2(D)). */
#define udiv_qrnnd_preinv2gen(q, r, nh, nl, d, di, dnorm, lgup) \
do { \
Modified: fsf/trunk/libc/sunrpc/Makefile
==============================================================================
--- fsf/trunk/libc/sunrpc/Makefile (original)
+++ fsf/trunk/libc/sunrpc/Makefile Sat Apr 23 00:03:39 2011
@@ -64,12 +64,13 @@
need-export-routines := auth_des auth_unix clnt_gen clnt_perr clnt_tcp \
clnt_udp get_myaddr key_call netname pm_getport \
rpc_thread svc svc_tcp svc_udp xcrypt xdr_array xdr \
- xdr_intXX_t xdr_mem xdr_ref xdr_sizeof xdr_stdio
+ xdr_intXX_t xdr_mem xdr_ref xdr_sizeof xdr_stdio \
+ svc_run
routines := auth_none authuxprot bindrsvprt clnt_raw clnt_simp \
rpc_dtable getrpcport pmap_clnt pm_getmaps pmap_prot pmap_prot2 \
pmap_rmt rpc_prot rpc_common rpc_cmsg svc_auth svc_authux svc_raw \
- svc_run svc_simple xdr_float xdr_rec publickey authdes_prot \
+ svc_simple xdr_float xdr_rec publickey authdes_prot \
des_crypt des_impl des_soft key_prot openchild rtime svcauth_des \
clnt_unix svc_unix create_xid $(need-export-routines)
# We only add the RPC for compatibility to libc.so.
@@ -212,4 +213,4 @@
endif
endif
-$(objpfx)thrsvc: $(shared-thread-library)
+$(objpfx)thrsvc: $(common-objpfx)linkobj/libc.so $(shared-thread-library)
Modified: fsf/trunk/libc/sunrpc/clnt_perr.c
==============================================================================
--- fsf/trunk/libc/sunrpc/clnt_perr.c (original)
+++ fsf/trunk/libc/sunrpc/clnt_perr.c Sat Apr 23 00:03:39 2011
@@ -270,7 +270,11 @@
{
(void) __fxprintf (NULL, "%s", clnt_sperrno (num));
}
+#ifdef EXPORT_RPC_SYMBOLS
+libc_hidden_def (clnt_perrno)
+#else
libc_hidden_nolink (clnt_perrno, GLIBC_2_0)
+#endif
char *
clnt_spcreateerror (const char *msg)
Modified: fsf/trunk/libc/sunrpc/svc_run.c
==============================================================================
--- fsf/trunk/libc/sunrpc/svc_run.c (original)
+++ fsf/trunk/libc/sunrpc/svc_run.c Sat Apr 23 00:03:39 2011
@@ -101,4 +101,8 @@
free (my_pollfd);
}
+#ifdef EXPORT_RPC_SYMBOLS
+libc_hidden_def (svc_run)
+#else
libc_hidden_nolink (svc_run, GLIBC_2_0)
+#endif
Modified: fsf/trunk/libc/sunrpc/svc_udp.c
==============================================================================
--- fsf/trunk/libc/sunrpc/svc_udp.c (original)
+++ fsf/trunk/libc/sunrpc/svc_udp.c Sat Apr 23 00:03:39 2011
@@ -195,7 +195,11 @@
{
return svcudp_bufcreate (sock, UDPMSGSIZE, UDPMSGSIZE);
}
+#ifdef EXPORT_RPC_SYMBOLS
+libc_hidden_def (svcudp_create)
+#else
libc_hidden_nolink (svcudp_create, GLIBC_2_0)
+#endif
static enum xprt_stat
svcudp_stat (xprt)
Modified: fsf/trunk/libc/sysdeps/generic/tls.h
==============================================================================
--- fsf/trunk/libc/sysdeps/generic/tls.h (original)
+++ fsf/trunk/libc/sysdeps/generic/tls.h Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Definition for thread-local data handling. Generic version.
- Copyright (C) 2002, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2006, 2011 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
@@ -71,6 +71,6 @@
THREAD_DTV()
This macro returns the address of the DTV of the current thread.
- This normally is done using the the thread register which points
+ This normally is done using the thread register which points
to the dtv or the TCB (from which the DTV can found).
*/
Modified: fsf/trunk/libc/sysdeps/i386/stpncpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/stpncpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/stpncpy.S Sat Apr 23 00:03:39 2011
@@ -1,7 +1,7 @@
/* copy no more then N bytes from SRC to DEST, returning the address of
the terminating '\0' in DEST.
For Intel 80x86, x>=3.
- Copyright (C) 1994-1997,2000,2002,2005 Free Software Foundation, Inc.
+ Copyright (C) 1994-1997,2000,2002,2005,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxxxxxx>
Some bug fixes by Alan Modra <Alan@xxxxxxxxxxxxxxxxxxxxxxxx>
@@ -56,7 +56,7 @@
ALIGN(4)
/* Four times unfolded loop with two loop counters. We get the
- the third value (the source address) by using the index+base
+ third value (the source address) by using the index+base
addressing mode. */
L(2): movb (%eax,%esi), %dl /* load current char */
movb %dl, (%eax) /* and store it */
Modified: fsf/trunk/libc/sysdeps/ia64/fpu/libm_lgammal.S
==============================================================================
--- fsf/trunk/libc/sysdeps/ia64/fpu/libm_lgammal.S (original)
+++ fsf/trunk/libc/sysdeps/ia64/fpu/libm_lgammal.S Sat Apr 23 00:03:39 2011
@@ -7463,7 +7463,7 @@
{ .mfb
nop.m 0
nop.f 0
- // branch out if if x is natval, nan, +inf
+ // branch out if x is natval, nan, +inf
(p6) br.cond.spnt lgammal_nan_pinf
};;
{ .mfb
Modified: fsf/trunk/libc/sysdeps/ia64/memcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/ia64/memcmp.S (original)
+++ fsf/trunk/libc/sysdeps/ia64/memcmp.S Sat Apr 23 00:03:39 2011
@@ -1,6 +1,6 @@
/* Optimized version of the standard memcmp() function.
This file is part of the GNU C Library.
- Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2004, 2011 Free Software Foundation, Inc.
Contributed by Dan Pop <Dan.Pop@xxxxxxx>.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@
in1: src (aka s2)
in2: byte count
- In this form, it assumes little endian mode. For big endian mode, the
+ In this form, it assumes little endian mode. For big endian mode,
the two shifts in .l2 must be inverted:
shl tmp1[0] = r[1 + MEMLAT], sh1 // tmp1 = w0 << sh1
Modified: fsf/trunk/libc/sysdeps/ia64/strcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/ia64/strcpy.S (original)
+++ fsf/trunk/libc/sysdeps/ia64/strcpy.S Sat Apr 23 00:03:39 2011
@@ -1,6 +1,6 @@
/* Optimized version of the standard strcpy() function.
This file is part of the GNU C Library.
- Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2003, 2011 Free Software Foundation, Inc.
Contributed by Dan Pop <Dan.Pop@xxxxxxx>.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
in0: dest
in1: src
- In this form, it assumes little endian mode. For big endian mode, the
+ In this form, it assumes little endian mode. For big endian mode,
the two shifts in .l2 must be inverted:
shl value = r[1], sh1 // value = w0 << sh1
Modified: fsf/trunk/libc/sysdeps/mach/hurd/fchflags.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/fchflags.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/fchflags.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 94, 97, 98, 11 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
@@ -22,7 +22,7 @@
#include <hurd.h>
#include <hurd/fd.h>
-/* Change the flags of the file FD refers to to FLAGS. */
+/* Change the flags of the file referenced by FD to FLAGS. */
/* XXX should be __fchflags? */
int
Modified: fsf/trunk/libc/sysdeps/mach/hurd/fchmod.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/fchmod.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/fchmod.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1994, 1995, 1997, 2011 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
@@ -22,7 +22,7 @@
#include <hurd.h>
#include <hurd/fd.h>
-/* Change the protections of the file FD refers to to MODE. */
+/* Change the permissions of the file referenced by FD to MODE. */
int
__fchmod (fd, mode)
int fd;
Modified: fsf/trunk/libc/sysdeps/mach/hurd/ftruncate.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/ftruncate.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/ftruncate.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 94, 95, 97, 98, 11 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
@@ -22,7 +22,7 @@
#include <hurd.h>
#include <hurd/fd.h>
-/* Truncate the file FD refers to to LENGTH bytes. */
+/* Truncate the file referenced by FD to LENGTH bytes. */
int
__ftruncate (fd, length)
int fd;
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/dl-machine.c
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/dl-machine.c (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/dl-machine.c Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation functions. PowerPC version.
- Copyright (C) 1995-2006, 2008 Free Software Foundation, Inc.
+ Copyright (C) 1995-2006, 2008, 2011 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
@@ -204,7 +204,7 @@
(1) and (3), this is obvious because only one instruction is
changed and the PPC architecture guarantees that aligned stores are
atomic. For (5), this is more tricky. When changing (4) to (5),
- the `b' instruction is first changed to to `mtctr'; this is safe
+ the `b' instruction is first changed to `mtctr'; this is safe
and is why the `lwzu' instruction is not just a simple `addi'.
Once this is done, and is visible to all processors, the `lwzu' can
safely be changed to a `lwz'. */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* sqrt function. PowerPC32 version.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2011 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
@@ -36,7 +36,7 @@
This part of the function is a leaf routine, so no need to stack a
frame or execute prologue/epilogue code. This means it is safe to
transfer directly to w_sqrt as long as the input value (f1) is
- preserved. Putting the the sqrt result into f2 (double parameter 2)
+ preserved. Putting the sqrt result into f2 (double parameter 2)
allows passing both the input value and sqrt result into the extended
wrapper so there is no need to recompute.
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* sqrtf function. PowerPC32 version.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2011 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
@@ -36,7 +36,7 @@
This part of the function is a leaf routine, so no need to stack a
frame or execute prologue/epilogue code. This means it is safe to
transfer directly to w_sqrt as long as the input value (f1) is
- preserved. Putting the the sqrt result into f2 (float parameter 2)
+ preserved. Putting the sqrt result into f2 (float parameter 2)
allows passing both the input value and sqrt result into the extended
wrapper so there is no need to recompute.
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/memcpy.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized memcpy implementation for PowerPC32 on PowerPC64.
- Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2011 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
@@ -24,10 +24,10 @@
/* __ptr_t [r3] memcpy (__ptr_t dst [r3], __ptr_t src [r4], size_t len [r5]);
Returns 'dst'.
- Memcpy handles short copies (< 32-bytes) using a binary move blocks
- (no loops) of lwz/stw. The tail (remaining 1-3) bytes is handled
- with the appropriate combination of byte and halfword load/stores.
- There is minimal effort to optimize the alignment of short moves.
+ Memcpy handles short copies (< 32-bytes) using a binary move blocks
+ (no loops) of lwz/stw. The tail (remaining 1-3) bytes is handled
+ with the appropriate combination of byte and halfword load/stores.
+ There is minimal effort to optimize the alignment of short moves.
Longer moves (>= 32-bytes) justify the effort to get at least the
destination word (4-byte) aligned. Further optimization is
@@ -43,7 +43,7 @@
stw 30,20(1)
cfi_offset(30,(20-32))
mr 30,3
- cmplwi cr1,5,31
+ cmplwi cr1,5,31
stw 31,24(1)
cfi_offset(31,(24-32))
neg 0,3
@@ -52,13 +52,13 @@
clrlwi 10,4,30 /* check alignment of src. */
cmplwi cr6,5,8
ble- cr1,.L2 /* If move < 32 bytes use short move code. */
- cmplw cr6,10,11
+ cmplw cr6,10,11
mr 12,4
srwi 9,5,2 /* Number of full words remaining. */
mtcrf 0x01,0
mr 31,5
beq .L0
-
+
subf 31,0,5
/* Move 0-3 bytes as needed to get the destination word aligned. */
1: bf 31,2f
@@ -72,17 +72,17 @@
sth 6,0(3)
addi 3,3,2
0:
- clrlwi 10,12,30 /* check alignment of src again. */
+ clrlwi 10,12,30 /* check alignment of src again. */
srwi 9,31,2 /* Number of full words remaining. */
-
- /* Copy words from source to destination, assuming the destination is
+
+ /* Copy words from source to destination, assuming the destination is
aligned on a word boundary.
At this point we know there are at least 25 bytes left (32-7) to copy.
- The next step is to determine if the source is also word aligned.
+ The next step is to determine if the source is also word aligned.
If not branch to the unaligned move code at .L6. which uses
a load, shift, store strategy.
-
+
Otherwise source and destination are word aligned, and we can use
the optimized word copy loop. */
.L0:
@@ -92,16 +92,16 @@
/* Move words where destination and source are word aligned.
Use an unrolled loop to copy 4 words (16-bytes) per iteration.
- If the the copy is not an exact multiple of 16 bytes, 1-3
+ If the copy is not an exact multiple of 16 bytes, 1-3
words are copied as needed to set up the main loop. After
- the main loop exits there may be a tail of 1-3 bytes. These bytes are
+ the main loop exits there may be a tail of 1-3 bytes. These bytes are
copied a halfword/byte at a time as needed to preserve alignment. */
srwi 8,31,4 /* calculate the 16 byte loop count */
cmplwi cr1,9,4
cmplwi cr6,11,0
mr 11,12
-
+
bf 30,1f
lwz 6,0(12)
lwz 7,4(12)
@@ -112,7 +112,7 @@
addi 10,3,8
bf 31,4f
lwz 0,8(12)
- stw 0,8(3)
+ stw 0,8(3)
blt cr1,3f
addi 11,12,12
addi 10,3,12
@@ -126,7 +126,7 @@
addi 11,12,4
stw 6,0(3)
addi 10,3,4
-
+
.align 4
4:
lwz 6,0(11)
@@ -140,14 +140,14 @@
addi 11,11,16
addi 10,10,16
bdnz 4b
-3:
+3:
clrrwi 0,31,2
mtcrf 0x01,31
beq cr6,0f
.L9:
add 3,3,0
add 12,12,0
-
+
/* At this point we have a tail of 0-3 bytes and we know that the
destination is word aligned. */
2: bf 30,1f
@@ -165,27 +165,27 @@
lwz 31,24(1)
addi 1,1,32
blr
-
-/* Copy up to 31 bytes. This is divided into two cases 0-8 bytes and
- 9-31 bytes. Each case is handled without loops, using binary
- (1,2,4,8) tests.
-
+
+/* Copy up to 31 bytes. This is divided into two cases 0-8 bytes and
+ 9-31 bytes. Each case is handled without loops, using binary
+ (1,2,4,8) tests.
+
In the short (0-8 byte) case no attempt is made to force alignment
- of either source or destination. The hardware will handle the
- unaligned load/stores with small delays for crossing 32- 64-byte, and
+ of either source or destination. The hardware will handle the
+ unaligned load/stores with small delays for crossing 32- 64-byte, and
4096-byte boundaries. Since these short moves are unlikely to be
- unaligned or cross these boundaries, the overhead to force
+ unaligned or cross these boundaries, the overhead to force
alignment is not justified.
-
+
The longer (9-31 byte) move is more likely to cross 32- or 64-byte
boundaries. Since only loads are sensitive to the 32-/64-byte
- boundaries it is more important to align the source than the
+ boundaries it is more important to align the source than the
destination. If the source is not already word aligned, we first
- move 1-3 bytes as needed. While the destination and stores may
+ move 1-3 bytes as needed. While the destination and stores may
still be unaligned, this is only an issue for page (4096 byte
- boundary) crossing, which should be rare for these short moves.
- The hardware handles this case automatically with a small delay. */
-
+ boundary) crossing, which should be rare for these short moves.
+ The hardware handles this case automatically with a small delay. */
+
.align 4
.L2:
mtcrf 0x01,5
@@ -248,11 +248,11 @@
lwz 6,0(12)
addi 12,12,4
stw 6,0(3)
- addi 3,3,4
+ addi 3,3,4
2: /* Move 2-3 bytes. */
bf 30,1f
lhz 6,0(12)
- sth 6,0(3)
+ sth 6,0(3)
bf 31,0f
lbz 7,2(12)
stb 7,2(3)
@@ -292,7 +292,7 @@
6:
bf 30,5f
lhz 7,4(4)
- sth 7,4(3)
+ sth 7,4(3)
bf 31,0f
lbz 8,6(4)
stb 8,6(3)
@@ -301,7 +301,7 @@
addi 1,1,32
blr
.align 4
-5:
+5:
bf 31,0f
lbz 6,4(4)
stb 6,4(3)
@@ -318,15 +318,15 @@
/* Copy words where the destination is aligned but the source is
not. Use aligned word loads from the source, shifted to realign
- the data, to allow aligned destination stores.
+ the data, to allow aligned destination stores.
Use an unrolled loop to copy 4 words (16-bytes) per iteration.
A single word is retained for storing at loop exit to avoid walking
off the end of a page within the loop.
- If the copy is not an exact multiple of 16 bytes, 1-3
+ If the copy is not an exact multiple of 16 bytes, 1-3
words are copied as needed to set up the main loop. After
- the main loop exits there may be a tail of 1-3 bytes. These bytes are
+ the main loop exits there may be a tail of 1-3 bytes. These bytes are
copied a halfword/byte at a time as needed to preserve alignment. */
-
+
cmplwi cr6,11,0 /* are there tail bytes left ? */
subf 5,10,12 /* back up src pointer to prev word alignment */
@@ -381,8 +381,8 @@
.align 4
4:
/* copy 16 bytes at a time */
- slw 0,6,10
- srw 8,7,9
+ slw 0,6,10
+ srw 8,7,9
or 0,0,8
lwz 6,0(5)
stw 0,0(4)
@@ -391,13 +391,13 @@
or 0,0,8
lwz 7,4(5)
stw 0,4(4)
- slw 0,6,10
- srw 8,7,9
+ slw 0,6,10
+ srw 8,7,9
or 0,0,8
lwz 6,8(5)
stw 0,8(4)
slw 0,7,10
- srw 8,6,9
+ srw 8,6,9
or 0,0,8
lwz 7,12(5)
stw 0,12(4)
@@ -406,8 +406,8 @@
bdnz+ 4b
8:
/* calculate and store the final word */
- slw 0,6,10
- srw 8,7,9
+ slw 0,6,10
+ srw 8,7,9
or 0,0,8
stw 0,0(4)
3:
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/strncmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/strncmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power4/strncmp.S Sat Apr 23 00:03:39 2011
@@ -33,7 +33,7 @@
#define rSTR2 r4 /* second string arg */
#define rN r5 /* max string length */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers. */
#define rWORD1 r6 /* current word in s1 */
#define rWORD2 r7 /* current word in s2 */
@@ -58,7 +58,7 @@
clrlwi rN, rN, 30
addi rFEFE, rFEFE, -0x101
addi r7F7F, r7F7F, 0x7f7f
- cmplwi cr1, rN, 0
+ cmplwi cr1, rN, 0
beq L(unaligned)
mtctr rTMP /* Power4 wants mtctr 1st in dispatch group. */
@@ -66,7 +66,7 @@
lwz rWORD2, 0(rSTR2)
b L(g1)
-L(g0):
+L(g0):
lwzu rWORD1, 4(rSTR1)
bne- cr1, L(different)
lwzu rWORD2, 4(rSTR2)
@@ -76,11 +76,11 @@
and. rTMP, rTMP, rNEG
cmpw cr1, rWORD1, rWORD2
beq+ L(g0)
-
+
/* OK. We've hit the end of the string. We need to be careful that
we don't compare two strings as different because of gunk beyond
the end of the strings... */
-
+
L(endstring):
and rTMP, r7F7F, rWORD1
beq cr1, L(equal)
@@ -166,7 +166,7 @@
b L(u1)
L(u3): sub rRTN, rWORD3, rWORD4
- blr
+ blr
L(u4): sub rRTN, rWORD1, rWORD2
blr
L(ux):
@@ -174,4 +174,3 @@
blr
END (BP_SYM (strncmp))
libc_hidden_builtin_def (strncmp)
-
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* sqrt function. PowerPC32 version.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2011 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
@@ -35,7 +35,7 @@
This part of the function looks like a leaf routine, so no need to
stack a frame or execute prologue/epilogue code. It is safe to
branch directly to w_sqrt as long as the input value (f1) is
- preserved. Putting the the sqrt result into f2 (float parameter 2)
+ preserved. Putting the sqrt result into f2 (float parameter 2)
allows passing both the input value and sqrt result into the extended
wrapper so there is no need to recompute.
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* sqrtf function. PowerPC32 version.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2011 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
@@ -35,7 +35,7 @@
This part of the function looks like a leaf routine, so no need to
stack a frame or execute prologue/epilogue code. It is safe to
branch directly to w_sqrt as long as the input value (f1) is
- preserved. Putting the the sqrt result into f2 (float parameter 2)
+ preserved. Putting the sqrt result into f2 (float parameter 2)
allows passing both the input value and sqrt result into the extended
wrapper so there is no need to recompute.
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memcpy.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized memcpy implementation for PowerPC32 on POWER6.
- Copyright (C) 2003, 2006, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2009, 2011 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
@@ -100,7 +100,7 @@
/* Move words where destination and source are word aligned.
Use an unrolled loop to copy 4 words (16-bytes) per iteration.
- If the the copy is not an exact multiple of 16 bytes, 1-3
+ If the copy is not an exact multiple of 16 bytes, 1-3
words are copied as needed to set up the main loop. After
the main loop exits there may be a tail of 1-3 bytes. These bytes are
copied a halfword/byte at a time as needed to preserve alignment. */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strncmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strncmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power7/strncmp.S Sat Apr 23 00:03:39 2011
@@ -35,7 +35,7 @@
#define rSTR2 r4 /* second string arg */
#define rN r5 /* max string length */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers. */
#define rWORD1 r6 /* current word in s1 */
#define rWORD2 r7 /* current word in s2 */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/strncmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/strncmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/strncmp.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized strcmp implementation for PowerPC32.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2011 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
@@ -33,7 +33,7 @@
#define rSTR2 r4 /* second string arg */
#define rN r5 /* max string length */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers. */
#define rWORD1 r6 /* current word in s1 */
#define rWORD2 r7 /* current word in s2 */
@@ -56,7 +56,7 @@
clrlwi rN, rN, 30
addi rFEFE, rFEFE, -0x101
addi r7F7F, r7F7F, 0x7f7f
- cmplwi cr1, rN, 0
+ cmplwi cr1, rN, 0
beq L(unaligned)
mtctr rTMP /* Power4 wants mtctr 1st in dispatch group. */
@@ -64,7 +64,7 @@
lwz rWORD2, 0(rSTR2)
b L(g1)
-L(g0):
+L(g0):
lwzu rWORD1, 4(rSTR1)
bne- cr1, L(different)
lwzu rWORD2, 4(rSTR2)
@@ -74,11 +74,11 @@
and. rTMP, rTMP, rNEG
cmpw cr1, rWORD1, rWORD2
beq+ L(g0)
-
+
/* OK. We've hit the end of the string. We need to be careful that
we don't compare two strings as different because of gunk beyond
the end of the strings... */
-
+
L(endstring):
and rTMP, r7F7F, rWORD1
beq cr1, L(equal)
@@ -154,7 +154,7 @@
lbzu rWORD1, 1(rSTR1)
bne+ cr1, L(u0)
-L(u2): lbzu rWORD1, -1(rSTR1)
+L(u2): lbzu rWORD1, -1(rSTR1)
L(u3): sub rRTN, rWORD1, rWORD2
blr
END (BP_SYM (strncmp))
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/memcpy.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized memcpy implementation for PowerPC64.
- Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2011 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
@@ -24,10 +24,10 @@
/* __ptr_t [r3] memcpy (__ptr_t dst [r3], __ptr_t src [r4], size_t len [r5]);
Returns 'dst'.
- Memcpy handles short copies (< 32-bytes) using a binary move blocks
- (no loops) of lwz/stw. The tail (remaining 1-3) bytes is handled
- with the appropriate combination of byte and halfword load/stores.
- There is minimal effort to optimize the alignment of short moves.
+ Memcpy handles short copies (< 32-bytes) using a binary move blocks
+ (no loops) of lwz/stw. The tail (remaining 1-3) bytes is handled
+ with the appropriate combination of byte and halfword load/stores.
+ There is minimal effort to optimize the alignment of short moves.
The 64-bit implementations of POWER3 and POWER4 do a reasonable job
of handling unligned load/stores that do not cross 32-byte boundries.
@@ -49,13 +49,13 @@
clrldi 10,4,61 /* check alignement of src. */
cmpldi cr6,5,8
ble- cr1,.L2 /* If move < 32 bytes use short move code. */
- cmpld cr6,10,11
+ cmpld cr6,10,11
mr 12,4
srdi 9,5,3 /* Number of full double words remaining. */
mtcrf 0x01,0
mr 31,5
beq .L0
-
+
subf 31,0,5
/* Move 0-7 bytes as needed to get the destination doubleword alligned. */
1: bf 31,2f
@@ -74,17 +74,17 @@
stw 6,0(3)
addi 3,3,4
0:
- clrldi 10,12,61 /* check alignement of src again. */
+ clrldi 10,12,61 /* check alignement of src again. */
srdi 9,31,3 /* Number of full double words remaining. */
-
+
/* Copy doublewords from source to destination, assumpting the
destination is aligned on a doubleword boundary.
At this point we know there are at least 25 bytes left (32-7) to copy.
- The next step is to determine if the source is also doubleword aligned.
+ The next step is to determine if the source is also doubleword aligned.
If not branch to the unaligned move code at .L6. which uses
a load, shift, store strategy.
-
+
Otherwise source and destination are doubleword aligned, and we can
the optimized doubleword copy loop. */
.L0:
@@ -94,16 +94,16 @@
/* Move doublewords where destination and source are DW aligned.
Use a unrolled loop to copy 4 doubleword (32-bytes) per iteration.
- If the the copy is not an exact multiple of 32 bytes, 1-3
+ If the copy is not an exact multiple of 32 bytes, 1-3
doublewords are copied as needed to set up the main loop. After
- the main loop exits there may be a tail of 1-7 bytes. These byte are
+ the main loop exits there may be a tail of 1-7 bytes. These byte are
copied a word/halfword/byte at a time as needed to preserve alignment. */
srdi 8,31,5
cmpldi cr1,9,4
cmpldi cr6,11,0
mr 11,12
-
+
bf 30,1f
ld 6,0(12)
ld 7,8(12)
@@ -114,7 +114,7 @@
addi 10,3,16
bf 31,4f
ld 0,16(12)
- std 0,16(3)
+ std 0,16(3)
blt cr1,3f
addi 11,12,24
addi 10,3,24
@@ -128,7 +128,7 @@
addi 11,12,8
std 6,0(3)
addi 10,3,8
-
+
.align 4
4:
ld 6,0(11)
@@ -143,7 +143,7 @@
std 0,24(10)
addi 10,10,32
bdnz 4b
-3:
+3:
rldicr 0,31,0,60
mtcrf 0x01,31
@@ -151,7 +151,7 @@
.L9:
add 3,3,0
add 12,12,0
-
+
/* At this point we have a tail of 0-7 bytes and we know that the
destiniation is double word aligned. */
4: bf 29,2f
@@ -172,29 +172,29 @@
ld 31,-8(1)
ld 3,-16(1)
blr
-
-/* Copy up to 31 bytes. This divided into two cases 0-8 bytes and 9-31
- bytes. Each case is handled without loops, using binary (1,2,4,8)
- tests.
-
+
+/* Copy up to 31 bytes. This divided into two cases 0-8 bytes and 9-31
+ bytes. Each case is handled without loops, using binary (1,2,4,8)
+ tests.
+
In the short (0-8 byte) case no attempt is made to force alignment
- of either source or destination. The hardware will handle the
- unaligned load/stores with small delays for crossing 32- 64-byte, and
+ of either source or destination. The hardware will handle the
+ unaligned load/stores with small delays for crossing 32- 64-byte, and
4096-byte boundaries. Since these short moves are unlikely to be
- unaligned or cross these boundaries, the overhead to force
+ unaligned or cross these boundaries, the overhead to force
alignment is not justified.
-
+
The longer (9-31 byte) move is more likely to cross 32- or 64-byte
boundaries. Since only loads are sensitive to the 32-/64-byte
- boundaries it is more important to align the source then the
+ boundaries it is more important to align the source then the
destination. If the source is not already word aligned, we first
- move 1-3 bytes as needed. Since we are only word aligned we don't
- use double word load/stores to insure that all loads are aligned.
+ move 1-3 bytes as needed. Since we are only word aligned we don't
+ use double word load/stores to insure that all loads are aligned.
While the destination and stores may still be unaligned, this
is only an issue for page (4096 byte boundary) crossing, which
should be rare for these short moves. The hardware handles this
- case automatically with a small delay. */
-
+ case automatically with a small delay. */
+
.align 4
.L2:
mtcrf 0x01,5
@@ -257,11 +257,11 @@
lwz 6,0(12)
addi 12,12,4
stw 6,0(3)
- addi 3,3,4
+ addi 3,3,4
2: /* Move 2-3 bytes. */
bf 30,1f
lhz 6,0(12)
- sth 6,0(3)
+ sth 6,0(3)
bf 31,0f
lbz 7,2(12)
stb 7,2(3)
@@ -282,7 +282,7 @@
mr 12,4
bne cr6,4f
/* Would have liked to use use ld/std here but the 630 processors are
- slow for load/store doubles that are not at least word aligned.
+ slow for load/store doubles that are not at least word aligned.
Unaligned Load/Store word execute with only a 1 cycle penaltity. */
lwz 6,0(4)
lwz 7,4(4)
@@ -298,14 +298,14 @@
6:
bf 30,5f
lhz 7,4(4)
- sth 7,4(3)
+ sth 7,4(3)
bf 31,0f
lbz 8,6(4)
stb 8,6(3)
ld 3,-16(1)
blr
.align 4
-5:
+5:
bf 31,0f
lbz 6,4(4)
stb 6,4(3)
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcmp.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized strcmp implementation for PowerPC64.
- Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2011 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
@@ -33,7 +33,7 @@
#define rSTR2 r4 /* second string arg */
#define rN r5 /* max string length */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers. */
#define rWORD1 r6 /* current word in s1 */
#define rWORD2 r7 /* current word in s2 */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/memcpy.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized memcpy implementation for PowerPC64.
- Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2011 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
@@ -96,7 +96,7 @@
/* Move doublewords where destination and source are DW aligned.
Use a unrolled loop to copy 4 doubleword (32-bytes) per iteration.
- If the the copy is not an exact multiple of 32 bytes, 1-3
+ If the copy is not an exact multiple of 32 bytes, 1-3
doublewords are copied as needed to set up the main loop. After
the main loop exits there may be a tail of 1-7 bytes. These byte are
copied a word/halfword/byte at a time as needed to preserve alignment. */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/strncmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/strncmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/strncmp.S Sat Apr 23 00:03:39 2011
@@ -34,7 +34,7 @@
#define rSTR2 r4 /* second string arg */
#define rN r5 /* max string length */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers. */
#define rWORD1 r6 /* current word in s1 */
#define rWORD2 r7 /* current word in s2 */
@@ -59,7 +59,7 @@
clrldi rN, rN, 61
addi rFEFE, rFEFE, -0x101
addi r7F7F, r7F7F, 0x7f7f
- cmpldi cr1, rN, 0
+ cmpldi cr1, rN, 0
beq L(unaligned)
mtctr rTMP /* Power4 wants mtctr 1st in dispatch group. */
@@ -70,7 +70,7 @@
add rFEFE, rFEFE, rTMP
b L(g1)
-L(g0):
+L(g0):
ldu rWORD1, 8(rSTR1)
bne- cr1, L(different)
ldu rWORD2, 8(rSTR2)
@@ -80,11 +80,11 @@
and. rTMP, rTMP, rNEG
cmpd cr1, rWORD1, rWORD2
beq+ L(g0)
-
+
/* OK. We've hit the end of the string. We need to be careful that
we don't compare two strings as different because of gunk beyond
the end of the strings... */
-
+
L(endstring):
and rTMP, r7F7F, rWORD1
beq cr1, L(equal)
@@ -170,7 +170,7 @@
b L(u1)
L(u3): sub rRTN, rWORD3, rWORD4
- blr
+ blr
L(u4): sub rRTN, rWORD1, rWORD2
blr
L(ux):
@@ -178,4 +178,3 @@
blr
END (BP_SYM (strncmp))
libc_hidden_builtin_def (strncmp)
-
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memcpy.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memcpy.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized memcpy implementation for PowerPC64.
- Copyright (C) 2003, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2007, 2011 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
@@ -119,7 +119,7 @@
/* Move doublewords where destination and source are DW aligned.
Use a unrolled loop to copy 16 doublewords (128-bytes) per iteration.
- If the the copy is not an exact multiple of 128 bytes, 1-15
+ If the copy is not an exact multiple of 128 bytes, 1-15
doublewords are copied as needed to set up the main loop. After
the main loop exits there may be a tail of 1-7 bytes. These byte
are copied a word/halfword/byte at a time as needed to preserve
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memcmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/memcmp.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized memcmp implementation for POWER7/PowerPC64.
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010, 2011 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
@@ -35,7 +35,7 @@
#define rSTR2 r4 /* second string arg */
#define rN r5 /* max string length */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers. */
#define rWORD1 r6 /* current word in s1 */
#define rWORD2 r7 /* current word in s2 */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strncmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strncmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/power7/strncmp.S Sat Apr 23 00:03:39 2011
@@ -36,7 +36,7 @@
#define rSTR2 r4 /* second string arg */
#define rN r5 /* max string length */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers. */
#define rWORD1 r6 /* current word in s1 */
#define rWORD2 r7 /* current word in s2 */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/strchr.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/strchr.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/strchr.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized strchr implementation for PowerPC64.
- Copyright (C) 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2002, 2003, 2011 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
@@ -31,7 +31,7 @@
#define rTMP1 r0
#define rRTN r3 /* outgoing result */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Currently PPC gcc does not support -fbounds-check or -fbounded-pointers.
These artifacts are left in the code as a reminder in case we need
bounded pointer support in the future. */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcmp.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized strcmp implementation for PowerPC64.
- Copyright (C) 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2002, 2003, 2011 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
@@ -33,7 +33,7 @@
#define rSTR1 r3 /* first string arg */
#define rSTR2 r4 /* second string arg */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers.
These artifacts are left in the code as a reminder in case we need
bounded pointer support in the future. */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcpy.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/strcpy.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized strcpy implementation for PowerPC64.
- Copyright (C) 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2002, 2003, 2011 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
@@ -31,7 +31,7 @@
#define rTMP r0
#define rRTN r3 /* incoming DEST arg preserved as result */
/* Note. The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers.
These artifacts are left in the code as a reminder in case we need
bounded pointer support in the future. */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/strlen.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/strlen.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/strlen.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized strlen implementation for PowerPC64.
- Copyright (C) 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2002, 2003, 2011 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
@@ -96,7 +96,7 @@
#define rTMP4 r12
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers.
These artifacts are left in the code as a reminder in case we need
bounded pointer support in the future. */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/strncmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/strncmp.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/strncmp.S Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Optimized strcmp implementation for PowerPC64.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2011 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
@@ -34,7 +34,7 @@
#define rSTR2 r4 /* second string arg */
#define rN r5 /* max string length */
/* Note: The Bounded pointer support in this code is broken. This code
- was inherited from PPC32 and and that support was never completed.
+ was inherited from PPC32 and that support was never completed.
Current PPC gcc does not support -fbounds-check or -fbounded-pointers. */
#define rWORD1 r6 /* current word in s1 */
#define rWORD2 r7 /* current word in s2 */
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/check_pf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/check_pf.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/check_pf.c Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* Determine protocol families for which interfaces exist. Linux version.
- Copyright (C) 2003, 2006, 2007, 2008, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2007, 2008, 2010, 2011 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
@@ -240,7 +240,7 @@
}
-/* We don't know if we have NETLINK support compiled in in our
+/* We don't know if we have NETLINK support compiled into our
Kernel. */
#if __ASSUME_NETLINK_SUPPORT == 0
/* Define in ifaddrs.h. */
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/ftruncate64.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/ftruncate64.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/ftruncate64.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997,1998,1999,2000,2001,2003,2005,2006
+/* Copyright (C) 1997,1998,1999,2000,2001,2003,2005,2006,2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -34,7 +34,7 @@
#endif
-/* Truncate the file FD refers to to LENGTH bytes. */
+/* Truncate the file referenced by FD to LENGTH bytes. */
int
__ftruncate64 (int fd, off64_t length)
{
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/ifaddrs.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/ifaddrs.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/ifaddrs.c Sat Apr 23 00:03:39 2011
@@ -1,5 +1,5 @@
/* getifaddrs -- get names and addresses of all network interfaces
- Copyright (C) 2003-2008, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2003-2008, 2009, 2010, 2011 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
@@ -38,7 +38,7 @@
#include "netlinkaccess.h"
-/* We don't know if we have NETLINK support compiled in in our
+/* We don't know if we have NETLINK support compiled into our
Kernel, so include the old implementation as fallback. */
#if __ASSUME_NETLINK_SUPPORT == 0
int __no_netlink_support attribute_hidden;
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997-2002,2005,2006 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2002,2005,2006,2011 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
@@ -32,7 +32,7 @@
#endif
-/* Truncate the file FD refers to to LENGTH bytes. */
+/* Truncate the file referenced by FD to LENGTH bytes. */
int
__ftruncate64 (fd, length)
int fd;
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997,1998,1999,2000,2002,2005,2006
+/* Copyright (C) 1997,1998,1999,2000,2002,2005,2006,2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -34,7 +34,7 @@
#endif
-/* Truncate the file FD refers to to LENGTH bytes. */
+/* Truncate the file referenced by FD to LENGTH bytes. */
int
truncate64 (path, length)
const char *path;
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/truncate64.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/truncate64.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/truncate64.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997-2000,2003,2004,2005,2006
+/* Copyright (C) 1997-2000,2003,2004,2005,2006,2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -34,7 +34,7 @@
int __have_no_truncate64;
#endif
-/* Truncate the file FD refers to to LENGTH bytes. */
+/* Truncate the file referenced by FD to LENGTH bytes. */
int
truncate64 (const char *path, off64_t length)
{
Modified: fsf/trunk/libc/time/strptime_l.c
==============================================================================
--- fsf/trunk/libc/time/strptime_l.c (original)
+++ fsf/trunk/libc/time/strptime_l.c Sat Apr 23 00:03:39 2011
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002,2004,2005,2007,2008,2010 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2004,2005,2007,2008,2010,2011 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
@@ -213,7 +213,7 @@
day_of_the_week (struct tm *tm)
{
/* We know that January 1st 1970 was a Thursday (= 4). Compute the
- the difference between this data in the one on TM and so determine
+ difference between this data in the one on TM and so determine
the weekday. */
int corr_year = 1900 + tm->tm_year - (tm->tm_mon < 2);
int wday = (-473