+2013-06-06 Ondřej Bílka <neleai@seznam.cz>
+
+ * 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@seznam.cz>
* posix/transbug.c: Remove executable mode.
/* 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 ();
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;
}
}
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;
{
error = strerror (errno);
fprintf (stderr, _("Invalid link from \"%s\" to \"%s\": %s\n"),
- src, dest, error);
+ src, dest, error);
return 1;
}
}
#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, \
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);
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 */
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
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. */
which is no improvement. This really should call
getpwuid(getuid()). */
/*hdir = ".";*/
- return -1;
+ return -1;
}
buf = alloca (strlen (hdir) + 8);
/* 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 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 (verbose && ! nothing) \
WITH_CUR_LOCALE (error (0, 0, _("%s: field `%s' not defined"), \
- "LC_IDENTIFICATION", #cat)); \
+ "LC_IDENTIFICATION", #cat)); \
identification->cat = ""; \
}
time->cat[cnt] = ""; \
time->w##cat[cnt++] = empty_wstr; \
} \
- \
+ \
if (now->tok == tok_semicolon) \
{ \
now = lr_token (ldfile, charmap, result, repertoire, \
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) {
+2013-06-06 Ondřej Bílka <neleai@seznam.cz>
+
+ * tst-cond22.c: Fix leading whitespaces.
+ * tst-umask1.c: Likewise.
+
2013-06-06 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Remove
}
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);
}
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);
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;
}
}
status = NSS_STATUS_UNAVAIL; \
goto the_end; \
} \
- \
+ \
result->cursor = result->data + old_cursor; \
} \
while (0)
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.
_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)
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)
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); \
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 */ \
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; \
{
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')
/* 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
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 */
#ifndef __USING_SJLJ_EXCEPTIONS__
frame_state_for = fallback_frame_state_for;
#else
- frame_state_for = abort;
+ frame_state_for = abort;
#endif
}
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
/* 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
LIBC_PROBE (longjmp_target, 3, 4@%ecx, -4@%ecx, 4@%edx)
#endif
/* Jump to saved PC. */
- jmp *%edx
+ jmp *%edx
END (__longjmp)
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)
#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. */
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)
#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. */
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)
#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
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) {
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;
}
}
}
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) {
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);
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
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997 and
- Jakub Jelinek <jj@ultra.linux.cz>, 1999.
+ Jakub Jelinek <jj@ultra.linux.cz>, 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
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997 and
- Jakub Jelinek <jj@ultra.linux.cz>, 1999.
+ Jakub Jelinek <jj@ultra.linux.cz>, 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
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997 and
- Jakub Jelinek <jj@ultra.linux.cz>, 1999.
+ Jakub Jelinek <jj@ultra.linux.cz>, 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
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997 and
- Jakub Jelinek <jj@ultra.linux.cz>, 1999.
+ Jakub Jelinek <jj@ultra.linux.cz>, 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
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997 and
- Jakub Jelinek <jj@ultra.linux.cz>, 1999.
+ Jakub Jelinek <jj@ultra.linux.cz>, 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
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 */
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997 and
- Jakub Jelinek <jj@ultra.linux.cz>, 1999.
+ Jakub Jelinek <jj@ultra.linux.cz>, 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
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);
Copyright (C) 1997-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997 and
- Jakub Jelinek <jj@ultra.linux.cz>, 1999.
+ Jakub Jelinek <jj@ultra.linux.cz>, 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
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 */
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)
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;
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)
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;
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)
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 */
_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;
#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)
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
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"
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"
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
FP_SET_EXCEPTION(FP_EX_INVALID);
QP_HANDLE_EXCEPTIONS(
- __asm (
+ __asm (
" ldd [%0], %%f52\n"
" ldd [%0+8], %%f54\n"
" ldd [%1], %%f56\n"
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"
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"
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"
FP_TO_INT_Q(r, A, 64, -1);
QP_HANDLE_EXCEPTIONS(
unsigned long rx;
- __asm (
+ __asm (
" ldd [%1], %%f52\n"
" ldd [%1+8], %%f54\n"
" fqtox %%f52, %%f60\n"
FP_TO_INT_Q(r, A, 64, 1);
QP_HANDLE_EXCEPTIONS(
long rx;
- __asm (
+ __asm (
" ldd [%1], %%f52\n"
" ldd [%1+8], %%f54\n"
" fqtox %%f52, %%f60\n"
}
return INLINE_SYSCALL (utimensat, 4, AT_FDCWD, file, tvp ? ts : NULL,
- AT_SYMLINK_NOFOLLOW);
+ AT_SYMLINK_NOFOLLOW);
#else
__set_errno (ENOSYS);
return -1;
all the freaky stuff we have to do to make the call useful. */
/* int [r3] clone(int (*fn)(void *arg) [r3], void *child_stack [r4],
- int flags [r5], void *arg [r6], void *parent_tid [r7],
+ int flags [r5], void *arg [r6], void *parent_tid [r7],
void *tls [r8], void *child_tid [r9]); */
ENTRY (__clone)