[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r23880 - in /fsf/trunk/libc: ./ csu/ elf/ iconv/ iconvdata/ locale/programs/ localedata/ localedata/tests-mbwc/ localedata/t...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r23880 - in /fsf/trunk/libc: ./ csu/ elf/ iconv/ iconvdata/ locale/programs/ localedata/ localedata/tests-mbwc/ localedata/t...
- From: eglibc@xxxxxxxxxx
- Date: Sat, 31 Aug 2013 00:02:17 -0000
Author: eglibc
Date: Sat Aug 31 00:02:15 2013
New Revision: 23880
Log:
Import glibc-mainline for 2013-08-31
Added:
fsf/trunk/libc/ports/sysdeps/arm/armv6t2/strlen.S
Removed:
fsf/trunk/libc/sysdeps/x86_64/multiarch/rawmemchr.S
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/NEWS
fsf/trunk/libc/csu/init-first.c
fsf/trunk/libc/elf/dl-open.c
fsf/trunk/libc/iconv/gconv_int.h
fsf/trunk/libc/iconv/loop.c
fsf/trunk/libc/iconvdata/gbbig5.c
fsf/trunk/libc/iconvdata/iso-2022-jp.c
fsf/trunk/libc/locale/programs/ld-collate.c
fsf/trunk/libc/locale/programs/linereader.h
fsf/trunk/libc/localedata/ChangeLog
fsf/trunk/libc/localedata/tests-mbwc/dat_wcsncat.c
fsf/trunk/libc/localedata/tests/test6.c
fsf/trunk/libc/localedata/tst-digits.c
fsf/trunk/libc/manual/charset.texi
fsf/trunk/libc/manual/filesys.texi
fsf/trunk/libc/manual/stdio.texi
fsf/trunk/libc/manual/string.texi
fsf/trunk/libc/nis/rpcsvc/nis.h
fsf/trunk/libc/nptl/ChangeLog
fsf/trunk/libc/nptl/sysdeps/pthread/pthread.h
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/internaltypes.h
fsf/trunk/libc/nptl/tst-cancel4.c
fsf/trunk/libc/ports/ChangeLog.alpha
fsf/trunk/libc/ports/ChangeLog.arm
fsf/trunk/libc/ports/ChangeLog.hppa
fsf/trunk/libc/ports/ChangeLog.ia64
fsf/trunk/libc/ports/ChangeLog.mips
fsf/trunk/libc/ports/ChangeLog.powerpc
fsf/trunk/libc/ports/sysdeps/alpha/alphaev67/stpncpy.S
fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_logf.S
fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_reduce.S
fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfc.S
fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfcf.S
fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfcl.S
fsf/trunk/libc/ports/sysdeps/mips/memcpy.S
fsf/trunk/libc/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/arm/clone.S
fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/clone.S
fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
fsf/trunk/libc/resolv/ns_name.c
fsf/trunk/libc/stdio-common/vfscanf.c
fsf/trunk/libc/stdlib/fmtmsg.c
fsf/trunk/libc/streams/stropts.h
fsf/trunk/libc/sunrpc/rpc_thread.c
fsf/trunk/libc/sysdeps/i386/stpncpy.S
fsf/trunk/libc/sysdeps/i386/strpbrk.S
fsf/trunk/libc/sysdeps/ieee754/k_standard.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_expl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_expl.c
fsf/trunk/libc/sysdeps/mach/hurd/dl-sysdep.c
fsf/trunk/libc/sysdeps/mach/hurd/profil.c
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memcpy.S
fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memset.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memcpy.S
fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memset.S
fsf/trunk/libc/sysdeps/s390/dl-procinfo.h
fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/chown.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
fsf/trunk/libc/sysdeps/x86_64/dl-trampoline.S
fsf/trunk/libc/sysdeps/x86_64/multiarch/ifunc-impl-list.c
fsf/trunk/libc/sysdeps/x86_64/multiarch/strcmp-sse42.S
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sat Aug 31 00:02:15 2013
@@ -1,3 +1,49 @@
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * csu/init-first.c: Fix then/than typos.
+ * locale/programs/ld-collate.c: Likewise.
+ * locale/programs/linereader.h: Likewise.
+ * manual/charset.texi: Likewise.
+ * manual/filesys.texi: Likewise.
+ * manual/stdio.texi: Likewise.
+ * manual/string.texi: Likewise.
+ * stdlib/fmtmsg.c: Likewise.
+ * sysdeps/i386/stpncpy.S: Likewise.
+ * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
+ * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
+ * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
+ * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
+
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * elf/dl-open.c: Fix typos.
+ * iconvdata/gbbig5.c: Likewise.
+ * iconvdata/iso-2022-jp.c: Likewise.
+ * iconv/gconv_int.h: Likewise.
+ * iconv/loop.c: Likewise.
+ * nis/rpcsvc/nis.h: Likewise.
+ * resolv/ns_name.c: Likewise.
+ * stdio-common/vfscanf.c: Likewise.
+ * streams/stropts.h: Likewise.
+ * sunrpc/rpc_thread.c: Likewise.
+ * sysdeps/i386/strpbrk.S: Likewise.
+ * sysdeps/ieee754/k_standard.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
+ * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
+ * sysdeps/mach/hurd/profil.c: Likewise.
+ * sysdeps/s390/dl-procinfo.h: Likewise.
+ * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
+ * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
+ * sysdeps/x86_64/dl-trampoline.S: Likewise.
+ * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
+
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
+ * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
+
2013-08-29 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
* sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Sat Aug 31 00:02:15 2013
@@ -10,7 +10,7 @@
* The following bugs are resolved with this release:
14699, 15522, 15531, 15532, 15736, 15749, 15797, 15867, 15890, 15897,
- 15905.
+ 15905, 15909.
* CVE-2013-4237 The readdir_r function could write more than NAME_MAX bytes
to the d_name member of struct dirent, or omit the terminating NUL
Modified: fsf/trunk/libc/csu/init-first.c
==============================================================================
--- fsf/trunk/libc/csu/init-first.c (original)
+++ fsf/trunk/libc/csu/init-first.c Sat Aug 31 00:02:15 2013
@@ -29,7 +29,7 @@
#include <ldsodefs.h>
-/* Set nonzero if we have to be prepared for more then one libc being
+/* Set nonzero if we have to be prepared for more than one libc being
used in the process. Safe assumption if initializer never runs. */
int __libc_multiple_libcs attribute_hidden = 1;
Modified: fsf/trunk/libc/elf/dl-open.c
==============================================================================
--- fsf/trunk/libc/elf/dl-open.c (original)
+++ fsf/trunk/libc/elf/dl-open.c Sat Aug 31 00:02:15 2013
@@ -158,7 +158,7 @@
return 0;
}
-/* Search link maps in all namespaces for the DSO that containes the object at
+/* Search link maps in all namespaces for the DSO that contains the object at
address ADDR. Returns the pointer to the link map of the matching DSO, or
NULL if a match is not found. */
struct link_map *
Modified: fsf/trunk/libc/iconv/gconv_int.h
==============================================================================
--- fsf/trunk/libc/iconv/gconv_int.h (original)
+++ fsf/trunk/libc/iconv/gconv_int.h Sat Aug 31 00:02:15 2013
@@ -49,7 +49,7 @@
};
-/* How many character should be conveted in one call? */
+/* How many character should be converted in one call? */
#define GCONV_NCHAR_GOAL 8160
Modified: fsf/trunk/libc/iconv/loop.c
==============================================================================
--- fsf/trunk/libc/iconv/loop.c (original)
+++ fsf/trunk/libc/iconv/loop.c Sat Aug 31 00:02:15 2013
@@ -38,7 +38,7 @@
BODY this is supposed to expand to the body of the loop.
The user must provide this.
- EXTRA_LOOP_DECLS extra arguments passed from converion loop call.
+ EXTRA_LOOP_DECLS extra arguments passed from conversion loop call.
INIT_PARAMS code to define and initialize variables from params.
UPDATE_PARAMS code to store result in params.
Modified: fsf/trunk/libc/iconvdata/gbbig5.c
==============================================================================
--- fsf/trunk/libc/iconvdata/gbbig5.c (original)
+++ fsf/trunk/libc/iconvdata/gbbig5.c Sat Aug 31 00:02:15 2013
@@ -22,7 +22,7 @@
#include <stdint.h>
/*
- * This module does convertions between gb2312 and big5 encodings.
+ * This module does conversions between gb2312 and big5 encodings.
* It is necessary because gb2312 encoding use simplified chinese,
* while big5 use traditional one. Often times both the simplified
* version of a chinese character and its traditional counterpart
Modified: fsf/trunk/libc/iconvdata/iso-2022-jp.c
==============================================================================
--- fsf/trunk/libc/iconvdata/iso-2022-jp.c (original)
+++ fsf/trunk/libc/iconvdata/iso-2022-jp.c Sat Aug 31 00:02:15 2013
@@ -271,7 +271,7 @@
if (__builtin_expect (ch, 0) == ESC) \
{ \
/* We now must be prepared to read two to three more \
- chracters. If we have a match in the first character but \
+ characters. If we have a match in the first character but \
then the input buffer ends we terminate with an error since \
we must not risk missing an escape sequence just because it \
is not entirely in the current input buffer. */ \
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 Aug 31 00:02:15 2013
@@ -2674,7 +2674,7 @@
}
else if (nowtok == tok_else)
{
- lr_error (ldfile, _("%s: more then one 'else'"), "LC_COLLATE");
+ lr_error (ldfile, _("%s: more than one 'else'"), "LC_COLLATE");
}
lr_ignore_rest (ldfile, 0);
Modified: fsf/trunk/libc/locale/programs/linereader.h
==============================================================================
--- fsf/trunk/libc/locale/programs/linereader.h (original)
+++ fsf/trunk/libc/locale/programs/linereader.h Sat Aug 31 00:02:15 2013
@@ -49,7 +49,7 @@
struct
{
/* This element is sized on the safe expectation that no single
- character in any character set uses more then 16 bytes. */
+ character in any character set uses more than 16 bytes. */
unsigned char bytes[16];
int nbytes;
} charcode;
Modified: fsf/trunk/libc/localedata/ChangeLog
==============================================================================
--- fsf/trunk/libc/localedata/ChangeLog (original)
+++ fsf/trunk/libc/localedata/ChangeLog Sat Aug 31 00:02:15 2013
@@ -1,3 +1,9 @@
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * tests-mbwc/dat_wcsncat.c: Fix typos.
+ * tests/test6.c: Likewise.
+ * tst-digits.c: Likewise.
+
2013-06-13 Johan Heikkila <johan.heikkila@xxxxxxxxx>
[BZ#15432]
Modified: fsf/trunk/libc/localedata/tests-mbwc/dat_wcsncat.c
==============================================================================
--- fsf/trunk/libc/localedata/tests-mbwc/dat_wcsncat.c (original)
+++ fsf/trunk/libc/localedata/tests-mbwc/dat_wcsncat.c Sat Aug 31 00:02:15 2013
@@ -9,7 +9,7 @@
/*
* Note:
- * A terminating null wide chararacter is always appended to
+ * A terminating null wide character is always appended to
* the result: ws1.
*
*/
Modified: fsf/trunk/libc/localedata/tests/test6.c
==============================================================================
--- fsf/trunk/libc/localedata/tests/test6.c (original)
+++ fsf/trunk/libc/localedata/tests/test6.c Sat Aug 31 00:02:15 2013
@@ -40,7 +40,7 @@
/* Test basic table handling (basic == not more than 256 characters).
The charmaps swaps the normal lower-upper case meaning of the
ASCII characters used in the source code while the Unicode mapping
- in the repertoire map has the normal correspondants. This test
+ in the repertoire map has the normal correspondents. This test
shows the independence of the tables for `char' and `wchar_t'
characters. */
Modified: fsf/trunk/libc/localedata/tst-digits.c
==============================================================================
--- fsf/trunk/libc/localedata/tst-digits.c (original)
+++ fsf/trunk/libc/localedata/tst-digits.c Sat Aug 31 00:02:15 2013
@@ -178,7 +178,7 @@
printf ("%d failures in wprintf tests\n", failures);
status = failures != 0;
- /* ctype tests. This makes sure that the multibyte chracter digit
+ /* ctype tests. This makes sure that the multibyte character digit
representations are not handle in this table. */
failures = 0;
for (cnt = 0; cnt < 256; ++cnt)
Modified: fsf/trunk/libc/manual/charset.texi
==============================================================================
--- fsf/trunk/libc/manual/charset.texi (original)
+++ fsf/trunk/libc/manual/charset.texi Sat Aug 31 00:02:15 2013
@@ -786,7 +786,7 @@
This function simply calls @code{mbrlen} for each multibyte character
in the string and counts the number of function calls. Please note that
we here use @code{MB_LEN_MAX} as the size argument in the @code{mbrlen}
-call. This is acceptable since a) this value is larger then the length of
+call. This is acceptable since a) this value is larger than the length of
the longest multibyte character sequence and b) we know that the string
@var{s} ends with a NUL byte, which cannot be part of any other multibyte
character sequence but the one representing the NUL wide character.
Modified: fsf/trunk/libc/manual/filesys.texi
==============================================================================
--- fsf/trunk/libc/manual/filesys.texi (original)
+++ fsf/trunk/libc/manual/filesys.texi Sat Aug 31 00:02:15 2013
@@ -1909,7 +1909,7 @@
@comment Unix98
@deftypefun int stat64 (const char *@var{filename}, struct stat64 *@var{buf})
This function is similar to @code{stat} but it is also able to work on
-files larger then @math{2^31} bytes on 32-bit systems. To be able to do
+files larger than @math{2^31} bytes on 32-bit systems. To be able to do
this the result is stored in a variable of type @code{struct stat64} to
which @var{buf} must point.
@@ -1970,7 +1970,7 @@
@comment Unix98
@deftypefun int lstat64 (const char *@var{filename}, struct stat64 *@var{buf})
This function is similar to @code{lstat} but it is also able to work on
-files larger then @math{2^31} bytes on 32-bit systems. To be able to do
+files larger than @math{2^31} bytes on 32-bit systems. To be able to do
this the result is stored in a variable of type @code{struct stat64} to
which @var{buf} must point.
@@ -3152,7 +3152,7 @@
@deftypefun {FILE *} tmpfile64 (void)
This function is similar to @code{tmpfile}, but the stream it returns a
pointer to was opened using @code{tmpfile64}. Therefore this stream can
-be used for files larger then @math{2^31} bytes on 32-bit machines.
+be used for files larger than @math{2^31} bytes on 32-bit machines.
Please note that the return type is still @code{FILE *}. There is no
special @code{FILE} type for the LFS interface.
Modified: fsf/trunk/libc/manual/stdio.texi
==============================================================================
--- fsf/trunk/libc/manual/stdio.texi (original)
+++ fsf/trunk/libc/manual/stdio.texi Sat Aug 31 00:02:15 2013
@@ -267,7 +267,7 @@
@deftypefun {FILE *} fopen64 (const char *@var{filename}, const char *@var{opentype})
This function is similar to @code{fopen} but the stream it returns a
pointer for is opened using @code{open64}. Therefore this stream can be
-used even on files larger then @math{2^31} bytes on 32 bit machines.
+used even on files larger than @math{2^31} bytes on 32 bit machines.
Please note that the return type is still @code{FILE *}. There is no
special @code{FILE} type for the LFS interface.
Modified: fsf/trunk/libc/manual/string.texi
==============================================================================
--- fsf/trunk/libc/manual/string.texi (original)
+++ fsf/trunk/libc/manual/string.texi Sat Aug 31 00:02:15 2013
@@ -682,7 +682,7 @@
This function is similar to @code{stpcpy} but copies always exactly
@var{size} characters into @var{to}.
-If the length of @var{from} is more then @var{size}, then @code{stpncpy}
+If the length of @var{from} is more than @var{size}, then @code{stpncpy}
copies just the first @var{size} characters and returns a pointer to the
character directly following the one which was copied last. Note that in
this case there is no null terminator written into @var{to}.
@@ -707,7 +707,7 @@
This function is similar to @code{wcpcpy} but copies always exactly
@var{wsize} characters into @var{wto}.
-If the length of @var{wfrom} is more then @var{size}, then
+If the length of @var{wfrom} is more than @var{size}, then
@code{wcpncpy} copies just the first @var{size} wide characters and
returns a pointer to the wide character directly following the last
non-null wide character which was copied last. Note that in this case
Modified: fsf/trunk/libc/nis/rpcsvc/nis.h
==============================================================================
--- fsf/trunk/libc/nis/rpcsvc/nis.h (original)
+++ fsf/trunk/libc/nis/rpcsvc/nis.h Sat Aug 31 00:02:15 2013
@@ -470,7 +470,7 @@
#define NIS_NOBODY(a, m) (((a) & ((m) << 24)) != 0)
/*
* EOL Alert - The following non-prefixed test macros are
- * here for backward compatability, and will be not be present
+ * here for backward compatibility, and will be not be present
* in future releases - use the NIS_*() macros above.
*/
#define WORLD(a, m) (((a) & (m)) != 0)
Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Sat Aug 31 00:02:15 2013
@@ -1,3 +1,9 @@
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/pthread/pthread.h: Fix typos.
+ * sysdeps/unix/sysv/linux/internaltypes.h: Likewise.
+ * tst-cancel4.c: Likewise.
+
2013-08-21 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
* pthread_getschedparam.c: Fix typos.
Modified: fsf/trunk/libc/nptl/sysdeps/pthread/pthread.h
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/pthread/pthread.h (original)
+++ fsf/trunk/libc/nptl/sysdeps/pthread/pthread.h Sat Aug 31 00:02:15 2013
@@ -1034,13 +1034,13 @@
int __pshared) __THROW __nonnull ((1));
#ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR. */
+/* Get the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_getclock (const pthread_condattr_t *
__restrict __attr,
__clockid_t *__restrict __clock_id)
__THROW __nonnull ((1, 2));
-/* Set the clock selected for the conditon variable attribute ATTR. */
+/* Set the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
__clockid_t __clock_id)
__THROW __nonnull ((1));
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/internaltypes.h
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/internaltypes.h (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/internaltypes.h Sat Aug 31 00:02:15 2013
@@ -66,7 +66,7 @@
{
/* Combination of values:
- Bit 0 : flag whether coditional variable will be shareable between
+ Bit 0 : flag whether conditional variable will be sharable between
processes.
Bit 1-7: clock ID. */
Modified: fsf/trunk/libc/nptl/tst-cancel4.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-cancel4.c (original)
+++ fsf/trunk/libc/nptl/tst-cancel4.c Sat Aug 31 00:02:15 2013
@@ -83,7 +83,7 @@
# define IPC_ADDVAL 0
#endif
-/* The WRITE_BUFFER_SIZE value needs to be choosen such that if we set
+/* The WRITE_BUFFER_SIZE value needs to be chosen such that if we set
the socket send buffer size to '1', a write of this size on that
socket will block.
Modified: fsf/trunk/libc/ports/ChangeLog.alpha
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.alpha (original)
+++ fsf/trunk/libc/ports/ChangeLog.alpha Sat Aug 31 00:02:15 2013
@@ -1,3 +1,11 @@
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/alpha/alphaev67/stpncpy.S: Fix then/than typos.
+
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: Fix typos.
+
2013-07-02 Richard Henderson <rth@xxxxxxxxxx>
* sysdeps/alpha/fpu/libm-test-ulps: Update.
Modified: fsf/trunk/libc/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.arm (original)
+++ fsf/trunk/libc/ports/ChangeLog.arm Sat Aug 31 00:02:15 2013
@@ -1,3 +1,20 @@
+2013-08-30 Roland McGrath <roland@xxxxxxxxxxxxx>
+
+ * sysdeps/arm/armv6t2/strlen.S: Use sfi_pld and sfi_breg macros.
+
+ * sysdeps/arm/armv6t2/strlen.S: Include <arm-features.h> first thing.
+ [NO_THUMB]: Adapt code for ARM mode.
+
+2013-08-30 Will Newton <will.newton@xxxxxxxxxx>
+
+ [BZ #15909]
+ * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use blx
+ instead of mov lr, pc.
+
+2013-08-30 Will Newton <will.newton@xxxxxxxxxx>
+
+ * sysdeps/arm/armv6t2/strlen.S: New file.
+
2013-08-29 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
* sysdeps/unix/sysv/linux/arm/ldsodefs.h (VALID_ELF_OSABI)
Modified: fsf/trunk/libc/ports/ChangeLog.hppa
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.hppa (original)
+++ fsf/trunk/libc/ports/ChangeLog.hppa Sat Aug 31 00:02:15 2013
@@ -1,3 +1,8 @@
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/hppa/clone.S: Fix typos.
+ * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Likewise.
+
2013-08-21 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
* sysdeps/hppa/dl-lookupcfg.h: Fix typos.
Modified: fsf/trunk/libc/ports/ChangeLog.ia64
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.ia64 (original)
+++ fsf/trunk/libc/ports/ChangeLog.ia64 Sat Aug 31 00:02:15 2013
@@ -1,3 +1,11 @@
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/ia64/fpu/libm_reduce.S: Fix typos.
+ * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
+ * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
+ * sysdeps/ia64/fpu/s_erfc.S: Likewise.
+ * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Likewise.
+
2013-08-29 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
* sysdeps/ia64/fpu/e_acoshl.S: Fix typos.
Modified: fsf/trunk/libc/ports/ChangeLog.mips
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.mips (original)
+++ fsf/trunk/libc/ports/ChangeLog.mips Sat Aug 31 00:02:15 2013
@@ -1,3 +1,11 @@
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/mips/memcpy.S: Fix then/than typos.
+
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/mips/memcpy.S: Fix typos.
+
2013-08-29 Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
* sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
Modified: fsf/trunk/libc/ports/ChangeLog.powerpc
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.powerpc (original)
+++ fsf/trunk/libc/ports/ChangeLog.powerpc Sat Aug 31 00:02:15 2013
@@ -1,3 +1,7 @@
+2013-08-30 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * sysdeps/powerpc/powerpc32/405/memcpy.S: Fix typos.
+
2013-08-17 Alexandre Oliva <aoliva@xxxxxxxxxx>
PR 15483
Modified: fsf/trunk/libc/ports/sysdeps/alpha/alphaev67/stpncpy.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/alpha/alphaev67/stpncpy.S (original)
+++ fsf/trunk/libc/ports/sysdeps/alpha/alphaev67/stpncpy.S Sat Aug 31 00:02:15 2013
@@ -16,7 +16,7 @@
License along with the GNU C Library. If not, see
<http://www.gnu.org/licenses/>. */
-/* Copy no more then N bytes from SRC to DEST, returning the address of
+/* Copy no more than N bytes from SRC to DEST, returning the address of
the terminating '\0' in DEST. */
#include <sysdep.h>
Added: fsf/trunk/libc/ports/sysdeps/arm/armv6t2/strlen.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/arm/armv6t2/strlen.S (added)
+++ fsf/trunk/libc/ports/sysdeps/arm/armv6t2/strlen.S Sat Aug 31 00:02:15 2013
@@ -1,0 +1,169 @@
+/* Copyright (C) 2010-2011,2013 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
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+/*
+ Assumes:
+ ARMv6T2, AArch32
+
+ */
+
+#include <arm-features.h> /* This might #define NO_THUMB. */
+#include <sysdep.h>
+
+#ifdef __ARMEB__
+#define S2LO lsl
+#define S2HI lsr
+#else
+#define S2LO lsr
+#define S2HI lsl
+#endif
+
+#ifndef NO_THUMB
+/* This code is best on Thumb. */
+ .thumb
+#else
+/* Using bne.w explicitly is desirable in Thumb mode because it helps
+ align the following label without a nop. In ARM mode there is no
+ such difference. */
+.macro bne.w label
+ bne \label
+.endm
+
+/* This clobbers the condition codes, which the real Thumb cbnz instruction
+ does not do. But it doesn't matter for any of the uses here. */
+.macro cbnz reg, label
+ cmp \reg, #0
+ bne \label
+.endm
+#endif
+
+/* Parameters and result. */
+#define srcin r0
+#define result r0
+
+/* Internal variables. */
+#define src r1
+#define data1a r2
+#define data1b r3
+#define const_m1 r12
+#define const_0 r4
+#define tmp1 r4 /* Overlaps const_0 */
+#define tmp2 r5
+
+ .text
+ .p2align 6
+ENTRY(strlen)
+ sfi_pld srcin, #0
+ strd r4, r5, [sp, #-8]!
+ cfi_adjust_cfa_offset (8)
+ cfi_rel_offset (r4, 0)
+ cfi_rel_offset (r5, 4)
+ cfi_remember_state
+ bic src, srcin, #7
+ mvn const_m1, #0
+ ands tmp1, srcin, #7 /* (8 - bytes) to alignment. */
+ sfi_pld src, #32
+ bne.w .Lmisaligned8
+ mov const_0, #0
+ mov result, #-8
+.Lloop_aligned:
+ /* Bytes 0-7. */
+ sfi_breg src, \
+ ldrd data1a, data1b, [\B]
+ sfi_pld src, #64
+ add result, result, #8
+.Lstart_realigned:
+ uadd8 data1a, data1a, const_m1 /* Saturating GE<0:3> set. */
+ sel data1a, const_0, const_m1 /* Select based on GE<0:3>. */
+ uadd8 data1b, data1b, const_m1
+ sel data1b, data1a, const_m1 /* Only used if d1a == 0. */
+ cbnz data1b, .Lnull_found
+
+ /* Bytes 8-15. */
+ sfi_breg src, \
+ ldrd data1a, data1b, [\B, #8]
+ uadd8 data1a, data1a, const_m1 /* Saturating GE<0:3> set. */
+ add result, result, #8
+ sel data1a, const_0, const_m1 /* Select based on GE<0:3>. */
+ uadd8 data1b, data1b, const_m1
+ sel data1b, data1a, const_m1 /* Only used if d1a == 0. */
+ cbnz data1b, .Lnull_found
+
+ /* Bytes 16-23. */
+ sfi_breg src, \
+ ldrd data1a, data1b, [\B, #16]
+ uadd8 data1a, data1a, const_m1 /* Saturating GE<0:3> set. */
+ add result, result, #8
+ sel data1a, const_0, const_m1 /* Select based on GE<0:3>. */
+ uadd8 data1b, data1b, const_m1
+ sel data1b, data1a, const_m1 /* Only used if d1a == 0. */
+ cbnz data1b, .Lnull_found
+
+ /* Bytes 24-31. */
+ sfi_breg src, \
+ ldrd data1a, data1b, [\B, #24]
+ add src, src, #32
+ uadd8 data1a, data1a, const_m1 /* Saturating GE<0:3> set. */
+ add result, result, #8
+ sel data1a, const_0, const_m1 /* Select based on GE<0:3>. */
+ uadd8 data1b, data1b, const_m1
+ sel data1b, data1a, const_m1 /* Only used if d1a == 0. */
+ cmp data1b, #0
+ beq .Lloop_aligned
+
+.Lnull_found:
+ cmp data1a, #0
+ itt eq
+ addeq result, result, #4
+ moveq data1a, data1b
+#ifndef __ARMEB__
+ rev data1a, data1a
+#endif
+ clz data1a, data1a
+ ldrd r4, r5, [sp], #8
+ cfi_adjust_cfa_offset (-8)
+ cfi_restore (r4)
+ cfi_restore (r5)
+ add result, result, data1a, lsr #3 /* Bits -> Bytes. */
+ DO_RET(lr)
+
+.Lmisaligned8:
+ cfi_restore_state
+ sfi_breg src, \
+ ldrd data1a, data1b, [\B]
+ and tmp2, tmp1, #3
+ rsb result, tmp1, #0
+ lsl tmp2, tmp2, #3 /* Bytes -> bits. */
+ tst tmp1, #4
+ sfi_pld src, #64
+ S2HI tmp2, const_m1, tmp2
+#ifdef NO_THUMB
+ mvn tmp1, tmp2
+ orr data1a, data1a, tmp1
+ itt ne
+ orrne data1b, data1b, tmp1
+#else
+ orn data1a, data1a, tmp2
+ itt ne
+ ornne data1b, data1b, tmp2
+#endif
+ movne data1a, const_m1
+ mov const_0, #0
+ b .Lstart_realigned
+
+END(strlen)
+libc_hidden_builtin_def (strlen)
Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_logf.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_logf.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/e_logf.S Sat Aug 31 00:02:15 2013
@@ -838,7 +838,7 @@
{ .mib
setf.exp FR_A2 = GR_05 // create A2
sub GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
- // needed to comparion with 0.5 and 2.0
+ // needed for comparison with 0.5 and 2.0
br.cond.sptk logf_log10f_common
};;
GLOBAL_IEEE754_END(log10f)
@@ -873,7 +873,7 @@
setf.d FR_A3 = GR_A3 // create A3
fcmp.eq.s1 p13,p14 = f0,f0 // p13 - true for logf
sub GR_de = GR_Exp,GR_05 // biased_exponent_of_x - 0xFFFE
- // needed to comparion with 0.5 and 2.0
+ // needed for comparison with 0.5 and 2.0
}
{ .mlx
setf.exp FR_A2 = GR_05 // create A2
Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_reduce.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_reduce.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/libm_reduce.S Sat Aug 31 00:02:15 2013
@@ -75,7 +75,7 @@
//
// IEEE Special Conditions:
//
-// No condions should be raised.
+// No conditions should be raised.
//
//*********************************************************************
//
@@ -288,7 +288,7 @@
//
// Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
//
-// In memory, 2/pi is stored contigously as
+// In memory, 2/pi is stored contiguously as
//
// 0x00000000 0x00000000 0xA2F....
// ^
@@ -786,7 +786,7 @@
// setf.sig FR_ScaleP3 = GR_x_lo
// fmerge.se FR_X = FR_X,FR_ScaleP3
// Set sgn_x := sign(x); x := |x|; x_lo := 2 lsb of x.
-// 2/pi is stored contigously as
+// 2/pi is stored contiguously as
// 0x00000000 0x00000000.0xA2F....
// M = EXP - BIAS ( M >= 63)
// Given x = 2^m * 1.xxxx...xxx; we calculate L := 62 - m.
Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfc.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfc.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfc.S Sat Aug 31 00:02:15 2013
@@ -65,7 +65,7 @@
//
// Let P14(z) - polynomial approximation of degree 14 for function
// erfc(z+x(i)) * exp( (z+x(i))^2) and 0 <= z <= x(i+1)-x(i).
-// Polynomial coeffitients we have in the table erfc_p_table.
+// Polynomial coefficients we have in the table erfc_p_table.
//
// So we can find result for erfc(x) as above.
// Algorithm description for exp function see below.
Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfcf.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfcf.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfcf.S Sat Aug 31 00:02:15 2013
@@ -63,7 +63,7 @@
//
// Let P15(x) - polynomial approximation of degree 15 for function
// erfcf(x) * exp( x^2) and x(i) <= x <= x(i+1), i = 0,1,2,3
-// Polynomial coeffitients we have in the table erfc_p_table.
+// Polynomial coefficients we have in the table erfc_p_table.
//
// So we can find result for erfcf(x) as above.
// Algorithm description for exp function see below.
Modified: fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfcl.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfcl.S (original)
+++ fsf/trunk/libc/ports/sysdeps/ia64/fpu/s_erfcl.S Sat Aug 31 00:02:15 2013
@@ -71,7 +71,7 @@
// -0.5*[x(i+1)-x(i)] <= z <= 0.5*[x(i+1)-x(i)].
//
// Let Q(z)= (P(z)- S)/S, S = a0, rounded to 16 bits.
-// Polynomial coeffitients for Q(z) we have in the table erfc_Q_table as
+// Polynomial coefficients for Q(z) we have in the table erfc_Q_table as
// long double values
//
// We use multi precision to calculate input argument -x^2 for expl and
Modified: fsf/trunk/libc/ports/sysdeps/mips/memcpy.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/mips/memcpy.S (original)
+++ fsf/trunk/libc/ports/sysdeps/mips/memcpy.S Sat Aug 31 00:02:15 2013
@@ -155,14 +155,14 @@
pref PREFETCH_STORE_HINT, (chunk)*32(reg)
#endif
/* MAX_PREFETCH_SIZE is the maximum size of a prefetch, it must not be less
- * then PREFETCH_CHUNK, the assumed size of each prefetch. If the real size
- * of a prefetch is greater then MAX_PREFETCH_SIZE and the PREPAREFORSTORE
- * hint is used, the code will not work corrrectly. If PREPAREFORSTORE is not
+ * than PREFETCH_CHUNK, the assumed size of each prefetch. If the real size
+ * of a prefetch is greater than MAX_PREFETCH_SIZE and the PREPAREFORSTORE
+ * hint is used, the code will not work correctly. If PREPAREFORSTORE is not
* used then MAX_PREFETCH_SIZE does not matter. */
#define MAX_PREFETCH_SIZE 128
-/* PREFETCH_LIMIT is set based on the fact that we neve use an offset greater
- * then 5 on a STORE prefetch and that a single prefetch can never be larger
- * then MAX_PREFETCH_SIZE. We add the extra 32 when USE_DOUBLE is set because
+/* PREFETCH_LIMIT is set based on the fact that we never use an offset greater
+ * than 5 on a STORE prefetch and that a single prefetch can never be larger
+ * than MAX_PREFETCH_SIZE. We add the extra 32 when USE_DOUBLE is set because
* we actually do two prefetches in that case, one 32 bytes after the other. */
#ifdef USE_DOUBLE
# define PREFETCH_LIMIT (5 * PREFETCH_CHUNK) + 32 + MAX_PREFETCH_SIZE
@@ -275,7 +275,7 @@
L(memcpy):
#endif
/*
- * If the size is less then 2*NSIZE (8 or 16), go to L(lastb). Regardless of
+ * If the size is less than 2*NSIZE (8 or 16), go to L(lastb). Regardless of
* size, copy dst pointer to v0 for the return value.
*/
slti t2,a2,(2 * NSIZE)
@@ -443,7 +443,7 @@
PTR_ADDIU a0,a0,UNIT(8)
/*
- * Here we have less then 32(64) bytes to copy. Set up for a loop to
+ * Here we have less than 32(64) bytes to copy. Set up for a loop to
* copy one word (or double word) at a time. Set a2 to count how many
* bytes we have to copy after all the word (or double word) chunks are
* copied and a3 to the dst pointer after all the (d)word chunks have
@@ -635,7 +635,7 @@
C_ST REG7,UNIT(7)(a0)
PTR_ADDIU a0,a0,UNIT(8)
/*
- * Here we have less then 32(64) bytes to copy. Set up for a loop to
+ * Here we have less than 32(64) bytes to copy. Set up for a loop to
* copy one word (or double word) at a time.
*/
L(ua_chk1w):
Modified: fsf/trunk/libc/ports/sysdeps/powerpc/powerpc32/405/memcpy.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/powerpc/powerpc32/405/memcpy.S (original)
+++ fsf/trunk/libc/ports/sysdeps/powerpc/powerpc32/405/memcpy.S Sat Aug 31 00:02:15 2013
@@ -98,7 +98,7 @@
lswx r6,0,r4
stswx r6,0,r3
-L(pre_string_copy): /* Check how many 32 byte chunck to copy */
+L(pre_string_copy): /* Check how many 32 byte chunks to copy */
srwi. r7,r5,4
beq L(end_memcpy)
mtctr r7
Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h Sat Aug 31 00:02:15 2013
@@ -29,6 +29,6 @@
char **n_aliases; /* Alias list. */
int n_addrtype; /* Net address type. */
/* XXX We should probably use uint32_t for the field and ensure
- compatiblity by adding appropriate padding. */
+ compatibility by adding appropriate padding. */
unsigned long int n_net; /* Network number. */
};
Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/arm/clone.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/arm/clone.S (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/arm/clone.S Sat Aug 31 00:02:15 2013
@@ -93,8 +93,8 @@
mov lr, pc
bx ip
#else
- mov lr, pc
- ldr pc, [sp], #8
+ ldr lr, [sp], #8
+ blx lr
#endif
@ and we are done, passing the return value through r0
Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/clone.S
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/clone.S (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/clone.S Sat Aug 31 00:02:15 2013
@@ -155,7 +155,7 @@
ldw -60(%sp), %arg0
ldw -64(%sp), %r22
- /* $$dyncall fixes childs PIC register */
+ /* $$dyncall fixes child's PIC register */
/* Call the user's function */
#ifdef PIC
Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread.h Sat Aug 31 00:02:15 2013
@@ -1014,13 +1014,13 @@
int __pshared) __THROW __nonnull ((1));
#ifdef __USE_XOPEN2K
-/* Get the clock selected for the conditon variable attribute ATTR. */
+/* Get the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_getclock (const pthread_condattr_t *
__restrict __attr,
__clockid_t *__restrict __clock_id)
__THROW __nonnull ((1, 2));
-/* Set the clock selected for the conditon variable attribute ATTR. */
+/* Set the clock selected for the condition variable attribute ATTR. */
extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
__clockid_t __clock_id)
__THROW __nonnull ((1));
Modified: fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c
==============================================================================
--- fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c (original)
+++ fsf/trunk/libc/ports/sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c Sat Aug 31 00:02:15 2013
@@ -19,7 +19,7 @@
/* The public __longjmp() implementation is limited to jumping within
the same stack. That is, in general it is not possible to use this
__longjmp() implementation to cross from one stack to another.
- In constrast, the __sigstack_longjmp() implemented here allows
+ In contrast, the __sigstack_longjmp() implemented here allows
crossing from the alternate signal stack to the normal stack
as a special case. */
Modified: fsf/trunk/libc/resolv/ns_name.c
==============================================================================
--- fsf/trunk/libc/resolv/ns_name.c (original)
+++ fsf/trunk/libc/resolv/ns_name.c Sat Aug 31 00:02:15 2013
@@ -681,7 +681,7 @@
/*%
* Thinking in noninternationalized USASCII (per the DNS spec),
- * is this characted special ("in need of quoting") ?
+ * is this character special ("in need of quoting") ?
*
* return:
*\li boolean.
Modified: fsf/trunk/libc/stdio-common/vfscanf.c
==============================================================================
--- fsf/trunk/libc/stdio-common/vfscanf.c (original)
+++ fsf/trunk/libc/stdio-common/vfscanf.c Sat Aug 31 00:02:15 2013
@@ -2185,7 +2185,7 @@
}
/* Start checking against localized digits, if
- convertion is done correctly. */
+ conversion is done correctly. */
while (1)
{
if (got_e && wp[wpsize - 1] == exp_char
Modified: fsf/trunk/libc/stdlib/fmtmsg.c
==============================================================================
--- fsf/trunk/libc/stdlib/fmtmsg.c (original)
+++ fsf/trunk/libc/stdlib/fmtmsg.c Sat Aug 31 00:02:15 2013
@@ -116,9 +116,9 @@
if (cp == NULL)
return MM_NOTOK;
- /* The first field must not contain more then 10 bytes. */
+ /* The first field must not contain more than 10 bytes. */
if (cp - label > 10
- /* The second field must not have more then 14 bytes. */
+ /* The second field must not have more than 14 bytes. */
|| strlen (cp + 1) > 14)
return MM_NOTOK;
}
Modified: fsf/trunk/libc/streams/stropts.h
==============================================================================
--- fsf/trunk/libc/streams/stropts.h (original)
+++ fsf/trunk/libc/streams/stropts.h Sat Aug 31 00:02:15 2013
@@ -35,7 +35,7 @@
typedef __t_scalar_t t_scalar_t;
typedef __t_uscalar_t t_uscalar_t;
-/* Get system specific contants. */
+/* Get system specific constants. */
#include <bits/stropts.h>
Modified: fsf/trunk/libc/sunrpc/rpc_thread.c
==============================================================================
--- fsf/trunk/libc/sunrpc/rpc_thread.c (original)
+++ fsf/trunk/libc/sunrpc/rpc_thread.c Sat Aug 31 00:02:15 2013
@@ -80,7 +80,7 @@
/* Global variables If we're single-threaded, or if this is the first
thread using the variable, use the existing global variable. This
- provides backwards compatability for existing applications which
+ provides backwards compatibility for existing applications which
dynamically link against this code. */
#undef svc_fdset
#undef rpc_createerr
Modified: fsf/trunk/libc/sysdeps/i386/stpncpy.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/stpncpy.S (original)
+++ fsf/trunk/libc/sysdeps/i386/stpncpy.S Sat Aug 31 00:02:15 2013
@@ -1,4 +1,4 @@
-/* copy no more then N bytes from SRC to DEST, returning the address of
+/* copy no more than N bytes from SRC to DEST, returning the address of
the terminating '\0' in DEST.
For Intel 80x86, x>=3.
Copyright (C) 1994-2013 Free Software Foundation, Inc.
Modified: fsf/trunk/libc/sysdeps/i386/strpbrk.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/strpbrk.S (original)
+++ fsf/trunk/libc/sysdeps/i386/strpbrk.S Sat Aug 31 00:02:15 2013
@@ -205,7 +205,7 @@
1. a character in the stopset was found
and
2. the end of the string was found
- But as a sign that the chracter is in the stopset we store its
+ But as a sign that the character is in the stopset we store its
value in the table. But the value of NUL is NUL so the loop
terminates for NUL in every case. */
Modified: fsf/trunk/libc/sysdeps/ieee754/k_standard.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/k_standard.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/k_standard.c Sat Aug 31 00:02:15 2013
@@ -31,7 +31,7 @@
#endif /* !defined(_USE_WRITE) */
/* XXX gcc versions until now don't delay the 0.0/0.0 division until
- runtime but produce NaN at copile time. This is wrong since the
+ runtime but produce NaN at compile time. This is wrong since the
exceptions are not set correctly. */
#if 0
static const double zero = 0.0; /* used as const */
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_expl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_expl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_expl.c Sat Aug 31 00:02:15 2013
@@ -117,7 +117,7 @@
#define TWO15 C[11]
32768.0L,
-/* Chebyshev polynom coeficients for (exp(x)-1)/x */
+/* Chebyshev polynom coefficients for (exp(x)-1)/x */
#define P1 C[12]
#define P2 C[13]
#define P3 C[14]
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_expl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_expl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_expl.c Sat Aug 31 00:02:15 2013
@@ -116,7 +116,7 @@
#define TWO15 C[11]
32768.0L,
-/* Chebyshev polynom coeficients for (exp(x)-1)/x */
+/* Chebyshev polynom coefficients for (exp(x)-1)/x */
#define P1 C[12]
#define P2 C[13]
#define P3 C[14]
Modified: fsf/trunk/libc/sysdeps/mach/hurd/dl-sysdep.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/dl-sysdep.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/dl-sysdep.c Sat Aug 31 00:02:15 2013
@@ -54,7 +54,7 @@
INTVARDEF(__libc_enable_secure)
int __libc_multiple_libcs = 0; /* Defining this here avoids the inclusion
of init-first. */
-/* This variable containts the lowest stack address ever used. */
+/* This variable contains the lowest stack address ever used. */
void *__libc_stack_end;
#if HP_TIMING_AVAIL
Modified: fsf/trunk/libc/sysdeps/mach/hurd/profil.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/profil.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/profil.c Sat Aug 31 00:02:15 2013
@@ -216,7 +216,7 @@
}
text_set_element (_hurd_fork_parent_hook, fork_profil_parent);
-/* In the childs, unlock the interlock, and start a profiling thread up
+/* In the child, unlock the interlock, and start a profiling thread up
if necessary. */
static void
fork_profil_child (void)
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 Aug 31 00:02:15 2013
@@ -269,7 +269,7 @@
addi 1,1,32
blr
.align 4
-L(wus_tail16p8): /* less then 8 bytes left. */
+L(wus_tail16p8): /* less than 8 bytes left. */
beq cr1,L(wus_tailX) /* exactly 16 bytes, early exit. */
cmplwi cr1,10,20
bf 29,L(wus_tail16p2)
@@ -283,7 +283,7 @@
addi 1,1,32
blr
.align 4
-L(wus_tail16p4): /* less then 4 bytes left. */
+L(wus_tail16p4): /* less than 4 bytes left. */
addi 12,12,24
addi 11,11,24
bgt cr0,L(wus_tail2)
@@ -291,7 +291,7 @@
addi 1,1,32
blr
.align 4
-L(wus_tail16p2): /* 16 bytes moved, less then 4 bytes left. */
+L(wus_tail16p2): /* 16 bytes moved, less than 4 bytes left. */
addi 12,12,16
addi 11,11,16
b L(wus_tail2)
@@ -315,7 +315,7 @@
addi 1,1,32
blr
.align 4
-L(wus_tail8p4): /* less then 4 bytes left. */
+L(wus_tail8p4): /* less than 4 bytes left. */
addi 12,12,8
addi 11,11,8
bgt cr1,L(wus_tail2)
@@ -326,7 +326,7 @@
.align 4
L(wus_tail4): /* Move 4 bytes. */
/* r6 already loaded speculatively. If we are here we know there is
- more then 4 bytes left. So there is no need to test. */
+ more than 4 bytes left. So there is no need to test. */
addi 12,12,4
stw 6,0(11)
addi 11,11,4
@@ -426,14 +426,14 @@
First we need to copy word up to but not crossing the next 32-byte
boundary. Then perform aligned loads just before and just after
the boundary and use shifts and or to generate the next aligned
- word for dst. If more then 32 bytes remain we copy (unaligned src)
- the next 7 words and repeat the loop until less then 32-bytes
+ word for dst. If more than 32 bytes remain we copy (unaligned src)
+ the next 7 words and repeat the loop until less than 32-bytes
remain.
- Then if more then 4 bytes remain we again use aligned loads,
+ Then if more than 4 bytes remain we again use aligned loads,
shifts and or to generate the next dst word. We then process the
remaining words using unaligned loads as needed. Finally we check
- if there more then 0 bytes (1-3) bytes remaining and use
+ if there more than 0 bytes (1-3) bytes remaining and use
halfword and or byte load/stores to complete the copy.
*/
mr 4,12 /* restore unaligned adjusted src ptr */
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memset.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memset.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/power6/memset.S Sat Aug 31 00:02:15 2013
@@ -101,7 +101,7 @@
boundary may not be at cache line (128-byte) boundary. */
L(nzloopstart):
/* memset in 32-byte chunks until we get to a cache line boundary.
- If rLEN is less then the distance to the next cache-line boundary use
+ If rLEN is less than the distance to the next cache-line boundary use
cacheAligned1 code to finish the tail. */
cmplwi cr1,rLEN,128
@@ -306,7 +306,7 @@
block zero instruction. */
L(zloopstart):
/* memset in 32-byte chunks until we get to a cache line boundary.
- If rLEN is less then the distance to the next cache-line boundary use
+ If rLEN is less than the distance to the next cache-line boundary use
cacheAligned1 code to finish the tail. */
cmplwi cr1,rLEN,128
beq L(medium)
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 Aug 31 00:02:15 2013
@@ -450,7 +450,7 @@
ld 3,-16(1)
blr
.align 4
-L(dus_tail16p8): /* less then 8 bytes left. */
+L(dus_tail16p8): /* less than 8 bytes left. */
beq cr1,L(dus_tailX) /* exactly 16 bytes, early exit. */
cmpldi cr1,10,20
bf 29,L(dus_tail16p2)
@@ -464,7 +464,7 @@
ld 3,-16(1)
blr
.align 4
-L(dus_tail16p4): /* less then 4 bytes left. */
+L(dus_tail16p4): /* less than 4 bytes left. */
addi 12,12,24
addi 3,3,24
bgt cr0,L(dus_tail2)
@@ -472,7 +472,7 @@
ld 3,-16(1)
blr
.align 4
-L(dus_tail16p2): /* 16 bytes moved, less then 4 bytes left. */
+L(dus_tail16p2): /* 16 bytes moved, less than 4 bytes left. */
addi 12,12,16
addi 3,3,16
b L(dus_tail2)
@@ -497,7 +497,7 @@
ld 3,-16(1)
blr
.align 4
-L(dus_tail8p4): /* less then 4 bytes left. */
+L(dus_tail8p4): /* less than 4 bytes left. */
addi 12,12,8
addi 3,3,8
bgt cr1,L(dus_tail2)
@@ -508,7 +508,7 @@
.align 4
L(dus_tail4): /* Move 4 bytes. */
/* r6 already loaded speculatively. If we are here we know there is
- more then 4 bytes left. So there is no need to test. */
+ more than 4 bytes left. So there is no need to test. */
addi 12,12,4
stw 6,0(3)
addi 3,3,4
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memset.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memset.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/power6/memset.S Sat Aug 31 00:02:15 2013
@@ -110,7 +110,7 @@
boundary may not be at cache line (128-byte) boundary. */
L(nzloopstart):
/* memset in 32-byte chunks until we get to a cache line boundary.
- If rLEN is less then the distance to the next cache-line boundary use
+ If rLEN is less than the distance to the next cache-line boundary use
cacheAligned1 code to finish the tail. */
cmpldi cr1,rLEN,128
@@ -186,7 +186,7 @@
block zero instruction. */
L(zloopstart):
/* memset in 32-byte chunks until we get to a cache line boundary.
- If rLEN is less then the distance to the next cache-line boundary use
+ If rLEN is less than the distance to the next cache-line boundary use
cacheAligned1 code to finish the tail. */
cmpldi cr1,rLEN,128
beq L(medium)
Modified: fsf/trunk/libc/sysdeps/s390/dl-procinfo.h
==============================================================================
--- fsf/trunk/libc/sysdeps/s390/dl-procinfo.h (original)
+++ fsf/trunk/libc/sysdeps/s390/dl-procinfo.h Sat Aug 31 00:02:15 2013
@@ -31,7 +31,7 @@
#define _DL_HWCAP_PLATFORM (((1ULL << _DL_PLATFORMS_COUNT) - 1) \
<< _DL_FIRST_PLATFORM)
-/* Hardware capablity bit numbers are derived directly from the
+/* Hardware capability bit numbers are derived directly from the
facility indications as stored by the "store facility list" (STFL)
instruction.
highgprs is an alien in that list. It describes a *kernel*
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/chown.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/chown.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/i386/chown.c Sat Aug 31 00:02:15 2013
@@ -49,7 +49,7 @@
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-/* Compiling for compatibiity. */
+/* Compiling for compatibility. */
int
attribute_compat_text_section
__chown_is_lchown (const char *file, uid_t owner, gid_t group)
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/s390/s390-32/chown.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/s390/s390-32/chown.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/s390/s390-32/chown.c Sat Aug 31 00:02:15 2013
@@ -46,7 +46,7 @@
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
-/* Compiling for compatibiity. */
+/* Compiling for compatibility. */
int
attribute_compat_text_section
__chown_is_lchown (const char *file, uid_t owner, gid_t group)
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c Sat Aug 31 00:02:15 2013
@@ -28,7 +28,7 @@
Returning to the correct parent context is pretty simple on
Sparc. We only need to link up the register windows correctly.
Since global registers are clobbered by calls, we need not be
- concernred about those, and thus is all could be worked out without
+ concerned about those, and thus is all could be worked out without
using a trampoline.
Except that we must deal with the signal mask, thus a trampoline
Modified: fsf/trunk/libc/sysdeps/x86_64/dl-trampoline.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/dl-trampoline.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/dl-trampoline.S Sat Aug 31 00:02:15 2013
@@ -119,7 +119,7 @@
movq %rax, LR_RSP_OFFSET(%rsp)
/* We always store the XMM registers even if AVX is available.
- This is to provide backward binary compatility for existing
+ This is to provide backward binary compatibility for existing
audit modules. */
movaps %xmm0, (LR_XMM_OFFSET)(%rsp)
movaps %xmm1, (LR_XMM_OFFSET + XMM_SIZE)(%rsp)
Modified: fsf/trunk/libc/sysdeps/x86_64/multiarch/ifunc-impl-list.c
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/multiarch/ifunc-impl-list.c (original)
+++ fsf/trunk/libc/sysdeps/x86_64/multiarch/ifunc-impl-list.c Sat Aug 31 00:02:15 2013
@@ -60,12 +60,6 @@
IFUNC_IMPL_ADD (array, i, memmove, HAS_SSSE3,
__memmove_ssse3)
IFUNC_IMPL_ADD (array, i, memmove, 1, __memmove_sse2))
-
- /* Support sysdeps/x86_64/multiarch/rawmemchr.S. */
- IFUNC_IMPL (i, name, rawmemchr,
- IFUNC_IMPL_ADD (array, i, rawmemchr, HAS_SSE4_2,
- __rawmemchr_sse42)
- IFUNC_IMPL_ADD (array, i, rawmemchr, 1, __rawmemchr_sse2))
/* Support sysdeps/x86_64/multiarch/stpncpy.S. */
IFUNC_IMPL (i, name, stpncpy,
Removed: fsf/trunk/libc/sysdeps/x86_64/multiarch/rawmemchr.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/multiarch/rawmemchr.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/multiarch/rawmemchr.S (removed)
@@ -1,103 +1,0 @@
-/* Multiple versions of rawmemchr
- All versions must be listed in ifunc-impl-list.c.
- Copyright (C) 2009-2013 Free Software Foundation, Inc.
- Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#include <sysdep.h>
-#include <init-arch.h>
-
-
-/* Define multiple versions only for the definition in lib. */
-#ifndef NOT_IN_libc
- .text
-ENTRY(rawmemchr)
- .type rawmemchr, @gnu_indirect_function
- cmpl $0, __cpu_features+KIND_OFFSET(%rip)
- jne 1f
- call __init_cpu_features
-1: testl $bit_Prefer_PMINUB_for_stringop, __cpu_features+FEATURE_OFFSET+index_Prefer_PMINUB_for_stringop(%rip)
- jnz 2f
- testl $bit_SSE4_2, __cpu_features+CPUID_OFFSET+index_SSE4_2(%rip)
- jz 2f
- leaq __rawmemchr_sse42(%rip), %rax
- ret
-2: leaq __rawmemchr_sse2(%rip), %rax
- ret
-
-END(rawmemchr)
-strong_alias (rawmemchr, __rawmemchr)
-
-
- .section .text.sse4.2,"ax",@progbits
- .align 16
- .type __rawmemchr_sse42, @function
- .globl __rawmemchr_sse42
- .hidden __rawmemchr_sse42
-__rawmemchr_sse42:
- cfi_startproc
- CALL_MCOUNT
- movd %esi, %xmm1
- movq %rdi, %rcx
- pxor %xmm2, %xmm2
- andq $~15, %rdi
- orl $0xffffffff, %esi
- pshufb %xmm2, %xmm1
- movdqa (%rdi), %xmm0
- subq %rdi, %rcx
- pcmpeqb %xmm1, %xmm0
- shl %cl, %esi
- pmovmskb %xmm0, %ecx
- movl $16, %eax
- movl $16, %edx
- andl %esi, %ecx
- jnz 1f
-
-2: pcmpestri $0x08, 16(%rdi), %xmm1
- leaq 16(%rdi), %rdi
- jnc 2b
-
- leaq (%rdi,%rcx), %rax
- ret
-
-1: bsfl %ecx, %eax
- addq %rdi, %rax
- ret
- cfi_endproc
- .size __rawmemchr_sse42, .-__rawmemchr_sse42
-
-
-# undef ENTRY
-# define ENTRY(name) \
- .type __rawmemchr_sse2, @function; \
- .align 16; \
- .globl __rawmemchr_sse2; \
- .hidden __rawmemchr_sse2; \
- __rawmemchr_sse2: cfi_startproc; \
- CALL_MCOUNT
-# undef END
-# define END(name) \
- cfi_endproc; .size __rawmemchr_sse2, .-__rawmemchr_sse2
-# undef libc_hidden_builtin_def
-/* It doesn't make sense to send libc-internal rawmemchr calls through a PLT.
- The speedup we get from using SSE4.2 instruction is likely eaten away
- by the indirect call in the PLT. */
-# define libc_hidden_builtin_def(name) \
- .globl __GI___rawmemchr; __GI___rawmemchr = __rawmemchr_sse2
-#endif
-
-#include "../rawmemchr.S"
Modified: fsf/trunk/libc/sysdeps/x86_64/multiarch/strcmp-sse42.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/multiarch/strcmp-sse42.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/multiarch/strcmp-sse42.S Sat Aug 31 00:02:15 2013
@@ -206,7 +206,7 @@
jnz LABEL(less16bytes)/* If not, find different value or null char */
#if defined USE_AS_STRNCMP || defined USE_AS_STRNCASECMP_L
sub $16, %r11
- jbe LABEL(strcmp_exitz)/* finish comparision */
+ jbe LABEL(strcmp_exitz)/* finish comparison */
#endif
add $16, %rsi /* prepare to search next 16 bytes */
add $16, %rdi /* prepare to search next 16 bytes */
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits