[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r23234 - in /fsf/trunk/libc: ./ debug/ elf/ hurd/ hurd/hurd/ include/ inet/ libio/ locale/programs/ mach/ nptl/ nptl/sysdeps...
- To: commits@xxxxxxxxxx
- Subject: [Commits] r23234 - in /fsf/trunk/libc: ./ debug/ elf/ hurd/ hurd/hurd/ include/ inet/ libio/ locale/programs/ mach/ nptl/ nptl/sysdeps...
- From: eglibc@xxxxxxxxxx
- Date: Fri, 07 Jun 2013 00:02:43 -0000
Author: eglibc
Date: Fri Jun 7 00:02:42 2013
New Revision: 23234
Log:
Import glibc-mainline for 2013-06-07
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/debug/fgetws_u_chk.c
fsf/trunk/libc/elf/sln.c
fsf/trunk/libc/hurd/hurd/ioctl.h
fsf/trunk/libc/hurd/hurdmalloc.c
fsf/trunk/libc/hurd/xattr.c
fsf/trunk/libc/include/shlib-compat.h
fsf/trunk/libc/inet/ruserpass.c
fsf/trunk/libc/libio/iofgets_u.c
fsf/trunk/libc/libio/iofgetws_u.c
fsf/trunk/libc/locale/programs/ld-identification.c
fsf/trunk/libc/locale/programs/ld-time.c
fsf/trunk/libc/mach/msg-destroy.c
fsf/trunk/libc/nptl/ChangeLog
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
fsf/trunk/libc/nptl/tst-cond22.c
fsf/trunk/libc/nptl/tst-mutexpp10.c
fsf/trunk/libc/nptl/tst-stackguard1.c
fsf/trunk/libc/nptl/tst-umask1.c
fsf/trunk/libc/nss/nss_files/files-netgrp.c
fsf/trunk/libc/ports/ChangeLog.microblaze
fsf/trunk/libc/resolv/res_data.c
fsf/trunk/libc/scripts/config.guess
fsf/trunk/libc/scripts/config.sub
fsf/trunk/libc/scripts/install-sh
fsf/trunk/libc/scripts/mkinstalldirs
fsf/trunk/libc/scripts/move-if-change
fsf/trunk/libc/soft-fp/op-1.h
fsf/trunk/libc/soft-fp/op-2.h
fsf/trunk/libc/soft-fp/op-4.h
fsf/trunk/libc/soft-fp/op-common.h
fsf/trunk/libc/stdio-common/printf_fphex.c
fsf/trunk/libc/stdlib/strtod_l.c
fsf/trunk/libc/sunrpc/rpc/clnt.h
fsf/trunk/libc/sysdeps/generic/framestate.c
fsf/trunk/libc/sysdeps/i386/__longjmp.S
fsf/trunk/libc/sysdeps/i386/bsd-_setjmp.S
fsf/trunk/libc/sysdeps/i386/bsd-setjmp.S
fsf/trunk/libc/sysdeps/i386/setjmp.S
fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_rem_pio2.c
fsf/trunk/libc/sysdeps/ieee754/flt-32/e_rem_pio2f.c
fsf/trunk/libc/sysdeps/ieee754/flt-32/k_rem_pio2f.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_expl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/ldbl2mpn.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_llrintl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_llroundl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_lrintl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_lroundl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttoward.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_truncl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_expl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c
fsf/trunk/libc/sysdeps/ieee754/ldbl-96/ldbl2mpn.c
fsf/trunk/libc/sysdeps/ieee754/support.c
fsf/trunk/libc/sysdeps/powerpc/powerpc32/dl-machine.c
fsf/trunk/libc/sysdeps/powerpc/powerpc32/lshift.S
fsf/trunk/libc/sysdeps/sparc/sparc32/__longjmp.S
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_cmp.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_feq.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fge.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fgt.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fne.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_mul.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c
fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtox.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/lutimes.c
fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri Jun 7 00:02:42 2013
@@ -1,6 +1,80 @@
+2013-06-06 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * scripts/config.guess: Update to version 2013-05-16.
+ * scripts/config.sub: Update to version 2013-04-24.
+ * scripts/install-sh: Update to version 2011-11-20.07.
+ * scripts/mkinstalldirs: Update to version 2009-04-28.21.
+ * scripts/move-if-change: Update to version 2012-01-06 07:23.
+
+2013-06-06 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * debug/fgetws_u_chk.c: Fix leading whitespaces.
+ * elf/sln.c: Likewise.
+ * hurd/hurd/ioctl.h: Likewise.
+ * hurd/hurdmalloc.c: Likewise.
+ * hurd/xattr.c: Likewise.
+ * include/shlib-compat.h: Likewise.
+ * inet/ruserpass.c: Likewise.
+ * libio/iofgets_u.c: Likewise.
+ * libio/iofgetws_u.c: Likewise.
+ * locale/programs/ld-identification.c: Likewise.
+ * locale/programs/ld-time.c: Likewise.
+ * mach/msg-destroy.c: Likewise.
+ * nss/nss_files/files-netgrp.c: Likewise.
+ * resolv/res_data.c: Likewise.
+ * soft-fp/op-1.h: Likewise.
+ * soft-fp/op-2.h: Likewise.
+ * soft-fp/op-4.h: Likewise.
+ * soft-fp/op-common.h: Likewise.
+ * stdio-common/printf_fphex.c: Likewise.
+ * stdlib/strtod_l.c: Likewise.
+ * sunrpc/rpc/clnt.h: Likewise.
+ * sysdeps/generic/framestate.c: Likewise.
+ * sysdeps/i386/bsd-_setjmp.S: Likewise.
+ * sysdeps/i386/bsd-setjmp.S: Likewise.
+ * sysdeps/i386/__longjmp.S: Likewise.
+ * sysdeps/i386/setjmp.S: Likewise.
+ * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
+ * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
+ * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
+ * sysdeps/ieee754/support.c: Likewise.
+ * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
+ * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
+ * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
+ * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
+ * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
+
2013-06-05 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
- * posix/transbug.c: Likewise.
+ * posix/transbug.c: Remove executable mode.
2013-06-05 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
Modified: fsf/trunk/libc/debug/fgetws_u_chk.c
==============================================================================
--- fsf/trunk/libc/debug/fgetws_u_chk.c (original)
+++ fsf/trunk/libc/debug/fgetws_u_chk.c Fri Jun 7 00:02:42 2013
@@ -46,7 +46,7 @@
/* If we read in some bytes and errno is EAGAIN, that error will
be reported for next read. */
if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)
- && errno != EAGAIN))
+ && errno != EAGAIN))
result = NULL;
else if (count >= size)
__chk_fail ();
Modified: fsf/trunk/libc/elf/sln.c
==============================================================================
--- fsf/trunk/libc/elf/sln.c (original)
+++ fsf/trunk/libc/elf/sln.c Fri Jun 7 00:02:42 2013
@@ -176,13 +176,13 @@
if (S_ISDIR (stats.st_mode))
{
fprintf (stderr, _("%s: destination must not be a directory\n"),
- dest);
+ dest);
return 1;
}
else if (unlink (dest) && errno != ENOENT)
{
fprintf (stderr, _("%s: failed to remove the old destination\n"),
- dest);
+ dest);
return 1;
}
}
@@ -205,7 +205,7 @@
error = strerror (errno);
unlink (dest);
fprintf (stderr, _("Invalid link from \"%s\" to \"%s\": %s\n"),
- src, dest, error);
+ src, dest, error);
return 1;
}
return 0;
@@ -214,7 +214,7 @@
{
error = strerror (errno);
fprintf (stderr, _("Invalid link from \"%s\" to \"%s\": %s\n"),
- src, dest, error);
+ src, dest, error);
return 1;
}
}
Modified: fsf/trunk/libc/hurd/hurd/ioctl.h
==============================================================================
--- fsf/trunk/libc/hurd/hurd/ioctl.h (original)
+++ fsf/trunk/libc/hurd/hurd/ioctl.h Fri Jun 7 00:02:42 2013
@@ -54,7 +54,7 @@
#define _HURD_HANDLE_IOCTLS_1(handler, first, last, moniker) \
static const struct ioctl_handler handler##_ioctl_handler##moniker \
- __attribute__ ((__unused__)) = \
+ __attribute__ ((__unused__)) = \
{ _IOC_NOTYPE (first), _IOC_NOTYPE (last), \
(ioctl_handler_t) (handler), NULL }; \
text_set_element (_hurd_ioctl_handler_lists, \
Modified: fsf/trunk/libc/hurd/hurdmalloc.c
==============================================================================
--- fsf/trunk/libc/hurd/hurdmalloc.c (original)
+++ fsf/trunk/libc/hurd/hurdmalloc.c Fri Jun 7 00:02:42 2013
@@ -382,15 +382,15 @@
void
print_malloc_free_list()
{
- register int i, size;
+ register int i, size;
register free_list_t fl;
register int n;
- register header_t h;
+ register header_t h;
int total_used = 0;
int total_free = 0;
fprintf(stderr, " Size In Use Free Total\n");
- for (i = 0, size = MIN_SIZE, fl = malloc_free_list;
+ for (i = 0, size = MIN_SIZE, fl = malloc_free_list;
i < NBUCKETS;
i += 1, size <<= 1, fl += 1) {
spin_lock(&fl->lock);
@@ -403,8 +403,8 @@
size, fl->in_use, n, fl->in_use + n);
}
spin_unlock(&fl->lock);
- }
- fprintf(stderr, " all sizes %10d %10d %10d\n",
+ }
+ fprintf(stderr, " all sizes %10d %10d %10d\n",
total_used, total_free, total_used + total_free);
}
#endif /* DEBUG */
Modified: fsf/trunk/libc/hurd/xattr.c
==============================================================================
--- fsf/trunk/libc/hurd/xattr.c (original)
+++ fsf/trunk/libc/hurd/xattr.c Fri Jun 7 00:02:42 2013
@@ -29,7 +29,7 @@
gnu.author empty if st_author==st_uid
uid_t giving st_author value
gnu.translator empty if no passive translator
- translator and arguments: "/hurd/foo\0arg1\0arg2\0"
+ translator and arguments: "/hurd/foo\0arg1\0arg2\0"
*/
error_t
Modified: fsf/trunk/libc/include/shlib-compat.h
==============================================================================
--- fsf/trunk/libc/include/shlib-compat.h (original)
+++ fsf/trunk/libc/include/shlib-compat.h Fri Jun 7 00:02:42 2013
@@ -57,7 +57,7 @@
the version set name to use for e.g. symbols first introduced into
libm in the GLIBC_2.1 version. Definitions of symbols with explicit
versions should look like:
- versioned_symbol (libm, new_foo, foo, GLIBC_2_1);
+ versioned_symbol (libm, new_foo, foo, GLIBC_2_1);
This will define the symbol `foo' with the appropriate default version,
i.e. either GLIBC_2.1 or the "earliest version" specified in
shlib-versions if that is newer. */
Modified: fsf/trunk/libc/inet/ruserpass.c
==============================================================================
--- fsf/trunk/libc/inet/ruserpass.c (original)
+++ fsf/trunk/libc/inet/ruserpass.c Fri Jun 7 00:02:42 2013
@@ -108,7 +108,7 @@
which is no improvement. This really should call
getpwuid(getuid()). */
/*hdir = ".";*/
- return -1;
+ return -1;
}
buf = alloca (strlen (hdir) + 8);
Modified: fsf/trunk/libc/libio/iofgets_u.c
==============================================================================
--- fsf/trunk/libc/libio/iofgets_u.c (original)
+++ fsf/trunk/libc/libio/iofgets_u.c Fri Jun 7 00:02:42 2013
@@ -56,7 +56,7 @@
/* If we read in some bytes and errno is EAGAIN, that error will
be reported for next read. */
if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)
- && errno != EAGAIN))
+ && errno != EAGAIN))
result = NULL;
else
{
Modified: fsf/trunk/libc/libio/iofgetws_u.c
==============================================================================
--- fsf/trunk/libc/libio/iofgetws_u.c (original)
+++ fsf/trunk/libc/libio/iofgetws_u.c Fri Jun 7 00:02:42 2013
@@ -56,7 +56,7 @@
/* If we read in some bytes and errno is EAGAIN, that error will
be reported for next read. */
if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)
- && errno != EAGAIN))
+ && errno != EAGAIN))
result = NULL;
else
{
Modified: fsf/trunk/libc/locale/programs/ld-identification.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-identification.c (original)
+++ fsf/trunk/libc/locale/programs/ld-identification.c Fri Jun 7 00:02:42 2013
@@ -144,7 +144,7 @@
{ \
if (verbose && ! nothing) \
WITH_CUR_LOCALE (error (0, 0, _("%s: field `%s' not defined"), \
- "LC_IDENTIFICATION", #cat)); \
+ "LC_IDENTIFICATION", #cat)); \
identification->cat = ""; \
}
Modified: fsf/trunk/libc/locale/programs/ld-time.c
==============================================================================
--- fsf/trunk/libc/locale/programs/ld-time.c (original)
+++ fsf/trunk/libc/locale/programs/ld-time.c Fri Jun 7 00:02:42 2013
@@ -1040,7 +1040,7 @@
time->cat[cnt] = ""; \
time->w##cat[cnt++] = empty_wstr; \
} \
- \
+ \
if (now->tok == tok_semicolon) \
{ \
now = lr_token (ldfile, charmap, result, repertoire, \
Modified: fsf/trunk/libc/mach/msg-destroy.c
==============================================================================
--- fsf/trunk/libc/mach/msg-destroy.c (original)
+++ fsf/trunk/libc/mach/msg-destroy.c Fri Jun 7 00:02:42 2013
@@ -75,10 +75,10 @@
mach_msg_body_t *body;
mach_msg_descriptor_t *saddr, *eaddr;
- body = (mach_msg_body_t *) (msg + 1);
- saddr = (mach_msg_descriptor_t *)
+ body = (mach_msg_body_t *) (msg + 1);
+ saddr = (mach_msg_descriptor_t *)
((mach_msg_base_t *) msg + 1);
- eaddr = saddr + body->msgh_descriptor_count;
+ eaddr = saddr + body->msgh_descriptor_count;
for ( ; saddr < eaddr; saddr++) {
switch (saddr->type.type) {
Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Fri Jun 7 00:02:42 2013
@@ -1,3 +1,26 @@
+2013-06-06 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
+
+ * tst-cond22.c: Fix leading whitespaces.
+ * tst-umask1.c: Likewise.
+
+2013-06-06 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Remove
+ trailing whitespace.
+ * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
+ * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_once.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
+ * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
+ * tst-mutexpp10.c: Likewise.
+ * tst-stackguard1.c: Likewise.
+
2013-05-31 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* Makefile ($(objpfx)libpthread.so): Remove dependencies on libc
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S Fri Jun 7 00:02:42 2013
@@ -114,7 +114,7 @@
cfi_adjust_cfa_offset(4)
cfi_offset(%ebx, -8)
-
+
/* The necessary number of threads arrived. */
3:
#if CURR_EVENT == 0
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c Fri Jun 7 00:02:42 2013
@@ -48,7 +48,7 @@
symbol_version (__novmx_longjmp,longjmp,GLIBC_2.0);
symbol_version (__novmx_siglongjmp,siglongjmp,GLIBC_2.0);
# endif
-#endif /* defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)) */
+#endif /* defined SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)) */
void
__vmx_longjmp (jmp_buf env, int val)
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h Fri Jun 7 00:02:42 2013
@@ -70,7 +70,7 @@
: (fl)) \
: ((fl) | (((private) ^ FUTEX_PRIVATE_FLAG) \
& THREAD_GETMEM (THREAD_SELF, header.private_futex))))
-# endif
+# endif
#endif
#ifndef __ASSEMBLER__
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S Fri Jun 7 00:02:42 2013
@@ -210,7 +210,7 @@
bra 7b
mov r9, r6
-9:
+9:
mov r6, r9
mov.l @(PRIVATE,r8), r5
mov #LLL_SHARED, r0
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S Fri Jun 7 00:02:42 2013
@@ -200,7 +200,7 @@
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait5, r1
bsrf r1
@@ -220,7 +220,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake5, r1
bsrf r1
extu.b r5, r5
@@ -239,7 +239,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake6, r1
bsrf r1
extu.b r5, r5
@@ -263,7 +263,7 @@
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #-1, r6
shlr r6 /* r6 = 0x7fffffff */
mov #0, r7
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S Fri Jun 7 00:02:42 2013
@@ -162,7 +162,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake4, r1
bsrf r1
extu.b r5, r5
@@ -181,7 +181,7 @@
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait4, r1
bsrf r1
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S Fri Jun 7 00:02:42 2013
@@ -107,7 +107,7 @@
bt 17f
mov.l r9, @(dep_mutex,r8)
-17:
+17:
/* Unlock the mutex. */
mov.l .Lmunlock1, r1
mov #0, r5
@@ -137,14 +137,14 @@
mov.l @(cond_nwaiters,r8), r0
add r2, r0
mov.l r0, @(cond_nwaiters,r8)
-
+
/* Get and store current wakeup_seq value. */
mov.l @(wakeup_seq,r8), r10
mov.l @(wakeup_seq+4,r8), r11
mov.l @(broadcast_seq,r8), r0
mov.l r0, @(4,r15)
-8:
+8:
/* Get current time. */
#ifdef __NR_clock_gettime
/* Get the clock number. */
@@ -168,7 +168,7 @@
.L__NR_clock_gettime:
.word __NR_clock_gettime
-0:
+0:
#else
mov r15, r4
add #16, r4
@@ -240,7 +240,7 @@
mov #FUTEX_WAIT, r0
or r0, r5
#endif
-99:
+99:
mov.l @(8,r15), r6
mov r8, r4
add #cond_futex, r4
@@ -364,15 +364,15 @@
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #1, r6
mov #0, r7
mov #SYS_futex, r3
extu.b r3, r3
trapa #0x14
SYSCALL_INST_PAD
-
-25:
+
+25:
#if cond_lock != 0
DEC (@(cond_lock,r8), r2)
#else
@@ -393,7 +393,7 @@
bf 18f
mov.l @(24,r15), r0
-18:
+18:
cfi_remember_state
add #64, r15
cfi_adjust_cfa_offset (-64)
@@ -449,7 +449,7 @@
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait2, r1
bsrf r1
@@ -469,7 +469,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lmwait2, r1
bsrf r1
extu.b r5, r5
@@ -488,7 +488,7 @@
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait3, r1
bsrf r1
@@ -508,7 +508,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lmwait3, r1
bsrf r1
extu.b r5, r5
@@ -536,7 +536,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lmwait4, r1
bsrf r1
extu.b r5, r5
@@ -585,7 +585,7 @@
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait5, r1
bsrf r1
@@ -685,7 +685,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lmwait5, r1
bsrf r1
extu.b r5, r5
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S Fri Jun 7 00:02:42 2013
@@ -86,7 +86,7 @@
.long _GLOBAL_OFFSET_TABLE_
#endif
-2:
+2:
/* Store the reference to the mutex. If there is already a
different value in there this is a bad user bug. */
mov.l @(dep_mutex,r8),r0
@@ -94,7 +94,7 @@
bt 15f
mov.l r9, @(dep_mutex,r8)
-15:
+15:
/* Unlock the mutex. */
mov.l .Lmunlock0, r1
mov #0, r5
@@ -167,7 +167,7 @@
mov #FUTEX_WAIT, r0
or r0, r5
#endif
-99:
+99:
mov.l @(8,r15), r6
mov r8, r4
add #cond_futex, r4
@@ -179,7 +179,7 @@
mov.l .Ldisable0, r1
bsrf r1
mov.l @r15, r4
-.Ldisable0b:
+.Ldisable0b:
.LcleanupEND:
/* Lock. */
@@ -260,7 +260,7 @@
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #1, r6
mov #0, r7
mov #SYS_futex, r3
@@ -333,7 +333,7 @@
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait0, r1
bsrf r1
@@ -352,7 +352,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake0, r1
bsrf r1
extu.b r5, r5
@@ -371,7 +371,7 @@
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait1, r1
bsrf r1
@@ -391,7 +391,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake1, r1
bsrf r1
extu.b r5, r5
@@ -419,7 +419,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake2, r1
bsrf r1
extu.b r5, r5
@@ -469,7 +469,7 @@
bf/s 99f
mov #LLL_PRIVATE, r6
mov #LLL_SHARED, r6
-99:
+99:
extu.b r6, r6
mov.l .Lwait3, r1
bsrf r1
@@ -557,7 +557,7 @@
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #1, r6
mov #0, r7
mov #SYS_futex, r3
@@ -584,7 +584,7 @@
bf/s 99f
mov #LLL_PRIVATE, r5
mov #LLL_SHARED, r5
-99:
+99:
mov.l .Lwake3, r1
bsrf r1
extu.b r5, r5
@@ -611,7 +611,7 @@
mov #FUTEX_WAKE, r0
or r0, r5
#endif
-99:
+99:
mov #-1, r6
shlr r6 /* r6 = 0x7fffffff */
mov #0, r7
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S Fri Jun 7 00:02:42 2013
@@ -72,7 +72,7 @@
add r12, r2
#endif
mov.l @r2, r3
- or r3, r0
+ or r3, r0
or #1, r0
mov r0, r3
mov r1, r5
@@ -119,10 +119,10 @@
.Lgot:
.long _GLOBAL_OFFSET_TABLE_
#ifdef PIC
-.Lfgen:
+.Lfgen:
.long __fork_generation@GOTOFF
#else
-.Lfgen:
+.Lfgen:
.long __fork_generation
#endif
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S Fri Jun 7 00:02:42 2013
@@ -192,7 +192,7 @@
.Ltidoff:
.word TID - TLS_PRE_TCB_SIZE
-
+
6:
mov r8, r4
#if MUTEX != 0
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S Fri Jun 7 00:02:42 2013
@@ -209,7 +209,7 @@
.word PRIVATE_FUTEX - TLS_PRE_TCB_SIZE
#endif
.align 2
-.Lwait8:
+.Lwait8:
.long __lll_lock_wait-.Lwait8b
.Lwake8:
.long __lll_unlock_wake-.Lwake8b
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h Fri Jun 7 00:02:42 2013
@@ -78,7 +78,7 @@
: (fl)) \
: ((fl) | (((private) ^ FUTEX_PRIVATE_FLAG) \
& THREAD_GETMEM (THREAD_SELF, header.private_futex))))
-# endif
+# endif
#endif
Modified: fsf/trunk/libc/nptl/tst-cond22.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-cond22.c (original)
+++ fsf/trunk/libc/nptl/tst-cond22.c Fri Jun 7 00:02:42 2013
@@ -107,7 +107,7 @@
}
printf ("cond = { %d, %x, %lld, %lld, %lld, %p, %u, %u }\n",
- c.__data.__lock, c.__data.__futex, c.__data.__total_seq,
+ c.__data.__lock, c.__data.__futex, c.__data.__total_seq,
c.__data.__wakeup_seq, c.__data.__woken_seq, c.__data.__mutex,
c.__data.__nwaiters, c.__data.__broadcast_seq);
@@ -149,7 +149,7 @@
}
printf ("cond = { %d, %x, %lld, %lld, %lld, %p, %u, %u }\n",
- c.__data.__lock, c.__data.__futex, c.__data.__total_seq,
+ c.__data.__lock, c.__data.__futex, c.__data.__total_seq,
c.__data.__wakeup_seq, c.__data.__woken_seq, c.__data.__mutex,
c.__data.__nwaiters, c.__data.__broadcast_seq);
Modified: fsf/trunk/libc/nptl/tst-mutexpp10.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-mutexpp10.c (original)
+++ fsf/trunk/libc/nptl/tst-mutexpp10.c Fri Jun 7 00:02:42 2013
@@ -67,7 +67,7 @@
fifo_max + 1);
return 1;
}
-
+
if (fifo_min > 0
&& pthread_mutexattr_setprioceiling (&ma, fifo_min - 1) != EINVAL)
{
@@ -245,7 +245,7 @@
printf ("unexpected m1 old prioceiling %d != 6\n", prioceiling);
return 1;
}
-
+
if (pthread_mutex_getprioceiling (&m1, &prioceiling))
{
puts ("mutex_getprioceiling m1 failed");
Modified: fsf/trunk/libc/nptl/tst-stackguard1.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-stackguard1.c (original)
+++ fsf/trunk/libc/nptl/tst-stackguard1.c Fri Jun 7 00:02:42 2013
@@ -190,7 +190,7 @@
the 16 runs, something is very wrong. */
int ndifferences = 0;
int ndefaults = 0;
- for (i = 0; i < N; ++i)
+ for (i = 0; i < N; ++i)
{
if (child_stack_chk_guards[i] != child_stack_chk_guards[i+1])
ndifferences++;
Modified: fsf/trunk/libc/nptl/tst-umask1.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-umask1.c (original)
+++ fsf/trunk/libc/nptl/tst-umask1.c Fri Jun 7 00:02:42 2013
@@ -65,7 +65,7 @@
if ((st.st_mode & mask) != 0)
{
printf ("mask not successful after %s: %x still set\n",
- fcts[i].name, (unsigned int) (st.st_mode & mask));
+ fcts[i].name, (unsigned int) (st.st_mode & mask));
result = 1;
}
}
Modified: fsf/trunk/libc/nss/nss_files/files-netgrp.c
==============================================================================
--- fsf/trunk/libc/nss/nss_files/files-netgrp.c (original)
+++ fsf/trunk/libc/nss/nss_files/files-netgrp.c Fri Jun 7 00:02:42 2013
@@ -46,7 +46,7 @@
status = NSS_STATUS_UNAVAIL; \
goto the_end; \
} \
- \
+ \
result->cursor = result->data + old_cursor; \
} \
while (0)
Modified: fsf/trunk/libc/ports/ChangeLog.microblaze
==============================================================================
--- fsf/trunk/libc/ports/ChangeLog.microblaze (original)
+++ fsf/trunk/libc/ports/ChangeLog.microblaze Fri Jun 7 00:02:42 2013
@@ -1,7 +1,7 @@
2013-06-05 OndÃÂej BÃÂlka <neleai@xxxxxxxxx>
- * ports/sysdeps/microblaze/bits/atomic.h: Remove executable mode.
- * ports/sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
+ * sysdeps/microblaze/bits/atomic.h: Remove executable mode.
+ * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
2013-05-31 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
Modified: fsf/trunk/libc/resolv/res_data.c
==============================================================================
--- fsf/trunk/libc/resolv/res_data.c (original)
+++ fsf/trunk/libc/resolv/res_data.c Fri Jun 7 00:02:42 2013
@@ -236,7 +236,7 @@
void
res_close(void) {
#ifdef _LIBC
- /*
+ /*
* Some stupid programs out there call res_close() before res_init().
* Since _res._vcsock isn't explicitly initialized, these means that
* we could do a close(0), which might lead to some security problems.
Modified: fsf/trunk/libc/scripts/config.guess
==============================================================================
--- fsf/trunk/libc/scripts/config.guess (original)
+++ fsf/trunk/libc/scripts/config.guess Fri Jun 7 00:02:42 2013
@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2013 Free Software Foundation, Inc.
-timestamp='2013-02-12'
+timestamp='2013-05-16'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -131,6 +131,27 @@
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+case "${UNAME_SYSTEM}" in
+Linux|GNU|GNU/*)
+ # If the system lacks a compiler, then just pick glibc.
+ # We could probably try harder.
+ LIBC=gnu
+
+ eval $set_cc_for_build
+ cat <<-EOF > $dummy.c
+ #include <features.h>
+ #if defined(__UCLIBC__)
+ LIBC=uclibc
+ #elif defined(__dietlibc__)
+ LIBC=dietlibc
+ #else
+ LIBC=gnu
+ #endif
+ EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ ;;
+esac
# Note: order is significant - the case branches are not exclusive.
@@ -853,21 +874,21 @@
exit ;;
*:GNU:*:*)
# the GNU system
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit ;;
*:GNU/*:*:*)
# other systems with GNU libc and userland
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
exit ;;
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
exit ;;
aarch64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
aarch64_be:Linux:*:*)
UNAME_MACHINE=aarch64_be
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -880,59 +901,54 @@
EV68*) UNAME_MACHINE=alphaev68 ;;
esac
objdump --private-headers /bin/sh | grep -q ld.so.1
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arc:Linux:*:* | arceb:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
arm*:Linux:*:*)
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_EABI__
then
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
else
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_PCS_VFP
then
- echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
else
- echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
fi
fi
exit ;;
avr32*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
cris:Linux:*:*)
- echo ${UNAME_MACHINE}-axis-linux-gnu
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
exit ;;
crisv32:Linux:*:*)
- echo ${UNAME_MACHINE}-axis-linux-gnu
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
exit ;;
frv:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
hexagon:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
i*86:Linux:*:*)
- LIBC=gnu
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #ifdef __dietlibc__
- LIBC=dietlibc
- #endif
-EOF
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
exit ;;
ia64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
m32r*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
m68*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
mips:Linux:*:* | mips64:Linux:*:*)
eval $set_cc_for_build
@@ -951,57 +967,63 @@
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
;;
or1k:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
or32:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
padre:Linux:*:*)
- echo sparc-unknown-linux-gnu
+ echo sparc-unknown-linux-${LIBC}
exit ;;
parisc64:Linux:*:* | hppa64:Linux:*:*)
- echo hppa64-unknown-linux-gnu
+ echo hppa64-unknown-linux-${LIBC}
exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
- PA7*) echo hppa1.1-unknown-linux-gnu ;;
- PA8*) echo hppa2.0-unknown-linux-gnu ;;
- *) echo hppa-unknown-linux-gnu ;;
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
+ *) echo hppa-unknown-linux-${LIBC} ;;
esac
exit ;;
ppc64:Linux:*:*)
- echo powerpc64-unknown-linux-gnu
+ echo powerpc64-unknown-linux-${LIBC}
exit ;;
ppc:Linux:*:*)
- echo powerpc-unknown-linux-gnu
+ echo powerpc-unknown-linux-${LIBC}
+ exit ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-unknown-linux-${LIBC}
+ exit ;;
+ ppcle:Linux:*:*)
+ echo powerpcle-unknown-linux-${LIBC}
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
- echo ${UNAME_MACHINE}-ibm-linux
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
exit ;;
sh64*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
sh*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
sparc:Linux:*:* | sparc64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
tile*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
vax:Linux:*:*)
- echo ${UNAME_MACHINE}-dec-linux-gnu
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
exit ;;
x86_64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
xtensa*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -1234,19 +1256,21 @@
exit ;;
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
- case $UNAME_PROCESSOR in
- i386)
- eval $set_cc_for_build
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
- if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
- grep IS_64BIT_ARCH >/dev/null
- then
- UNAME_PROCESSOR="x86_64"
- fi
- fi ;;
- unknown) UNAME_PROCESSOR=powerpc ;;
- esac
+ eval $set_cc_for_build
+ if test "$UNAME_PROCESSOR" = unknown ; then
+ UNAME_PROCESSOR=powerpc
+ fi
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
+ fi
+ fi
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
exit ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
Modified: fsf/trunk/libc/scripts/config.sub
==============================================================================
--- fsf/trunk/libc/scripts/config.sub (original)
+++ fsf/trunk/libc/scripts/config.sub Fri Jun 7 00:02:42 2013
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2013 Free Software Foundation, Inc.
-timestamp='2013-02-12'
+timestamp='2013-04-24'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -252,7 +252,7 @@
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
- | arc \
+ | arc | arceb \
| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
| avr | avr32 \
| be32 | be64 \
@@ -366,7 +366,7 @@
| aarch64-* | aarch64_be-* \
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* | avr32-* \
| be32-* | be64-* \
Modified: fsf/trunk/libc/scripts/install-sh
==============================================================================
--- fsf/trunk/libc/scripts/install-sh (original)
+++ fsf/trunk/libc/scripts/install-sh Fri Jun 7 00:02:42 2013
@@ -1,250 +1,527 @@
-#! /bin/sh
-#
+#!/bin/sh
# install - install a program, script, or datafile
-# This comes from X11R5 (mit/util/scripts/install.sh).
-#
-# Copyright 1991 by the Massachusetts Institute of Technology
-#
-# Permission to use, copy, modify, distribute, and sell this software and its
-# documentation for any purpose is hereby granted without fee, provided that
-# the above copyright notice appear in all copies and that both that
-# copyright notice and this permission notice appear in supporting
-# documentation, and that the name of M.I.T. not be used in advertising or
-# publicity pertaining to distribution of the software without specific,
-# written prior permission. M.I.T. makes no representations about the
-# suitability of this software for any purpose. It is provided "as is"
-# without express or implied warranty.
+
+scriptversion=2011-11-20.07; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
-# `make' implicit rules from creating a file called install from it
+# 'make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
-# from scratch. It can only install one file at a time, a restriction
-# shared with many OS's install programs.
-
+# from scratch.
+
+nl='
+'
+IFS=" "" $nl"
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
-doit="${DOITPROG-}"
-
-
-# put in absolute paths if you don't have them in your path; or use env. vars.
-
-mvprog="${MVPROG-mv}"
-cpprog="${CPPROG-cp}"
-chmodprog="${CHMODPROG-chmod}"
-chownprog="${CHOWNPROG-chown}"
-chgrpprog="${CHGRPPROG-chgrp}"
-stripprog="${STRIPPROG-strip}"
-rmprog="${RMPROG-rm}"
-mkdirprog="${MKDIRPROG-mkdir}"
-
-transformbasename=""
-transform_arg=""
-instcmd="$mvprog"
-chmodcmd="$chmodprog 0755"
-chowncmd=""
-chgrpcmd=""
-stripcmd=""
+doit=${DOITPROG-}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
+
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
+
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
rmcmd="$rmprog -f"
-mvcmd="$mvprog"
-src=""
-dst=""
-dir_arg=""
-
-while [ x"$1" != x ]; do
- case $1 in
- -c) instcmd="$cpprog"
- shift
- continue;;
-
- -d) dir_arg=true
- shift
- continue;;
-
- -m) chmodcmd="$chmodprog $2"
- shift
- shift
- continue;;
-
- -o) chowncmd="$chownprog $2"
- shift
- shift
- continue;;
-
- -g) chgrpcmd="$chgrpprog $2"
- shift
- shift
- continue;;
-
- -s) stripcmd="$stripprog"
- shift
- continue;;
-
- -t=*) transformarg=`echo $1 | sed 's/-t=//'`
- shift
- continue;;
-
- -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
- shift
- continue;;
-
- *) if [ x"$src" = x ]
+stripcmd=
+
+src=
+dst=
+dir_arg=
+dst_arg=
+
+copy_on_change=false
+no_target_directory=
+
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve the last data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -s $stripprog installed files.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
+"
+
+while test $# -ne 0; do
+ case $1 in
+ -c) ;;
+
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
+
+ -o) chowncmd="$chownprog $2"
+ shift;;
+
+ -s) stripcmd=$stripprog;;
+
+ -t) dst_arg=$2
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ shift;;
+
+ -T) no_target_directory=true;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ --) shift
+ break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
+ esac
+ shift
+done
+
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ done
+fi
+
+if test $# -eq 0; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call 'install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+if test -z "$dir_arg"; then
+ do_exit='(exit $ret); exit $ret'
+ trap "ret=129; $do_exit" 1
+ trap "ret=130; $do_exit" 2
+ trap "ret=141; $do_exit" 13
+ trap "ret=143; $do_exit" 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
+for src
+do
+ # Protect names problematic for 'test' and other utilities.
+ case $src in
+ -* | [=\(\)!]) src=./$src;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dst_arg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+ dst=$dst_arg
+
+ # If destination is a directory, append the input filename; won't work
+ # if double slashes aren't ignored.
+ if test -d "$dst"; then
+ if test -n "$no_target_directory"; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
then
- src=$1
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
else
- # this colon is to work around a 386BSD /bin/sh bug
- :
- dst=$1
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
fi
- shift
- continue;;
+ trap '' 0;;
+ esac;;
esac
+
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
+
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ [-=\(\)!]*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ eval "$initialize_posix_glob"
+
+ oIFS=$IFS
+ IFS=/
+ $posix_glob set -f
+ set fnord $dstdir
+ shift
+ $posix_glob set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test X"$d" = X && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
+ fi
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
+
+ # and set any options; do chmod last to preserve setuid bits.
+ #
+ # If any of these fail, we abort the whole thing. If we want to
+ # ignore errors from any of these, just make sure not to ignore
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ $posix_glob set +f &&
+
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
done
-if [ x"$src" = x ]
-then
- echo "install: no input file specified"
- exit 1
-else
- true
-fi
-
-if [ x"$dir_arg" != x ]; then
- dst=$src
- src=""
-
- if [ -d $dst ]; then
- instcmd=:
- else
- instcmd=mkdir
- fi
-else
-
-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
-# might cause directories to be created, which would be especially bad
-# if $src (and thus $dsttmp) contains '*'.
-
- if [ -f $src -o -d $src ]
- then
- true
- else
- echo "install: $src does not exist"
- exit 1
- fi
-
- if [ x"$dst" = x ]
- then
- echo "install: no destination specified"
- exit 1
- else
- true
- fi
-
-# If destination is a directory, append the input filename; if your system
-# does not like double slashes in filenames, you may need to add some logic
-
- if [ -d $dst ]
- then
- dst="$dst"/`basename $src`
- else
- true
- fi
-fi
-
-## this sed command emulates the dirname command
-dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
-
-# Make sure that the destination directory exists.
-# this part is taken from Noah Friedman's mkinstalldirs script
-
-# Skip lots of stat calls in the usual case.
-if [ ! -d "$dstdir" ]; then
-defaultIFS='
-'
-IFS="${IFS-${defaultIFS}}"
-
-oIFS="${IFS}"
-# Some sh's can't handle IFS=/ for some reason.
-IFS='%'
-set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
-IFS="${oIFS}"
-
-pathcomp=''
-
-while [ $# -ne 0 ] ; do
- pathcomp="${pathcomp}${1}"
- shift
-
- if [ ! -d "${pathcomp}" ] ;
- then
- $mkdirprog "${pathcomp}"
- else
- true
- fi
-
- pathcomp="${pathcomp}/"
-done
-fi
-
-if [ x"$dir_arg" != x ]
-then
- $doit $instcmd $dst &&
-
- if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
- if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
-else
-
-# If we're going to rename the final executable, determine the name now.
-
- if [ x"$transformarg" = x ]
- then
- dstfile=`basename $dst`
- else
- dstfile=`basename $dst $transformbasename |
- sed $transformarg`$transformbasename
- fi
-
-# don't allow the sed command to completely eliminate the filename
-
- if [ x"$dstfile" = x ]
- then
- dstfile=`basename $dst`
- else
- true
- fi
-
-# Make a temp file name in the proper directory.
-
- dsttmp=$dstdir/#inst.$$#
-
-# Move or copy the file name to the temp name
-
- $doit $instcmd $src $dsttmp &&
-
- trap "rm -f ${dsttmp}" 0 &&
-
-# and set any options; do chmod last to preserve setuid bits
-
-# If any of these fail, we abort the whole thing. If we want to
-# ignore errors from any of these, just make sure not to ignore
-# errors from the above "$doit $instcmd $src $dsttmp" command.
-
- if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
- if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
- if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
- if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
-
-# Now rename the file to the real destination.
-
- $doit $rmcmd -f $dstdir/$dstfile &&
- $doit $mvcmd $dsttmp $dstdir/$dstfile
-
-fi &&
-
-
-exit 0
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
Modified: fsf/trunk/libc/scripts/mkinstalldirs
==============================================================================
--- fsf/trunk/libc/scripts/mkinstalldirs (original)
+++ fsf/trunk/libc/scripts/mkinstalldirs Fri Jun 7 00:02:42 2013
@@ -1,38 +1,162 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman <friedman@xxxxxxxxxxxxxxx>
+
+scriptversion=2009-04-28.21; # UTC
+
+# Original author: Noah Friedman <friedman@xxxxxxxxxxxxxxx>
# Created: 1993-05-16
-# Public domain
+# Public domain.
+#
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@xxxxxxx> or send patches to
+# <automake-patches@xxxxxxx>.
+nl='
+'
+IFS=" "" $nl"
errstatus=0
+dirmode=
+
+usage="\
+Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
+
+Create each directory DIR (with mode MODE, if specified), including all
+leading file name components.
+
+Report bugs to <bug-automake@xxxxxxx>."
+
+# process command line arguments
+while test $# -gt 0 ; do
+ case $1 in
+ -h | --help | --h*) # -h for help
+ echo "$usage"
+ exit $?
+ ;;
+ -m) # -m PERM arg
+ shift
+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
+ dirmode=$1
+ shift
+ ;;
+ --version)
+ echo "$0 $scriptversion"
+ exit $?
+ ;;
+ --) # stop option processing
+ shift
+ break
+ ;;
+ -*) # unknown option
+ echo "$usage" 1>&2
+ exit 1
+ ;;
+ *) # first non-opt arg
+ break
+ ;;
+ esac
+done
for file
do
- set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
- shift
+ if test -d "$file"; then
+ shift
+ else
+ break
+ fi
+done
- pathcomp=
- for d
- do
- pathcomp="$pathcomp$d"
- case "$pathcomp" in
- -* ) pathcomp=./$pathcomp ;;
- esac
+case $# in
+ 0) exit 0 ;;
+esac
- if test ! -d "$pathcomp"; then
- echo "mkdir $pathcomp" 1>&2
+# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
+# mkdir -p a/c at the same time, both will detect that a is missing,
+# one will create a, then the other will try to create a and die with
+# a "File exists" error. This is a problem when calling mkinstalldirs
+# from a parallel make. We use --version in the probe to restrict
+# ourselves to GNU mkdir, which is thread-safe.
+case $dirmode in
+ '')
+ if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
+ echo "mkdir -p -- $*"
+ exec mkdir -p -- "$@"
+ else
+ # On NextStep and OpenStep, the 'mkdir' command does not
+ # recognize any option. It will interpret all options as
+ # directories to create, and then abort because '.' already
+ # exists.
+ test -d ./-p && rmdir ./-p
+ test -d ./--version && rmdir ./--version
+ fi
+ ;;
+ *)
+ if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
+ test ! -d ./--version; then
+ echo "mkdir -m $dirmode -p -- $*"
+ exec mkdir -m "$dirmode" -p -- "$@"
+ else
+ # Clean up after NextStep and OpenStep mkdir.
+ for d in ./-m ./-p ./--version "./$dirmode";
+ do
+ test -d $d && rmdir $d
+ done
+ fi
+ ;;
+esac
- mkdir "$pathcomp" || lasterr=$?
+for file
+do
+ case $file in
+ /*) pathcomp=/ ;;
+ *) pathcomp= ;;
+ esac
+ oIFS=$IFS
+ IFS=/
+ set fnord $file
+ shift
+ IFS=$oIFS
- if test ! -d "$pathcomp"; then
- errstatus=$lasterr
- fi
- fi
+ for d
+ do
+ test "x$d" = x && continue
- pathcomp="$pathcomp/"
- done
+ pathcomp=$pathcomp$d
+ case $pathcomp in
+ -*) pathcomp=./$pathcomp ;;
+ esac
+
+ if test ! -d "$pathcomp"; then
+ echo "mkdir $pathcomp"
+
+ mkdir "$pathcomp" || lasterr=$?
+
+ if test ! -d "$pathcomp"; then
+ errstatus=$lasterr
+ else
+ if test ! -z "$dirmode"; then
+ echo "chmod $dirmode $pathcomp"
+ lasterr=
+ chmod "$dirmode" "$pathcomp" || lasterr=$?
+
+ if test ! -z "$lasterr"; then
+ errstatus=$lasterr
+ fi
+ fi
+ fi
+ fi
+
+ pathcomp=$pathcomp/
+ done
done
exit $errstatus
-# mkinstalldirs ends here
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
Modified: fsf/trunk/libc/scripts/move-if-change
==============================================================================
--- fsf/trunk/libc/scripts/move-if-change (original)
+++ fsf/trunk/libc/scripts/move-if-change Fri Jun 7 00:02:42 2013
@@ -1,17 +1,83 @@
#!/bin/sh
# Like mv $1 $2, but if the files are the same, just delete $1.
-# Status is 0 if $2 is changed, 1 otherwise.
-if
-test -r $2
-then
-if
-cmp -s $1 $2
-then
-echo $2 is unchanged
-rm -f $1
+# Status is zero if successful, nonzero otherwise.
+
+VERSION='2012-01-06 07:23'; # UTC
+# The definition above must lie within the first 8 lines in order
+# for the Emacs time-stamp write hook (at end) to update it.
+# If you change this file with Emacs, please let the write hook
+# do its job. Otherwise, update this string manually.
+
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program 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 General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+usage="usage: $0 SOURCE DEST"
+
+help="$usage
+ or: $0 OPTION
+If SOURCE is different than DEST, then move it to DEST; else remove SOURCE.
+
+ --help display this help and exit
+ --version output version information and exit
+
+The variable CMPPROG can be used to specify an alternative to 'cmp'.
+
+Report bugs to <bug-gnulib@xxxxxxx>."
+
+version=`expr "$VERSION" : '\([^ ]*\)'`
+version="move-if-change (gnulib) $version
+Copyright (C) 2011 Free Software Foundation, Inc.
+License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law."
+
+cmpprog=${CMPPROG-cmp}
+
+for arg
+do
+ case $arg in
+ --help | --hel | --he | --h)
+ exec echo "$help" ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v)
+ exec echo "$version" ;;
+ --)
+ shift
+ break ;;
+ -*)
+ echo "$0: invalid option: $arg" >&2
+ exit 1 ;;
+ *)
+ break ;;
+ esac
+done
+
+test $# -eq 2 || { echo "$0: $usage" >&2; exit 1; }
+
+if test -r "$2" && $cmpprog -- "$1" "$2" >/dev/null; then
+ rm -f -- "$1"
else
-mv -f $1 $2
+ if mv -f -- "$1" "$2"; then :; else
+ # Ignore failure due to a concurrent move-if-change.
+ test -r "$2" && $cmpprog -- "$1" "$2" >/dev/null && rm -f -- "$1"
+ fi
fi
-else
-mv -f $1 $2
-fi
+
+## Local Variables:
+## eval: (add-hook 'write-file-hooks 'time-stamp)
+## time-stamp-start: "VERSION='"
+## time-stamp-format: "%:y-%02m-%02d %02H:%02M"
+## time-stamp-time-zone: "UTC"
+## time-stamp-end: "'; # UTC"
+## End:
Modified: fsf/trunk/libc/soft-fp/op-1.h
==============================================================================
--- fsf/trunk/libc/soft-fp/op-1.h (original)
+++ fsf/trunk/libc/soft-fp/op-1.h Fri Jun 7 00:02:42 2013
@@ -233,7 +233,7 @@
_nl = X##_f << (_FP_W_TYPE_SIZE - 1); \
_nh = X##_f >> 1; \
} \
- \
+ \
udiv_qrnnd(_q, _r, _nh, _nl, _y); \
R##_f = _q | (_r != 0); \
} while (0)
Modified: fsf/trunk/libc/soft-fp/op-2.h
==============================================================================
--- fsf/trunk/libc/soft-fp/op-2.h (original)
+++ fsf/trunk/libc/soft-fp/op-2.h Fri Jun 7 00:02:42 2013
@@ -433,10 +433,10 @@
R##_f1 = (_t240 << (128 - (wfracbits - 1))) \
| ((_u240 & 0xffffff) >> ((wfracbits - 1) - 104)); \
R##_f0 = ((_u240 & 0xffffff) << (168 - (wfracbits - 1))) \
- | ((_v240 & 0xffffff) << (144 - (wfracbits - 1))) \
- | ((_w240 & 0xffffff) << (120 - (wfracbits - 1))) \
- | ((_x240 & 0xffffff) >> ((wfracbits - 1) - 96)) \
- | _y240; \
+ | ((_v240 & 0xffffff) << (144 - (wfracbits - 1))) \
+ | ((_w240 & 0xffffff) << (120 - (wfracbits - 1))) \
+ | ((_x240 & 0xffffff) >> ((wfracbits - 1) - 96)) \
+ | _y240; \
resetfe; \
} while (0)
Modified: fsf/trunk/libc/soft-fp/op-4.h
==============================================================================
--- fsf/trunk/libc/soft-fp/op-4.h (original)
+++ fsf/trunk/libc/soft-fp/op-4.h Fri Jun 7 00:02:42 2013
@@ -481,7 +481,7 @@
S##_f[2] += (T##_f[1] > S##_f[1]); \
S##_f[3] += (T##_f[2] > S##_f[2]); \
__FP_FRAC_DEC_3(X##_f[3], X##_f[2], X##_f[1], \
- T##_f[3], T##_f[2], T##_f[1]); \
+ T##_f[3], T##_f[2], T##_f[1]); \
R##_f[1] += q; \
} \
_FP_FRAC_SLL_4(X, 1); \
Modified: fsf/trunk/libc/soft-fp/op-common.h
==============================================================================
--- fsf/trunk/libc/soft-fp/op-common.h (original)
+++ fsf/trunk/libc/soft-fp/op-common.h Fri Jun 7 00:02:42 2013
@@ -992,28 +992,28 @@
case FP_CLS_NAN: \
_FP_FRAC_COPY_##wc(R, X); \
R##_s = X##_s; \
- R##_c = FP_CLS_NAN; \
- break; \
+ R##_c = FP_CLS_NAN; \
+ break; \
case FP_CLS_INF: \
- if (X##_s) \
- { \
- R##_s = _FP_NANSIGN_##fs; \
+ if (X##_s) \
+ { \
+ R##_s = _FP_NANSIGN_##fs; \
R##_c = FP_CLS_NAN; /* NAN */ \
_FP_FRAC_SET_##wc(R, _FP_NANFRAC_##fs); \
FP_SET_EXCEPTION(FP_EX_INVALID); \
- } \
- else \
- { \
- R##_s = 0; \
- R##_c = FP_CLS_INF; /* sqrt(+inf) = +inf */ \
- } \
- break; \
+ } \
+ else \
+ { \
+ R##_s = 0; \
+ R##_c = FP_CLS_INF; /* sqrt(+inf) = +inf */ \
+ } \
+ break; \
case FP_CLS_ZERO: \
R##_s = X##_s; \
R##_c = FP_CLS_ZERO; /* sqrt(+-0) = +-0 */ \
break; \
case FP_CLS_NORMAL: \
- R##_s = 0; \
+ R##_s = 0; \
if (X##_s) \
{ \
R##_c = FP_CLS_NAN; /* NAN */ \
@@ -1022,7 +1022,7 @@
FP_SET_EXCEPTION(FP_EX_INVALID); \
break; \
} \
- R##_c = FP_CLS_NORMAL; \
+ R##_c = FP_CLS_NORMAL; \
if (X##_e & 1) \
_FP_FRAC_SLL_##wc(X, 1); \
R##_e = X##_e >> 1; \
Modified: fsf/trunk/libc/stdio-common/printf_fphex.c
==============================================================================
--- fsf/trunk/libc/stdio-common/printf_fphex.c (original)
+++ fsf/trunk/libc/stdio-common/printf_fphex.c Fri Jun 7 00:02:42 2013
@@ -384,7 +384,7 @@
{
wnumstr[cnt] = (wchar_t) info->spec;
numstr[cnt] = info->spec; /* This is tricky,
- think about it! */
+ think about it! */
break;
}
else if (tolower (ch) < 'f')
Modified: fsf/trunk/libc/stdlib/strtod_l.c
==============================================================================
--- fsf/trunk/libc/stdlib/strtod_l.c (original)
+++ fsf/trunk/libc/stdlib/strtod_l.c Fri Jun 7 00:02:42 2013
@@ -976,7 +976,7 @@
/* The exponent is too large/small to represent a valid
number. */
{
- FLOAT result;
+ FLOAT result;
/* We have to take care for special situation: a joker
might have written "0.0e100000" which is in fact
Modified: fsf/trunk/libc/sunrpc/rpc/clnt.h
==============================================================================
--- fsf/trunk/libc/sunrpc/rpc/clnt.h (original)
+++ fsf/trunk/libc/sunrpc/rpc/clnt.h Fri Jun 7 00:02:42 2013
@@ -132,7 +132,7 @@
struct clnt_ops {
enum clnt_stat (*cl_call) (CLIENT *, u_long, xdrproc_t, caddr_t, xdrproc_t,
caddr_t, struct timeval);
- /* call remote procedure */
+ /* call remote procedure */
void (*cl_abort) (void); /* abort a call */
void (*cl_geterr) (CLIENT *, struct rpc_err *);
/* get specific error code */
Modified: fsf/trunk/libc/sysdeps/generic/framestate.c
==============================================================================
--- fsf/trunk/libc/sysdeps/generic/framestate.c (original)
+++ fsf/trunk/libc/sysdeps/generic/framestate.c Fri Jun 7 00:02:42 2013
@@ -44,7 +44,7 @@
#ifndef __USING_SJLJ_EXCEPTIONS__
frame_state_for = fallback_frame_state_for;
#else
- frame_state_for = abort;
+ frame_state_for = abort;
#endif
}
Modified: fsf/trunk/libc/sysdeps/i386/__longjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/__longjmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/__longjmp.S Fri Jun 7 00:02:42 2013
@@ -40,7 +40,7 @@
cfi_offset(%esi, JB_SI*4)
cfi_offset(%edi, JB_DI*4)
cfi_offset(%ebp, JB_BP*4)
- /* Restore registers. */
+ /* Restore registers. */
movl (JB_BX*4)(%eax), %ebx
movl (JB_SI*4)(%eax), %esi
movl (JB_DI*4)(%eax), %edi
@@ -59,7 +59,7 @@
/* Save the return address now. */
movl (JB_PC*4)(%ecx), %edx
LIBC_PROBE (longjmp, 3, 4@%ecx, -4@%eax, 4@%edx)
- /* Restore registers. */
+ /* Restore registers. */
movl (JB_BX*4)(%ecx), %ebx
movl (JB_SI*4)(%ecx), %esi
movl (JB_DI*4)(%ecx), %edi
@@ -68,5 +68,5 @@
LIBC_PROBE (longjmp_target, 3, 4@%ecx, -4@%ecx, 4@%edx)
#endif
/* Jump to saved PC. */
- jmp *%edx
+ jmp *%edx
END (__longjmp)
Modified: fsf/trunk/libc/sysdeps/i386/bsd-_setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/bsd-_setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/bsd-_setjmp.S Fri Jun 7 00:02:42 2013
@@ -33,7 +33,7 @@
xorl %eax, %eax
movl JMPBUF(%esp), %edx
- /* Save registers. */
+ /* Save registers. */
movl %ebx, (JB_BX*4)(%edx)
movl %esi, (JB_SI*4)(%edx)
movl %edi, (JB_DI*4)(%edx)
@@ -41,13 +41,13 @@
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
#endif
- movl %ecx, (JB_SP*4)(%edx)
+ movl %ecx, (JB_SP*4)(%edx)
movl 0(%esp), %ecx /* Save PC we are returning to now. */
LIBC_PROBE (setjmp, 3, 4@%edx, -4@$0, 4@%ecx)
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
#endif
- movl %ecx, (JB_PC*4)(%edx)
+ movl %ecx, (JB_PC*4)(%edx)
movl %ebp, (JB_BP*4)(%edx) /* Save caller's frame pointer. */
movl %eax, JB_SIZE(%edx) /* No signal mask set. */
Modified: fsf/trunk/libc/sysdeps/i386/bsd-setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/bsd-setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/bsd-setjmp.S Fri Jun 7 00:02:42 2013
@@ -35,7 +35,7 @@
movl JMPBUF(%esp), %eax
- /* Save registers. */
+ /* Save registers. */
movl %ebx, (JB_BX*4)(%eax)
movl %esi, (JB_SI*4)(%eax)
movl %edi, (JB_DI*4)(%eax)
@@ -43,13 +43,13 @@
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
#endif
- movl %ecx, (JB_SP*4)(%eax)
+ movl %ecx, (JB_SP*4)(%eax)
movl 0(%esp), %ecx /* Save PC we are returning to now. */
LIBC_PROBE (setjmp, 3, 4@%eax, -4@$1, 4@%ecx)
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
#endif
- movl %ecx, (JB_PC*4)(%eax)
+ movl %ecx, (JB_PC*4)(%eax)
movl %ebp, (JB_BP*4)(%eax) /* Save caller's frame pointer. */
/* Call __sigjmp_save. */
Modified: fsf/trunk/libc/sysdeps/i386/setjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/setjmp.S (original)
+++ fsf/trunk/libc/sysdeps/i386/setjmp.S Fri Jun 7 00:02:42 2013
@@ -29,7 +29,7 @@
movl JMPBUF(%esp), %eax
- /* Save registers. */
+ /* Save registers. */
movl %ebx, (JB_BX*4)(%eax)
movl %esi, (JB_SI*4)(%eax)
movl %edi, (JB_DI*4)(%eax)
@@ -37,13 +37,13 @@
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
#endif
- movl %ecx, (JB_SP*4)(%eax)
+ movl %ecx, (JB_SP*4)(%eax)
movl 0(%esp), %ecx /* Save PC we are returning to now. */
LIBC_PROBE (setjmp, 3, 4@%eax, -4@SIGMSK(%esp), 4@%ecx)
#ifdef PTR_MANGLE
PTR_MANGLE (%ecx)
#endif
- movl %ecx, (JB_PC*4)(%eax)
+ movl %ecx, (JB_PC*4)(%eax)
movl %ebp, (JB_BP*4)(%eax) /* Save caller's frame pointer. */
#if defined NOT_IN_libc && defined IS_IN_rtld
Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_rem_pio2.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_rem_pio2.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_rem_pio2.c Fri Jun 7 00:02:42 2013
@@ -211,9 +211,9 @@
if(q0>0) { /* rare case: chance is 1 in 12 */
switch(q0) {
case 1:
- iq[jz-1] &= 0x7fffff; break;
- case 2:
- iq[jz-1] &= 0x3fffff; break;
+ iq[jz-1] &= 0x7fffff; break;
+ case 2:
+ iq[jz-1] &= 0x3fffff; break;
}
}
if(ih==2) {
Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/e_rem_pio2f.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/e_rem_pio2f.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/e_rem_pio2f.c Fri Jun 7 00:02:42 2013
@@ -145,11 +145,11 @@
GET_FLOAT_WORD(high,y[0]);
i = j-((high>>23)&0xff);
if(i>25) { /* 3rd iteration need, 74 bits acc */
- t = r; /* will cover all possible cases */
- w = fn*pio2_3;
- r = t-w;
- w = fn*pio2_3t-((t-r)-w);
- y[0] = r-w;
+ t = r; /* will cover all possible cases */
+ w = fn*pio2_3;
+ r = t-w;
+ w = fn*pio2_3t-((t-r)-w);
+ y[0] = r-w;
}
}
}
Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/k_rem_pio2f.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/k_rem_pio2f.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/k_rem_pio2f.c Fri Jun 7 00:02:42 2013
@@ -104,9 +104,9 @@
if(q0>0) { /* rare case: chance is 1 in 12 */
switch(q0) {
case 1:
- iq[jz-1] &= 0x7f; break;
- case 2:
- iq[jz-1] &= 0x3f; break;
+ iq[jz-1] &= 0x7f; break;
+ case 2:
+ iq[jz-1] &= 0x3f; break;
}
}
if(ih==2) {
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 Fri Jun 7 00:02:42 2013
@@ -215,7 +215,7 @@
ex3_u.d = (result - ex2_u.d) - x22 * ex2_u.d;
ex2_u.d = result;
ex3_u.ieee.exponent += LDBL_MANT_DIG + 15 + IEEE854_LONG_DOUBLE_BIAS
- - ex2_u.ieee.exponent;
+ - ex2_u.ieee.exponent;
n_i = abs (ex3_u.d);
n_i = (n_i + 1) / 2;
fesetenv (&oldenv);
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/ldbl2mpn.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/ldbl2mpn.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/ldbl2mpn.c Fri Jun 7 00:02:42 2013
@@ -69,7 +69,7 @@
else
{
/* It is a denormal number, meaning it has no implicit leading
- one bit, and its exponent is in fact the format minimum. */
+ one bit, and its exponent is in fact the format minimum. */
int cnt;
#if N == 2
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_fpclassifyl.c Fri Jun 7 00:02:42 2013
@@ -2,7 +2,7 @@
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997 and
- Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
+ Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_llrintl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_llrintl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_llrintl.c Fri Jun 7 00:02:42 2013
@@ -3,7 +3,7 @@
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997 and
- Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
+ Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_llroundl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_llroundl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_llroundl.c Fri Jun 7 00:02:42 2013
@@ -2,7 +2,7 @@
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997 and
- Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
+ Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_lrintl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_lrintl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_lrintl.c Fri Jun 7 00:02:42 2013
@@ -3,7 +3,7 @@
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997 and
- Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
+ Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_lroundl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_lroundl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_lroundl.c Fri Jun 7 00:02:42 2013
@@ -2,7 +2,7 @@
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997 and
- Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
+ Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttoward.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttoward.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttoward.c Fri Jun 7 00:02:42 2013
@@ -43,7 +43,7 @@
if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */
((iy>=0x7fff000000000000LL)&&((iy-0x7fff000000000000LL)|ly)!=0))
- /* y is nan */
+ /* y is nan */
return x+y;
if((long double) x==y) return y; /* x=y, return y */
if((ix|lx)==0) { /* x == 0 */
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_truncl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_truncl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_truncl.c Fri Jun 7 00:02:42 2013
@@ -2,7 +2,7 @@
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997 and
- Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
+ Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
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 Fri Jun 7 00:02:42 2013
@@ -223,7 +223,7 @@
ex3_u.d = (result - ex2_u.d) - x22 * ex2_u.d;
ex2_u.d = result;
ex3_u.ieee.exponent += LDBL_MANT_DIG + 15 + IEEE854_LONG_DOUBLE_BIAS
- - ex2_u.ieee.exponent;
+ - ex2_u.ieee.exponent;
n_i = abs (ex3_u.d);
n_i = (n_i + 1) / 2;
fesetenv (&oldenv);
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c Fri Jun 7 00:02:42 2013
@@ -2,7 +2,7 @@
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@xxxxxxxxxx>, 1997 and
- Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
+ Jakub Jelinek <jj@xxxxxxxxxxxxxx>, 1999.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c Fri Jun 7 00:02:42 2013
@@ -45,7 +45,7 @@
if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */
((iy>=0x7ff0000000000000LL)&&((iy-0x7ff0000000000000LL)|uly)!=0))
- /* y is nan */
+ /* y is nan */
return x+y;
if((long double) x==y) return y; /* x=y, return y */
if((ix|lx)==0) { /* x == 0 */
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c Fri Jun 7 00:02:42 2013
@@ -61,14 +61,14 @@
if (k > 0) { /* normal result */
hx = (hx&0x800fffffffffffffULL)|(k<<52);
if ((lx & 0x7fffffffffffffffULL) == 0) { /* low part +-0 */
- SET_LDOUBLE_WORDS64(x,hx,lx);
- return x;
+ SET_LDOUBLE_WORDS64(x,hx,lx);
+ return x;
}
if (l == 0) { /* low part subnormal */
- u.i = lx;
- u.d *= two54;
- lx = u.i;
- l = ((lx>>52)&0x7ff) - 54;
+ u.i = lx;
+ u.d *= two54;
+ lx = u.i;
+ l = ((lx>>52)&0x7ff) - 54;
}
l = l + n;
if (l > 0)
@@ -76,10 +76,10 @@
else if (l <= -54)
lx = (lx&0x8000000000000000ULL);
else {
- l += 54;
- u.i = (lx&0x800fffffffffffffULL)|(l<<52);
- u.d *= twom54;
- lx = u.i;
+ l += 54;
+ u.i = (lx&0x800fffffffffffffULL)|(l<<52);
+ u.d *= twom54;
+ lx = u.i;
}
SET_LDOUBLE_WORDS64(x,hx,lx);
return x;
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c Fri Jun 7 00:02:42 2013
@@ -61,14 +61,14 @@
if (k > 0) { /* normal result */
hx = (hx&0x800fffffffffffffULL)|(k<<52);
if ((lx & 0x7fffffffffffffffULL) == 0) { /* low part +-0 */
- SET_LDOUBLE_WORDS64(x,hx,lx);
- return x;
+ SET_LDOUBLE_WORDS64(x,hx,lx);
+ return x;
}
if (l == 0) { /* low part subnormal */
- u.i = lx;
- u.d *= two54;
- lx = u.i;
- l = ((lx>>52)&0x7ff) - 54;
+ u.i = lx;
+ u.d *= two54;
+ lx = u.i;
+ l = ((lx>>52)&0x7ff) - 54;
}
l = l + n;
if (l > 0)
@@ -76,10 +76,10 @@
else if (l <= -54)
lx = (lx&0x8000000000000000ULL);
else {
- l += 54;
- u.i = (lx&0x800fffffffffffffULL)|(l<<52);
- u.d *= twom54;
- lx = u.i;
+ l += 54;
+ u.i = (lx&0x800fffffffffffffULL)|(l<<52);
+ u.d *= twom54;
+ lx = u.i;
}
SET_LDOUBLE_WORDS64(x,hx,lx);
return x;
Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-96/ldbl2mpn.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-96/ldbl2mpn.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-96/ldbl2mpn.c Fri Jun 7 00:02:42 2013
@@ -62,7 +62,7 @@
else
{
/* It is a denormal number, meaning it has no implicit leading
- one bit, and its exponent is in fact the format minimum. */
+ one bit, and its exponent is in fact the format minimum. */
int cnt;
if (res_ptr[N - 1] != 0)
Modified: fsf/trunk/libc/sysdeps/ieee754/support.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/support.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/support.c Fri Jun 7 00:02:42 2013
@@ -354,16 +354,16 @@
static const n0=0,n1=1,n2=2,n3=3;
#endif
- static const unsigned short mexp =0x7ff0, m25 =0x0190, m57 =0x0390;
+ static const unsigned short mexp =0x7ff0, m25 =0x0190, m57 =0x0390;
static const double zero=0.0;
double hy,y1,t,t1;
short k;
long n;
int i,e;
unsigned short xexp,yexp, *px =(unsigned short *) &x ,
- nx,nf, *py =(unsigned short *) &y ,
- sign, *pt =(unsigned short *) &t ,
- *pt1 =(unsigned short *) &t1 ;
+ nx,nf, *py =(unsigned short *) &y ,
+ sign, *pt =(unsigned short *) &t ,
+ *pt1 =(unsigned short *) &t1 ;
xexp = px[n0] & mexp ; /* exponent of x */
yexp = py[n0] & mexp ; /* exponent of y */
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 Fri Jun 7 00:02:42 2013
@@ -128,7 +128,7 @@
_dl_loaded does not work for static binaries loading
e.g. libnss_*.so. */
if ((mapend >= high || l->l_type == lt_executable)
- && high >= mapstart)
+ && high >= mapstart)
high = mapstart;
else if (mapend >= low && low >= mapstart)
low = mapend;
Modified: fsf/trunk/libc/sysdeps/powerpc/powerpc32/lshift.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc32/lshift.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc32/lshift.S Fri Jun 7 00:02:42 2013
@@ -19,7 +19,7 @@
#include <sysdep.h>
/* mp_limb_t mpn_lshift (mp_ptr wp, mp_srcptr up, mp_size_t usize,
- unsigned int cnt) */
+ unsigned int cnt) */
EALIGN (__mpn_lshift, 3, 0)
Modified: fsf/trunk/libc/sysdeps/sparc/sparc32/__longjmp.S
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc32/__longjmp.S (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc32/__longjmp.S Fri Jun 7 00:02:42 2013
@@ -30,8 +30,8 @@
PTR_DEMANGLE (%g3, %g3, %g4)
#endif
mov %o0, %g1 /* ENV in %g1 */
- orcc %o1, %g0, %g2 /* VAL in %g2 */
- be,a 0f /* Branch if zero; else skip delay slot. */
+ orcc %o1, %g0, %g2 /* VAL in %g2 */
+ be,a 0f /* Branch if zero; else skip delay slot. */
mov 1, %g2 /* Delay slot only hit if zero: VAL = 1. */
0:
xor %fp, %g3, %o0
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_cmp.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_cmp.c Fri Jun 7 00:02:42 2013
@@ -36,7 +36,7 @@
if (r == 3 && (FP_ISSIGNAN_Q(A) || FP_ISSIGNAN_Q(B)))
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c Fri Jun 7 00:02:42 2013
@@ -37,7 +37,7 @@
if (r == 3)
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_feq.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_feq.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_feq.c Fri Jun 7 00:02:42 2013
@@ -36,7 +36,7 @@
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fge.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fge.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fge.c Fri Jun 7 00:02:42 2013
@@ -36,7 +36,7 @@
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fgt.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fgt.c Fri Jun 7 00:02:42 2013
@@ -36,7 +36,7 @@
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fle.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fle.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fle.c Fri Jun 7 00:02:42 2013
@@ -36,7 +36,7 @@
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_flt.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_flt.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_flt.c Fri Jun 7 00:02:42 2013
@@ -36,7 +36,7 @@
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fne.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fne.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_fne.c Fri Jun 7 00:02:42 2013
@@ -36,7 +36,7 @@
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_mul.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_mul.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_mul.c Fri Jun 7 00:02:42 2013
@@ -36,8 +36,8 @@
FP_MUL_Q(C, A, B);
FP_PACK_QP(c, C);
QP_HANDLE_EXCEPTIONS(
- _FPU_SETCW(_fcw);
- __asm (
+ _FPU_SETCW(_fcw);
+ __asm (
" ldd [%1], %%f52\n"
" ldd [%1+8], %%f54\n"
" ldd [%2], %%f56\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c Fri Jun 7 00:02:42 2013
@@ -33,8 +33,8 @@
FP_UNPACK_RAW_QP(A, a);
FP_TO_INT_Q(r, A, 32, 1);
QP_HANDLE_EXCEPTIONS(
- int rx;
- __asm (
+ int rx;
+ __asm (
" ldd [%1], %%f52\n"
" ldd [%1+8], %%f54\n"
" fqtoi %%f52, %%f31\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c Fri Jun 7 00:02:42 2013
@@ -33,8 +33,8 @@
FP_UNPACK_RAW_QP(A, a);
FP_TO_INT_Q(r, A, 32, -1);
QP_HANDLE_EXCEPTIONS(
- int rx;
- __asm (
+ int rx;
+ __asm (
" ldd [%1], %%f52\n"
" ldd [%1+8], %%f54\n"
" fqtoi %%f52, %%f31\n"
Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c
==============================================================================
[... 54 lines stripped ...]
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits