Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9e0e3d0b2b
Fetching contributors…

Cannot retrieve contributors at this time

15219 lines (12329 sloc) 559.75 kb
2012-05-23 David S. Miller <davem@davemloft.net>
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__libc_sigaction): Remove unused local variables.
2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
mktime: avoid signed integer overflow
* time/mktime.c (__mktime_internal): Do not mishandle the case
where diff == INT_MIN.
mktime: simplify computation of average
* time/mktime.c (ranged_convert): Use new time_t_avg function
instead of rolling our own (probably-slower) code.
mktime: do not assume signed right shift propagates sign bit
* time/mktime.c (isdst_differ): New static function.
(__mktime_internal): No need to normalize tm_isdst now.
(__mktime_internal, not_equal_tm): Use isdst_differ to compare
tm_isdst values.
mktime: merge another wrapv change from gnulib
* time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
from some compilers.
mktime: remove incorrect attempt at unusual arithmetics
* time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
The code didn't really work on such machines anyway.
(TYPE_MINIMUM): Assume two's complement.
(twos_complement_arithmetic): Verify that long_int and time_t
are two's complement (or unsigned, in the latter case).
mktime: check signed shifts on long_int and time_t, too
* time/mktime.c (SHR): Check that shifts work as desired
on the types long_int and time_t too, as SHR is used on
such types.
mktime: do not assume 'long' is wide enough
* time/mktime.c (verify): Move decl up.
(long_int): New type.
(leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
to remove assumption in the code that 'long' is wide enough to
store year values. This assumption is not true on x32 and on
some non-glibc platforms.
mktime: merge wrapv change from gnulib
* time/mktime.c (WRAPV): New macro.
(time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
(guess_time_tm, __mktime_internal): Do not assume that signed
integer overflow wraps around; modern compilers generate code
where this assumption is no longer valid.
2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
Replace "jmp L(pseudo_end)" with "ret".
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Likewise.
2012-05-23 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/syscalls.list: Add poll.
* sysdeps/unix/sysv/linux/poll.c: Remove file.
2012-05-23 Andreas Jaeger <aj@suse.de>
Maximilian Attems <max@stro.at>
* sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
New macros.
2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
code so that pseudo_end is just ret and the stack pointer is
correct also for static library in error case.
2012-05-23 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
move to syscalls.list.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
* manual/install.texi (Running make install): Do not mention Linux
kernel version for which pt_chown is not needed.
(Linux): Do not mention problems with nscd with 2.0 kernels.
* INSTALL: Regenerated.
2012-05-23 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
macro.
* sysdeps/unix/sysv/linux/s390/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/i386/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h
(MADV_DONTDUMP,MADV_DODUMP): Likewise.
* sysdeps/unix/sysv/linux/bits/in.h
(IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2012-05-22 Roland McGrath <roland@hack.frob.com>
* sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
(PREPARE_VERSION): Just use assert instead, it will be elided
under [NDEBUG] anyway.
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/Makefile: Include
$(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
(sysdep_routines): Remove sysctl.
* sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
* sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
* sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2012-05-22 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
that pseudo_end is just ret and the stack pointer is correct also
for static library in error case.
2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #14122]
* nss/nsswitch.c (defconfig_entries): New variable.
(__nss_database_lookup): Don't leak defconfig entries.
(nss_parse_service_list): Don't leak on error paths.
(free_database_entries): New function.
(free_defconfig): New function.
(free_mem): Move common code to free_database_entries.
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
Add arch_prctl.
* sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
(posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
New macro.
(INTERNAL_SYSCALL_NCS_TYPES): Likewise.
(INTERNAL_SYSCALL_TYPES): Likewise.
(LOAD_ARGS_TYPES_[1-6]): Likewise.
(LOAD_REGS_TYPES_[1-6]): Likewise.
(LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
(LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
copysignl for GLIBC_2_0.
* sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
* sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
logbl for GLIBC_2_0.
* sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
* sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
<bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
* sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
Use "neg %eax".
* time/mktime.c: Update copyright years.
2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
mktime: merge comment-quoting-style change from gnulib
* time/mktime.c: Quote 'like this' in comments.
The GNU coding standards suggest that we no longer quote `like this',
as "`" and "'" are typically rendered asymmetrically nowadays.
The typical gnulib style is to quote 'like this' when quoting
code, and "like this" when quoting English.
* time/mktime.c (compile-command): Add "-I.".
mktime: merge mktime-internal.h change from gnulib
* time/mktime.c [!_LIBC]: Include "mktime-internal.h".
mktime: merge time_r change from gnulib
* time/mktime.c [!_LIBC]: Do not include "time_r.h".
mktime: merge DEBUG change from gnulib
* time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
case system <time.h> has a #define.
mktime: merge <sys/types.h> change from gnulib
* time/mktime.c: Do not include <sys/types.h>; no longer needed,
since <time.t> is now guaranteed to define time_t.
mktime: merge HAVE_CONFIG_H change from gnulib
* time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
Use "neg %eax".
* sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
__rlim_t cast.
(struct rusage): Use anonymous union to pad each field to
__syscall_slong_t.
2012-05-21 David S. Miller <davem@davemloft.net>
* Makefules (o-iterator): Remove .s cases.
(compile-command.s): Delete.
(COMPILE.s): Delete.
* sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2012-05-21 Joseph Myers <joseph@codesourcery.com>
* configure.in (libc_cv_predef_stack_protector): Only consider
"foobar" and "__stack_chk_fail" lines in libc_undefs.
* configure: Regenerated.
2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
New macro. Use R*LP on int and pointer.
(SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
* sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
* sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
* sysdeps/gnu/bits/utmp.h (struct lastlog): Check
[__WORDSIZE_TIME64_COMPAT32] instead of
[__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
(struct utmp): Likewise.
* sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
* sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
Renamed to ...
(__WORDSIZE_TIME64_COMPAT32): This.
* sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
* sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
* sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
* sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
(__WORDSIZE_TIME64_COMPAT32): New macro.
2012-05-21 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
only if [SHARED]. Add prototype for __wcschr_ia32.
2012-05-21 Roland McGrath <roland@hack.frob.com>
* sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
of %rbp unmolested in the jmp_buf while mangling the low bits.
* sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
unmolested high bits of %rbp while demangling the low bits.
* sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2012-05-21 Andreas Jaeger <aj@suse.de>
* include/shlib-compat.h (libc_sunrpc_symbol): New macro.
* sunrpc/svc_simple.c: Use it for registerrpc.
* sunrpc/xcrypt.c: Use it for passwd2des.
* malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
Don't define if [__SYSCALL_WORDSIZE != 32].
* sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
New macro.
2012-05-21 Bruno Haible <bruno@clisp.org>
Andreas Jaeger <aj@suse.de>
[BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
* iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
inptr and inend for must_buffer_ch.
* wcsmbs/tst-mbsnrtowcs.c: Remove file.
* wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
* stdio-common/Makefile (tests): Remove bug15.
(bug15-ENV): Remove macro.
* stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
anymore.
2012-05-19 Andreas Jaeger <aj@suse.de>
Roland McGrath <roland@hack.frob.com>
* manual/contrib.texi: Completely rewritten. It contains now an
alphabetical list of contributors and their contributions.
2012-05-21 Richard Henderson <rth@twiddle.net>
* misc/getauxval.c (__getauxval): Use unsigned long int.
* misc/sys/auxv.h: Include <sys/cdefs.h>.
(getauxval): Use unsigned long int.
2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2012-05-21 Roland McGrath <roland@hack.frob.com>
* malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
(MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
__alignof__ (long double).
2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012-05-20 Richard Henderson <rth@twiddle.net>
* misc/getauxval.c: New file.
* misc/sys/auxv.h: New file.
* misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
(routines): Add getauxval.
* misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
* elf/dl-sysdep.c (_dl_auxv): Remove.
(_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
* elf/dl-support.c (_dl_auxv): New variable.
(_dl_aux_init): Initialize it.
* manual/startup.texi (Auxiliary Vector): New node.
* sysdeps/generic/bits/hwcap.h: New file.
* sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
* sysdeps/powerpc/sysdep.h: ... here. Include it.
* sysdeps/sparc/bits/hwcap.h: New file, split out from ...
* sysdeps/sparc/sysdep.h: ... here. Include it.
* sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
* sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012-05-19 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-19 Joseph Myers <joseph@codesourcery.com>
[BZ #14123]
* math/s_ccosh.c: Include <float.h>
(__ccosh): Avoid internal overflow calculating sinh and cosh
values before multiplying by sin and cos values.
* math/s_ccoshf.c: Likewise.
* math/s_ccoshl.c: Likewise.
* math/s_csin.c: Likewise.
* math/s_csinf.c: Likewise.
* math/s_csinl.c: Likewise.
* math/s_csinh.c: Likewise.
* math/s_csinhf.c: Likewise.
* math/s_csinhl.c: Likewise.
* math/libm-test.inc (ccos_test): Add more tests.
(ccosh_test): Likewise.
(csin_test): Likewise.
(csinh_test): Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
* sysdeps/x86_64/x32/_itoa.h: Add comment.
2012-05-19 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/soft-fp/Makefile: Remove file.
* sysdeps/powerpc/soft-fp/Subdirs: Likewise.
* sysdeps/powerpc/soft-fp/Versions: Likewise.
* sysdeps/powerpc/soft-fp/q_add.c: Likewise.
* sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
* sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
* sysdeps/powerpc/soft-fp/q_div.c: Likewise.
* sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
* sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
* sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
* sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
* sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
* sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
* sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
* sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
* sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
* sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_util.c: Likewise.
* sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
* sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2012-05-18 Andreas Jaeger <aj@suse.de>
* csu/.gitignore: Delete.
2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
(timex): Use __syscall_slong_t.
2012-05-18 Andreas Jaeger <aj@suse.de>
Carlos O'Donell <carlos_odonell@mentor.com>
* manual/install.texi (Configuring and compiling): Update
description about files modified in the source directory.
* INSTALL: Regenerated.
2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
value. Use "or" to set return value to -1.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
negate return value.
2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
failure if the compiler has Graphite support disabled.
* sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
Likewise.
* sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
CFLAGS-memmove.c): Likewise.
* sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
Likewise.
2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/x32/_itoa.h: New file.
* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
getdents system call only if kernel and user dirents have the
same d_ino and d_off.
* stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
LLONG_MAX != LONG_MAX.
(_itoa_word): Use _ITOA_WORD_TYPE on value.
(_fitoa_word): Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
years.
* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
include <bits/wordsize.h>. Check __x86_64__ instead of
__WORDSIZE.
(sigcontext): Use "__uint64_t" instead of "unsigned long int"
if __x86_64__ is defined. Use anonymous union on fpstate.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
anonymous union.
2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
Refer to _rtld_local_ro instead of _rtld_global_ro.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
Likewise.
* sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
Likewise.
* sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
Likewise.
* sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
of _rtld_global, and rtld_progname instead of _dl_argv[0].
* sysdeps/powerpc/powerpc32/dl-machine.c
(__elf_machine_runtime_setup) [PROF]: Don't reference
_dl_prof_resolve.
2012-05-18 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
function only available for GCCs before 3.4 since GCC 3.4
introduced a builtin.
(lrint): Likewise.
(llrintf): Likewise.
(llrint): Likewise.
(fmaxf): Likewise.
(fmax): Likewise.
(fminf): Likewise.
(fmin): Likewise.
(rint): Likewise.
(rintf): Likewise.
(nearbyint): Likewise.
(nearbyintf): Likewise.
(ceil): Likewise.
(ceilf): Likewise.
(floor): Likewise.
(floorf): Likewise.
2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
on both fields and cast pointer to __syscall_ulong_t.
* bits/types.h (__fsword_t): New type.
* bits/typesizes.h (__FSWORD_T_TYPE): New macro.
sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
(__FSWORD_T_TYPE): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h
(__FSWORD_T_TYPE): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
(__FSWORD_T_TYPE): Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
(__FSWORD_T_TYPE): Likewise.
* sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
__SWORD_TYPE with __fsword_t.
(statfs64): Likewise.
2012-05-17 David S. Miller <davem@davemloft.net>
* crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2012-05-17 Andreas Jaeger <aj@suse.de>
* elf/tst-relsort1.c (do_test): Fix function declaration to avoid
warning.
2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2012-05-17 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
when it is used.
2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
* stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
* sysdeps/x86_64/tst-mallocalign1.c: New file.
2012-05-17 Andreas Jaeger <aj@suse.de>
Carlos O'Donell <carlos_odonell@mentor.com>
[BZ #14059]
* sysdeps/x86_64/multiarch/init-arch.h
(bit_YMM_Usable): Rename to...
(bit_AVX_Usable): ... this.
(bit_FMA4_Usable): New macro.
(bit_XMM_state): New macro.
(bit_YMM_state): New macro.
[__ASSEMBLER__] (index_YMM_Usable): Rename to...
[__ASSEMBLER__] (index_AVX_Usable): ... this.
[__ASSEMBLER__] (index_FMA4_Usable): New macro.
(CPUID_OSXSAVE): New macro.
(CPUID_AVX): New macro.
(CPUID_FMA4): New macro.
(index_YMM_Usable): Rename to...
(index_AVX_Usable): ... this.
(HAS_AVX): Use HAS_ARCH_FEATURE.
(HAS_FMA4): Likewise.
(HAS_YMM_USABLE): Remove.
* sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
are present.
* sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
* sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
* sysdeps/x86_64/multiarch/Makefile: Likewise.
* sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
* sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
* math/libm-test.c: Support platforms without multiple rounding modes.
* math/bug-nextafter.c: Support platforms without FP exceptions.
* math/bug-nexttoward.c: Likewise.
* math/test-fenv.c: Likewise.
* math/test-misc.c: Likewise.
* stdlib/bug-getcontext.c: Likewise.
2012-05-17 Andreas Jaeger <aj@suse.de>
* manual/examples/search.c (critter_cmp): Change signature to
avoid warnings.
* manual/string.texi (Collation Functions): Likewise.
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* bits/types.h: Fold copyright years.
* bits/typesizes.h: Likewise.
* sysdeps/mach/hurd/bits/typesizes.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
* time/time.h: Likewise.
2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #208]
* malloc.c (int_mallinfo): Add parameter to accumulate statistics
in instead of returning them. Return void.
(__libc_mallinfo): Accumulate over all arenas.
(__malloc_stats): Adjust for change in int_mallinfo interface.
2012-05-16 Roland McGrath <roland@hack.frob.com>
[BZ #10375]
* configure.in (NM): Add AC_CHECK_TOOL for it.
(libc_extra_cflags): New substituted variable.
Check for -fstack-protector being used implicitly.
* configure: Regenerated.
* config.make.in (config-extra-cflags): New variable,
gets @libc_extra_cflags@.
* Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
[BZ #10375]
* configure.in: Check for _FORTIFY_SOURCE being predefined.
(CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
* configure: Regenerated.
* config.make.in (CPPUNDEFS): New substituted variable.
* Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
* Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
* time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
(mq_attr): Use __syscall_slong_t.
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
Check __x86_64__ instead of __WORDSIZE.
(_STAT_VER_LINUX): Likewise.
(stat): Check __x86_64__ instead of __WORDSIZE. Use
__syscall_ulong_t and __syscall_slong_t.
(stat64): Likewise.
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
__syscall_ulong_t.
* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
include <bits/wordsize.h>. Check __x86_64__ instead of
__WORDSIZE.
(greg_t): Use "__extension__ long long int" if __x86_64__ is
defined.
(mcontext_t): Replace "unsigned long" with "unsigned long long".
* sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
include <bits/wordsize.h>. Check __x86_64__ instead of
__WORDSIZE.
(user_regs_struct): Use "__extension__ unsigned long long"
instead of "unsigned long" if __x86_64__ is defined.
(user): Likewise. Pad after pointer field if __ILP32__ is
defined.
2012-05-16 Joseph Myers <joseph@codesourcery.com>
* configure.in (makeinfo): Require version 4.5 or later. Allow
versions 5 to 9.
* configure: Regenerated.
* manual/install.texi (texinfo): Increase version requirement to
4.5 or later.
* INSTALL: Regenerated.
* include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/x32/gmp-mparam.h: New file.
* sysdeps/x86_64/x32/ffs.c: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
__syscall_ulong_t.
(shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
defined. Use __syscall_ulong_t.
(shminfo): Use __syscall_ulong_t.
(shm_info): Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
__syscall_ulong_t.
* sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
<bits/wordsize.h>.
(msgqnum_t): Use __syscall_ulong_t.
(msglen_t): Likewise.
(msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
__syscall_ulong_t.
* sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
<bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
* sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
* sysdeps/x86_64/x32/divdi3.c: New dummy file.
* sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
* sysvipc/sys/msg.h (msgbuf): Replace long int with
__syscall_slong_t.
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
include <bits/wordsize.h>. Check __x86_64__ instead of
__WORDSIZE.
* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
"unsigned long long int" if __x86_64__ is defined.
(elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
<bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
(DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
<stdint.h>.
(GET_PC): Cast to uintptr_t first.
(GET_FRAME): Likewise.
(GET_STACK): Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
* sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
* Makerules (+depfiles): Also collect depfiles from .oS in
$(extra-objs).
* sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
.oS, $(libnldbl-routines)).
* Makerules (native-compile-mkdep-flags): Define.
* sunrpc/Makefile (extra-objs): Add $(addprefix
cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
of $(compile-mkdep-flags). Depend on $(before-compile) instead of
calling $(make-target-directory).
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* bits/types.h (__snseconds_t): Removed.
* time/time.h (struct timespec): Replace __snseconds_t with
__syscall_slong_t.
* bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
* sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
Likewise.
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
(__SNSECONDS_T_TYPE): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h
(__SNSECONDS_T_TYPE): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
(__SNSECONDS_T_TYPE): Likewise.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/mach/hurd/bits/typesizes.h
(__SYSCALL_SLONG_TYPE): New macro.
(__SYSCALL_ULONG_TYPE): Likewise.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* bits/types.h (__syscall_slong_t): New type.
(__syscall_ulong_t): Likewise.
* bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
(__SYSCALL_ULONG_TYPE): Likewise.
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
(__SYSCALL_SLONG_TYPE): Likewise.
(__SYSCALL_ULONG_TYPE): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h
(__SYSCALL_SLONG_TYPE): Likewise.
(__SYSCALL_ULONG_TYPE): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
(__SYSCALL_SLONG_TYPE): Likewise.
(__SYSCALL_ULONG_TYPE): Likewise.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
Add sigaltstack-offsets.sym.
* sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
<sigaltstack-offsets.h>.
(CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
longjmp_msg pointer.
(____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
signal stack.
* sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2012-05-15 Joseph Myers <joseph@codesourcery.com>
* elf/stackguard-macros.h: Remove file.
* sysdeps/generic/stackguard-macros.h: New file.
* sysdeps/i386/stackguard-macros.h: Likewise.
* sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
* sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
* sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
* sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
* sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
* sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
* sysdeps/x86_64/stackguard-macros.h: Likewise.
* nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
<elf/stackguard-macros.h>.
[BZ #14109]
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
__aligned__ in attribute.
* sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
(gregset_t): Likewise.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/Implies (wordsize-64): Moved to ....
* sysdeps/x86_64/64/Implies-after: Here. New file.
* sysdeps/x86_64/x32/Implies-after: New file.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
and access return value for _dl_profile_fixup. Use R10_LP to
load frame size.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
* sysdeps/x86_64/x32/sysdep.h: New file.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
* sysdeps/x86_64/setjmp.S: Likewise.
2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
* sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
* sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
* sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
remove unused global constant.
2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
* sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
include of <not-cancel.h>.
2012-05-15 Roland McGrath <roland@hack.frob.com>
* nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2012-05-15 Jeff Law <law@redhat.com>
Andreas Jaeger <aj@suse.de>
[BZ #13594]
* nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
out from...
* nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
* nscd/nscd-client.h: Add __nscd_acquire_maplock.
* nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
code changing __hst_map_handle.map.
2012-05-15 Roland McGrath <roland@hack.frob.com>
* configure.in (sysnames): Look for Implies-before and Implies-after
files.
* configure: Regenerated.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8-byte data alignment with LP_SIZE alignment.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
into R10_LP.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
* sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
(stackinfo_sub_sp): Likewise.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
RAX_LP.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
into R*_LP.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
sizes into R*_LP.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
into R11_LP and load __x86_64_shared_cache_size_half into
R8_LP.
2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
R8_LP.
2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
logb for POWER7.
* sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
logbf for POWER7.
* sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
logbl for POWER7.
* sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
powerpc32/power7/fpu/s_logb.c via #include.
* sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
powerpc32/power7/fpu/s_logbf.c via #include.
* sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
powerpc32/power7/fpu/s_logbl.c via #include.
2012-05-15 Joseph Myers <joseph@codesourcery.com>
* README.libm: Remove file.
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/start.S: Simulate popping 4-byte argument
count for x32. Use R*_LP and omit operand-size suffix.
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
* shlib-versions: Move x86_64-.*-linux.* entries to ...
* sysdeps/x86_64/64/shlib-versions: Here. New file.
* sysdeps/x86_64/x32/shlib-versions: New file.
2012-05-14 Roland McGrath <roland@hack.frob.com>
* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
* elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
Use _dl_fatal_printf instead.
2012-05-14 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
set if not set by the user. Do not allow for being unset.
* sysdeps/unix/sysv/linux/configure: Regenerated.
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
the `q' suffix from lea and replace .quad with ASM_ADDR.
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
instead of $17.
(PTR_DEMANGLE): Likewise.
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
(LP_OP): Likewise.
(ASM_ADDR): Likewise.
(RAX_LP): Likewise.
(RBP_LP): Likewise.
(RBX_LP): Likewise.
(RCX_LP): Likewise.
(RDI_LP): Likewise.
(RSI_LP): Likewise.
(RSP_LP): Likewise.
(R8_LP): Likewise.
(R9_LP): Likewise.
(R10_LP): Likewise.
(R10_LP): Likewise.
(R11_LP): Likewise.
(R12_LP): Likewise.
(R13_LP): Likewise.
(R14_LP): Likewise.
(R15_LP): Likewise.
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/x32/dl-machine.h: New file.
2012-05-14 Andreas Jaeger <aj@suse.de>
* manual/Makefile (subdir): Remove export of subdir.
(all): Remove target.
(.PHONY): Remove all from list.
(mkinstalldirs): Remove.
(.PHONY): Remove installdirs from list.
($(inst_infodir)/libc.info): Use make-target-directory.
(installdirs): Remove.
(subdir_%): Remove.
(glibc-targets): Remove.
(lib): Remove.
(stubs): Remove.
($(objpfx)stubs ../po/manual.pot): Remove.
($(objpfx)stamp%): Remove.
(make-target-directory): Remove.
(subdir_install): Remove.
(routines): Remove.
(aux): Remove.
(sources): Remove.
(objects): Remove.
(headers): Remove.
[BZ #13750]
* manual/.gitignore: Remove, it's not needed anymore.
* manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
all files in it.
* manual/Makefile (dvi, pdf, info, html): Depend on files in build
directory.
(texis): Renamed to $(objpfx)texis.
(texis-path): New, contains path to generated files.
(chapters.%): Use texis-path for complete path, add extra argument
libc-texinfo.sh.
(libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
(libc/index.html, summary.texi): Add $(objpfx) as prefix.
(summary,texi, stamp-summary): Use complete path of
files. Generate files in build dir.
(dir-add.texi): Build in build dir.
(libm-err.texi,stamp-libm-err): Likewise.
(version.texi, stamp-version): Likewise.
(.%c.texi): Likewise.
(%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
(mostlyclean): Remove target.
(realclean): Remove target.
(generated): Add new variable with contents from mostlyclean and
realclean, remove entries duplicated in common-mostlyclean, add
stamp-libm-err and stamp-version.
(generated-dirs): Add libc directory.
($(inst_infodir)/libc.info): Install files from build dir.
* manual/install.texi (Configuring and compiling): Adjust since
the info files are not part of the tar ball anymore.
2012-05-14 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
variable.
2012-05-14 Joseph Myers <joseph@codesourcery.com>
[BZ #13717]
* sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
to 2.2.0 where earlier.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
Remove conditional code.
[__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
Remove conditional code.
[!__NR_lchown]: Likewise.
[__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
[__NR_lchown]: Likewise.
* sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
comment referencing __ASSUME_LCHOWN_SYSCALL.
* sysdeps/unix/sysv/linux/i386/sigaction.c
[!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
[__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
* sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
Remove conditional code.
[__ASSUME_SIOCGIFNAME ]: Make code unconditional.
(__protocol_available): Remove #if 0 code.
* sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
conditional code.
[__ASSUME_SIOCGIFNAME]: Make code unconditional.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_GETCWD_SYSCALL): Don't define.
(__ASSUME_REALTIME_SIGNALS): Likewise.
(__ASSUME_PREAD_SYSCALL): Likewise.
(__ASSUME_PWRITE_SYSCALL): Likewise.
(__ASSUME_POLL_SYSCALL): Likewise.
(__ASSUME_LCHOWN_SYSCALL): Likewise.
(__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
non-SPARC.
(__ASSUME_SIOCGIFNAME): Don't define.
(__ASSUME_MSG_NOSIGNAL): Likewise.
(__ASSUME_SENDFILE): Define unconditionally.
(__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
* sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
conditional code.
[__ASSUME_POLL_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
[!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
(__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
[!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
(fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
[!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
[__ASSUME_PREAD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
[!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
[__ASSUME_PREAD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
[!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
[__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
[!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
[__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
[!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
[__ASSUME_PREAD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
[!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
[__ASSUME_PREAD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
[!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
[__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
[!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
[__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
Remove conditional code.
[__ASSUME_PREAD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
Remove conditional code.
[__ASSUME_PREAD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
[__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
* sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
Remove conditional code.
[__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
Remove conditional code.
[__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
Remove conditional code.
[__ASSUME_PREAD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
Remove conditional code.
[__ASSUME_PREAD_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
Remove conditional code.
[__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/sh/pwrite64.c
[!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
[__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
* sysdeps/unix/sysv/linux/sigaction.c
[!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
[__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
* sysdeps/unix/sysv/linux/sigpending.c
[!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
[__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
* sysdeps/unix/sysv/linux/sigprocmask.c
[!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
[__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
* sysdeps/unix/sysv/linux/sigsuspend.c
[!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
[__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__libc_missing_rt_sigs): Remove.
(__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
(__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
* sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
Remove conditional code.
[__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
* sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
return 1.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname)
[!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
[!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2012-05-14 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
it's not used in glibc.
(__coshm1): Likewise.
(__acosh1p): Likewise.
(__sgn): Likewise.
* manual/string.texi (Copying and Concatenation): Add missing
variable in concat example.
Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
[BZ #14103]
* sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
__builtin_clzl with __builtin_clzll.
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
[BZ #14104]
* sysdeps/unix/sysv/linux/check_pf.c (cache): Use
libc_freeres_ptr.
2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
* sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
* sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
* sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
* sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2012-05-14 Mike Frysinger <vapier@gentoo.org>
* NEWS: Update ia64 info.
2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
used as bcopy.
2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
* io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
* sysdeps/unix/syscalls.list (dup3): Likewise.
* libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
* libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
* elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
"%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
* elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
thread pointer.
(TLS_IE): Use mov/add instead of movq/addq to load thread
pointer.
(TLS_GD_PREFIX): New.
(TLS_GD): Use it.
2012-05-11 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
* sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
(_FPU_SETCW): Likewise.
2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
is 32-byte aligned.
2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
[BZ #11837]
* iconvdata/gb18030.c: Update tables.
(BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
characters specially.
(BODY for TO_LOOP): Add encoding of missing ranges.
2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
[BZ #13673]
* sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
* sysdeps/mach/hurd/dup3.c: Likewise.
* sysdeps/mach/hurd/readlinkat.c: Likewise.
* sysdeps/powerpc/memmove.c:: Likewise.
2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
* elf/elf.h (R_X86_64_RELATIVE64): New.
(R_X86_64_NUM): Updated.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
(elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
* sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
tst-quad1pie tst-quad2pie
(modules-names): Add tst-quadmod1 tst-quadmod2.
($(objpfx)tst-quad1): New dependency.
($(objpfx)tst-quad2): Likewise.
($(objpfx)tst-quad1pie): Likewise.
($(objpfx)tst-quad2pie): Likewise.
* sysdeps/x86_64/tst-quad1.c: New file.
* sysdeps/x86_64/tst-quad1pie.c: New file.
* sysdeps/x86_64/tst-quad2.c: Likewise.
* sysdeps/x86_64/tst-quad2pie.c: Likewise.
* sysdeps/x86_64/tst-quadmod1.S: Likewise.
* sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
* sysdeps/x86_64/tst-quadmod2.S: Likewise.
* sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* io/fcntl.h (mode_t, off_t, pid_t): Define types.
(__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
* streams/stropts.h (t_scalar_t): Define type.
* sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
(_PATH_PRESERVE): Set to "/var/lib".
(_PATH_RWHODIR): Set to "/var/spool/rwho".
* sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
instead of int.
* sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
if __dir_mkfile succeeded.
* sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
checking for _hurd_dtablesize. Unlock it right after having
finished _hurd_dtable allocation.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
* sysdeps/mach/hurd/configure: Regenerated.
* sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
special-casing to...
* sysdeps/gnu/configure.in: ... this new file.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* sysdeps/gnu/configure: New generated file.
* sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
for Linux: use nsec instead of usec, as well as:
[__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
members of type struct timespec.
[__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
New macros.
(struct stat64): Likewise.
(_STATBUF_ST_NSEC): New macro.
* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
__strtoul_internal rather than strtoul.
2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
* hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
and reject them.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
which preserves existing values.
* sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
* hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
TIMEOUT values. Return EINVAL for NFDS values either negative or
greater than FD_SETSIZE.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
allocated, call __vm_protect to finish enabling the existing space, and
pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
allocate the remainder.
2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
sysdeps/mach/hurd/readlink.c.
* posix/tst-sysconf.c (posix_options): Only use
_POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
_POSIX_SYNCHRONIZED_IO when they are defined
* sysdeps/mach/hurd/bits/posix_opt.h:
(_POSIX_PRIORITY_SCHEDULING): Undefine macro.
(_XOPEN_REALTIME): Undefine macro.
(_XOPEN_REALTIME_THREADS): Undefine macro.
(_XOPEN_SHM): Undefine macro.
[__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
macro to -1.
[__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
macro to -1.
(_POSIX_ASYNC_IO): Undefine macro.
(_POSIX_PRIORITIZED_IO): Undefine macro.
(_POSIX_SPIN_LOCKS): Define macro to -1.
* bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
SA_NODEFER, SA_RESETHAND.
* sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
F_DUPFD_CLOEXEC.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* elf/Makefile (pldd-modules): Define unconditionally.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
Return ENOENT when name is empty.
* sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
* nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix mlock in all cases except non-readable pages.
* sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
instead of VM_PROT_ALL as parameter to __vm_wire function.
* sysdeps/mach/hurd/mkdir.c: Include <string.h>.
(__mkdir): When path is `/', just fail with EEXIST.
* sysdeps/mach/hurd/mkdirat.c: Likewise.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
<sys/uio.h> (for writev).
* nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
and <sys/param.h> (for MIN).
2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
* sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
REQUESTED_TIME. Properly set the remaining time and return EINTR
if interrupted.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
Depend on against $(link-rpcuserlibs).
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
(__libc_stack_end): Do not use attribute_relro.
* sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
* sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
to libthread-provided value.
* sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
attribute_relro.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
[BZ #3748]
* bits/libc-lock.h (__libc_once_get): New macro.
* sysdeps/mach/bits/libc-lock.h: Likewise.
* sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
instead of using implementation details.
* libio/fileops.c: Unconditionally include <kernel-features.h>.
* libio/freopen.c: Likewise.
* libio/freopen64.c: Likewise.
* misc/syslog.c: Likewise.
* nscd/connections.c: Likewise.
* nscd/netgroupcache.c: Likewise.
* sysdeps/posix/getcwd.c: Likewise.
2012-05-10 Roland McGrath <roland@hack.frob.com>
* math/w_ilogbf.c: Add #include <limits.h>.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
path instead of returning without unlocking.
* sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
immediate-write ioctls.
* sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/mach/hurd/i386/init-first.c (init): Use
__builtin_frame_address instead of making assumptions about the
location of the return address relative to DATA. Force early load of
the return address.
(_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
__builtin_frame_address.
dup3 for GNU Hurd.
* include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
* sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
implement dup3 and do some further code clean-ups.
* sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
* sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
* hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
HURD_CRITICAL_END around holding _hurd_dtable_lock.
* sysdeps/mach/hurd/dirfd (dirfd): Likewise.
* sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
d->port.lock.
* hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
when handler == SIG_ERR, not when handler != SIG_ERR.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
(SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
definitions.
accept4 for GNU Hurd.
* include/sys/socket.h (__libc_accept4): New prototype.
* sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
to implement __libc_accept4.
* sysdeps/mach/hurd/accept.c (accept): Reimplement using
__libc_accept4.
* sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
* sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
* sysdeps/mach/hurd/i386/signal-defines.sym: New file.
* sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
signal-defines.sym.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
assertion on O_CLOEXEC flag.
* hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
* hurd/intern-fd.c: Likewise.
* hurd/port2fd.c: Likewise.
2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
[BZ #3906]
* bits/in.h (IPV6_PKTINFO): Define new macro.
(IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #13954]
[BZ #13955]
[BZ #13956]
* sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
* sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
* sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
* sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
* sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
* math/libm-test.inc (logb_test) : Additional logb tests.
2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
Andreas Jaeger <aj@suse.de>
* configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
* configure: Regenerated.
* config.h.in (LINK_OBSOLETE_RPC): New macro.
* config.make.in (link-obsolete-rpc): New substituted variable.
* include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
* sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
(shared-only-routines): Don't set it under [link-obsolete-rpc],
so that libc.a contains the symbols.
* nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
* sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
* sunrpc/auth_none.c: Likewise.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/authdes_prot.c: Likewise.
* sunrpc/authuxprot.c: Likewise.
* sunrpc/clnt_gen.c: Likewise.
* sunrpc/clnt_perr.c: Likewise.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/clnt_udp.c: Likewise.
* sunrpc/clnt_unix.c: Likewise.
* sunrpc/des_crypt.c: Likewise.
* sunrpc/des_soft.c: Likewise.
* sunrpc/get_myaddr.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/key_prot.c: Likewise.
* sunrpc/netname.c: Likewise.
* sunrpc/pm_getmaps.c: Likewise.
* sunrpc/pm_getport.c: Likewise.
* sunrpc/pmap_clnt.c: Likewise.
* sunrpc/pmap_prot.c: Likewise.
* sunrpc/pmap_prot2.c: Likewise.
* sunrpc/pmap_rmt.c: Likewise.
* sunrpc/publickey.c: Likewise.
* sunrpc/rpc_cmsg.c: Likewise.
* sunrpc/rpc_common.c: Likewise.
* sunrpc/rpc_dtable.c: Likewise.
* sunrpc/rpc_prot.c: Likewise.
* sunrpc/rpc_thread.c: Likewise.
* sunrpc/rtime.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_auth.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_run.c: Likewise.
* sunrpc/svc_tcp.c: Likewise.
* sunrpc/svc_udp.c: Likewise.
* sunrpc/svc_unix.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/xcrypt.c: Likewise.
* sunrpc/xdr.c: Likewise.
* sunrpc/xdr_array.c: Likewise.
* sunrpc/xdr_float.c: Likewise.
* sunrpc/xdr_intXX_t.c: Likewise.
* sunrpc/xdr_mem.c: Likewise.
* sunrpc/xdr_rec.c: Likewise.
* sunrpc/xdr_ref.c: Likewise.
* sunrpc/xdr_sizeof.c: Likewise.
* sunrpc/xdr_stdio.c: Likewise.
2012-05-10 Roland McGrath <roland@hack.frob.com>
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
change. Update copyright years.
2012-05-10 Joseph Myers <joseph@codesourcery.com>
* include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #14012]
* sunrpc/Makefile [cross-compiling] (headers): Enable additions
requiring rpcgen.
[cross-compiling] (extra-libs): Likewise.
[cross-compiling] (extra-libs-others): Likewise.
[cross-compiling] (librpcsvc-routines): Likewise.
[cross-compiling] (librpcsvc-inhibit-o): Likewise.
[cross-compiling] (omit-deps): Likewise.
(sunrpc-CPPFLAGS): New variable.
(CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
(BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
(cross-rpcgen-objs): New variable.
(extra-objs): Append $(cross-rpcgen-objs).
($(cross-rpcgen-objs)): New rule.
($(objpfx)cross-rpcgen): Likewise.
(rpcgen-cmd): Define to use $(built-program-file). Expand
comment.
($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
($(objpfx)x%.stmp): Likewise.
* sunrpc/proto.h [IS_IN_build] (_): Define.
[IS_IN_build] (_libc_intl_domainname): Likewise.
2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
and R_X86_64_TPOFF64.
2012-05-10 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
sysdeps/unix/sysv/syscalls.list.
(stime): Likewise.
(utime): Likewise.
* sysdeps/unix/sysv/syscalls.list: Remove file.
2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
[BZ #3440]
* locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
(__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
(__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
(__LC_IDENTIFICATION): Make these macros useful in #if
expressions, as required by C99.
2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
* sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
$(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
after this.
2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
* stdlib/longlong.h: Updated from GCC.
2012-05-09 Andreas Jaeger <aj@suse.de>
* nscd/nscd.c (run_modes): Make named enum, reorder so that
default is first entry.
(run_mode): Set type.
(main): Remove informal message about syslog.
(options): Fix typo.
[BZ #14053]
* sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
to asm.
(lrint): Likewise.
(llrintf): Likewise.
(llrint): Likewise.
(rint): Likewise.
(rintf): Likewise.
(nearbyint): Likewise.
(nearbyintf): Likewise.
2012-05-09 Andreas Jaeger <aj@suse.de>
Pedro Alves <palves@redhat.com>
* nscd/nscd.c (run_mode): Use enum.
(main): Cleanup coding style issue.
2012-05-09 Alexandre Oliva <aoliva@redhat.com>
Andreas Jaeger <aj@suse.de>
* nscd/nscd.c (go_background): Replaced with...
(run_mode): ... this.
(RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
(options): Add -F --foreground.
(main): Implement it.
(parse_opt): Parse it.
2012-05-09 Andreas Jaeger <aj@suse.de>
[BZ #14083]
* string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
!_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
-Wconversion warning.
(strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
Likewise.
2012-05-09 Joseph Myers <joseph@codesourcery.com>
* conform/data/locale.h-data (NULL): Use macro-constant. Require
== 0.
(LC_ALL): Use macro-int-constant.
(LC_COLLATE): Likewise.
(LC_CTYPE): Likewise.
(LC_MESSAGES): Likewise.
(LC_MONETARY): Likewise.
(LC_NUMERIC): Likewise.
(LC_TIME): Likewise.
[ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
(LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
[ISO || ISO99 || ISO11] (*_t): Do not allow.
* conform/data/math.h-data (HUGE_VAL): Use macro-constant.
Specify type.
[C99-based standards] (float_t): Expect type.
[C99-based standards] (double_t): Expect type.
[C99-based standards] (HUGE_VALF): Use macro-constant. Specify
type.
[C99-based standards] (HUGE_VALL): Likewise.
[C99-based standards] (INFINITY): Likewise.
[C99-based standards] (NAN): Likewise.
[C99-based standards] (FP_INFINITE): Use macro-int-constant.
[C99-based standards] (FP_NAN): Likewise.
[C99-based standards] (FP_NORMAL): Likewise.
[C99-based standards] (FP_SUBNORMAL): Likewise.
[C99-based standards] (FP_ZERO): Likewise.
[C99-based standards] (FP_FAST_FMA): Use
optional-macro-int-constant. Specify type. Require == 1.
[C99-based standards] (FP_FAST_FMAF): Likewise.
[C99-based standards] (FP_FAST_FMAL): Likewise.
[C99-based standards] (FP_ILOGB0): Use macro-int-constant.
[C99-based standards] (FP_ILOGBNAN): Likewise.
[C99-based standards] (MATH_ERRNO): Use macro-int-constant.
Specify type.
[C99-based standards] (MATH_ERREXCEPT): Likewise.
[C99-based standards] (math_errhandling): Specify type.
[ISO99 || ISO11] (signgam): Do not allow.
[non-C99-based standards] (copysignf): Do not allow.
[non-C99-based standards] (exp2f): Likewise.
[non-C99-based standards] (log2f): Likewise.
[non-C99-based standards] (modff): Allow.
[non-C99-based standards] (erff): Do not allow.
[non-C99-based standards] (erfcf): Likewise.
[non-C99-based standards] (gammaf): Likewise.
[non-C99-based standards] (hypotf): Likewise.
[non-C99-based standards] (j0f): Likewise.
[non-C99-based standards] (j1f): Likewise.
[non-C99-based standards] (jnf): Likewise.
[non-C99-based standards] (lgammaf): Likewise.
[non-C99-based standards] (tgammaf): Likewise.
[non-C99-based standards] (y0f): Likewise.
[non-C99-based standards] (y1f): Likewise.
[non-C99-based standards] (ynf): Likewise.
[non-C99-based standards] (isnanf): Likewise.
[non-C99-based standards] (acoshf): Likewise.
[non-C99-based standards] (asinhf): Likewise.
[non-C99-based standards] (atanhf): Likewise.
[non-C99-based standards] (cbrtf): Likewise.
[non-C99-based standards] (expm1f): Likewise.
[non-C99-based standards] (ilogbf): Likewise.
[non-C99-based standards] (log1pf): Likewise.
[non-C99-based standards] (logbf): Likewise.
[non-C99-based standards] (nextafterf): Likewise.
[non-C99-based standards] (remainderf): Likewise.
[non-C99-based standards] (rintf): Likewise.
[non-C99-based standards] (scalbf): Likewise.
[non-C99-based standards] (copysignl): Likewise.
[non-C99-based standards] (exp2l): Likewise.
[non-C99-based standards] (log2l): Likewise.
[non-C99-based standards] (modfl): Allow.
[non-C99-based standards] (erfl): Do not allow.
[non-C99-based standards] (erfcl): Likewise.
[non-C99-based standards] (gammal): Likewise.
[non-C99-based standards] (hypotl): Likewise.
[non-C99-based standards] (j0l): Likewise.
[non-C99-based standards] (j1l): Likewise.
[non-C99-based standards] (jnl): Likewise.
[non-C99-based standards] (lgammal): Likewise.
[non-C99-based standards] (tgammal): Likewise.
[non-C99-based standards] (y0l): Likewise.
[non-C99-based standards] (y1l): Likewise.
[non-C99-based standards] (ynl): Likewise.
[non-C99-based standards] (isnanl): Likewise.
[non-C99-based standards] (acoshl): Likewise.
[non-C99-based standards] (asinhl): Likewise.
[non-C99-based standards] (atanhl): Likewise.
[non-C99-based standards] (cbrtl): Likewise.
[non-C99-based standards] (expm1l): Likewise.
[non-C99-based standards] (ilogbl): Likewise.
[non-C99-based standards] (log1pl): Likewise.
[non-C99-based standards] (logbl): Likewise.
[non-C99-based standards] (nextafterl): Likewise.
[non-C99-based standards] (remainderl): Likewise.
[non-C99-based standards] (rintl): Likewise.
[non-C99-based standards] (scalbl): Likewise.
[ISO || ISO99 || ISO11] (*_t): Do not allow.
[non-C99-based standards] (FP_*): Do not allow.
[C99-based standards] (FP_*): Change to
FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
* conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
allow.
* conform/data/signal.h-data (SIG_DFL): Use macro-constant.
(SIG_ERR): Likewise.
[X/Open-based standards] (SIG_HOLD): Likewise.
(SIG_IGN): Likewise.
(SIGABRT): Use macro-int-constant. Specify type. Require
positive value.
(SIGFPE): Likewise.
(SIGILL): Likewise.
(SIGINT): Likewise.
(SIGSEGV): Likewise.
(SIGTER): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
[X/Open-based standards] (SIGTRAP): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
[!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
* conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
allow.
2012-05-08 Ian Wienand <ianw@vmware.com>
[BZ #14080]
* time/tzset.c (__tzset_parse_tz): Update default rules for
daylight time changes in the Energy Policy Act of 2005.
2012-05-09 Andreas Jaeger <aj@suse.de>
[BZ #13983]
* elf/ldconfig.c (parse_conf): Change string to make clear that
ldconfig only issued a warning if ld.so.conf does not exist.
2012-05-08 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
movxtod instead of popping the value on the stack.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
* config.h.in: Add HAVE_ARM_PCS_VFP.
2012-05-08 Roland Mc Grath <roland@hack.frob.com>
[BZ #13979]
* include/features.h: Warn if user requests __FORTIFY_SOURCE
checking but the checks are disabled for any reason.
2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
and ELF64_R_TYPE with ELFW(R_TYPE).
2012-05-08 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/syscalls.list (pause): Remove.
(ulimit): Likewise.
* sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
(settimeofday): Likewise.
2012-05-08 Mike Frysinger <vapier@gentoo.org>
* inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
a struct th_u2 inside the union, and move tu_block/tu_code into
a new th_u3 union of tu_block/tu_code inside of that. Move
th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
(th_block): Change to th_u1.th_u2.th_u3.tu_block.
(th_code): Change to th_u1.th_u2.th_u3.tu_code.
(th_stuff): Change to th_u1.tu_stuff.
(th_data): Define.
(th_msg): Change to th_u1.th_u2.tu_data.
2012-05-07 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
[BZ #14074]
* sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
(SETUP_PIC_REG): Use it.
(SETUP_PIC_REG_LEAF): Use it.
2012-05-07 Joseph Myers <joseph@codesourcery.com>
[BZ #13885]
[BZ #13923]
* sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
USE_AS_EXPM1L.
(EXPL_FINITE): Likewise.
(FLDLOG): Likewise.
(IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
* sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
e_expl.S.
* sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
USE_AS_EXPM1L.
(EXPL_FINITE): Likewise.
(FLDLOG): Likewise.
(IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
* sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
e_expl.S.
* math/libm-test.inc (expm1_test): Add more tests. Do not disable
test of -max_value argument for long double.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2012-05-06 David S. Miller <davem@davemloft.net>
* scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
quad soft-float symbols whose references which are compiler
generated.
* scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2012-05-06 Joseph Myers <joseph@codesourcery.com>
[BZ #13884]
[BZ #13914]
* sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
USE_AS_EXP10L.
(EXPL_FINITE): Likewise.
(FLDLOG): Likewise.
(c0): Likewise.
(c1): Likewise.
(__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
Adjust comments for base varying.
(__expl_finite): Change alias to EXPL_FINITE.
* sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
e_expl.S.
* sysdeps/ieee754/dbl-64/e_exp10.c: New file.
* sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
* sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
* sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
USE_AS_EXP10L.
(EXPL_FINITE): Likewise.
(FLDLOG): Likewise.
(c0): Likewise.
(c1): Likewise.
(__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
Adjust comments for base varying.
(__expl_finite): Change alias to EXPL_FINITE.
* math/libm-test.inc (exp10_test): Add more tests. Do not disable
tests for bugs.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
[BZ #14064]
* math/libm-test.inc (check_float_internal): Correct ulp
calculation for subnormal expected results.
2012-05-06 Andreas Jaeger <aj@suse.de>
* Makeconfig (+math-flags): New, set to -frounding-math.
(+cflags): Add +math-flags so that all of glibc gets compiled with
it.
* sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2012-05-05 Joseph Myers <joseph@codesourcery.com>
* math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
Disable one test.
[BZ #13787]
[BZ #13922]
[BZ #14036]
* sysdeps/i386/fpu/e_expl.S (csat): New constant.
(__ieee754_expl): Allow for and saturate large arguments.
* sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
(u_threshold): Likewise.
(__exp): Call __ieee754_exp before checking for overflow and
underflow.
* sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
(u_threshold): Likewise.
(__expf): Call __ieee754_expf before checking for overflow and
underflow.
* sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
(u_threshold): Likewise.
(__expl): Call __ieee754_expl before checking for overflow and
underflow.
* sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
(__ieee754_expl): Allow for and saturate large arguments.
* math/libm-test.inc (exp_test): Add another test. Do not allow
missing overflow exception on overflow.
(expm1_test): Do not allow missing overflow exception on overflow.
* sysdeps/i386/fpu/e_expl.c: Move to ...
* sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
rather than using inline asm.
* sysdeps/x86_64/fpu/e_expl.c: Remove file.
* sysdeps/x86_64/fpu/e_expl.S: Copy from
sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
* sysdeps/unix/sysv/syscalls.list (ftime): Remove.
(nice): Likewise.
(poll): Likewise.
(signal): Likewise.
(time): Likewise.
(times): Likewise.
2012-05-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/syscalls.list (adjtime): Add entry from
sysdeps/unix/common/syscalls.list.
(fchmod): Likewise.
(fchown): Likewise.
(ftruncate): Likewise.
(getrusage): Likewise.
(gettimeofday): Likewise.
(setpgid): Likewise.
(setregid): Likewise.
(setreuid): Likewise.
(sigaction): Likewise.
(truncate): Likewise.
(vhangup): Likewise.
* sysdeps/unix/common/syscalls.list: Remove file.
* sysdeps/unix/bsd/Implies: Don't include unix/common.
* sysdeps/unix/sysv/linux/Implies: Likewise.
2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
Moved to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
Moved to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
Here.
* sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
to ...
* sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2012-05-04 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/common/bits/dirent.h: Remove file.
* sysdeps/unix/common/bits/fcntl.h: Likewise.
* sysdeps/unix/bsd/bits/dirent.h: Remove file.
* sysdeps/unix/bsd/bits/fcntl.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
* sysdeps/unix/bsd/isatty.c: Likewise.
* sysdeps/unix/bsd/tcdrain.c: Likewise.
* sysdeps/unix/bsd/tcgetattr.c: Likewise.
* sysdeps/unix/bsd/tcsetattr.c: Likewise.
2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #13563]
* sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
long double comparison inaccuracies.
* sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2012-05-04 Joseph Myers <joseph@codesourcery.com>
[BZ #14049]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
nonzero digits before rounding a hex value.
* stdlib/tst-strtod.c (tests): Add another test.
2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* sysdeps/s390/fpu/libm-test-ulps: Update.
2012-05-03 Andreas Jaeger <aj@suse.de>
* malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
does not get optimized out.
(malloc_opt_barrier): New.
2012-05-03 Andreas Jaeger <aj@suse.de>
Roland McGrath <roland@hack.frob.com>
* Makerules (.PRECIOUS): Add %.symlist pattern to prevent
intermediate file deletion.
(generated): Add .symlist files.
2012-05-03 Joseph Myers <joseph@codesourcery.com>
[BZ #13775]
* libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
Redirect under this condition.
[__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
[__USE_GNU] (__dprintf_chk): Not under this condition.
[__USE_GNU] (__vdprintf_chk): Likewise.
* libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
under this condition.
[__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
[__USE_XOPEN2K8] (dprintf): Define under this condition.
[__USE_XOPEN2K8] (vdprintf): Likewise.
[__USE_GNU] (__dprintf_chk): Not under this condition.
[__USE_GNU] (__vdprintf_chk): Likewise.
[__USE_GNU] (dprintf): Likewise.
[__USE_GNU] (vdprintf): Likewise.
2012-05-03 Roland McGrath <roland@hack.frob.com>
* elf/Makefile (common-generated): Set this instead of generated for
.dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
$(all-built-dso)-derived lists.
2012-05-03 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/libm-test-ulps: Update.
* FAQ: Removed.
* FAQ.in: Likewise.
* scripts/gen-FAQ.pl: Likewise.
* manual/install.texi (Installation): Point to online location of
FAQ.
* Makefile (files-for-dist): Remove FAQ.
(FAQ): Remove.
2012-05-02 Allan McRae <allan@archlinux.org>
* elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
(LDFLAGS-reldepmod5.so): Likewise.
(LDFLAGS-reldep6mod1.so): Likewise.
(LDFLAGS-reldep6mod4.so): Likewise.
(LDFLAGS-reldep8mod3.so): Likewise.
(LDFLAGS-unload4mod1.so): Likewise.
(LDFLAGS-unload4mod2.so): Likewise.
(LDFLAGS-tst-initorder): Likewise.
(LDFLAGS-tst-initordera2.so): Likewise.
(LDFLAGS-tst-initordera3.so): Likewise.
(LDFLAGS-tst-initordera4.so): Likewise.
(LDFLAGS-tst-initorderb2.so): Likewise.
(LDFLAGS-noload): Likewise.
(LDFLAGS-next): Likewise.
(LDFLAGS-order2mod1.so): Likewise.
(LDFLAGS-order2mod2.so): Likewise.
(LDFLAGS-tst-initorder2): Likewise.
(LDFLAGS-tst-initorder2a.so): Likewise.
(LDFLAGS-tst-initorder2b.so): Likewise.
(LDFLAGS-tst-initorder2c.so): Likewise.
* stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2012-05-02 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #14055]
* elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2012-05-02 Andreas Jaeger <aj@suse.de>
* math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
since we manipulate rounding mode.
(CPPFLAGS-test-idouble.c): Likewise.
(CPPFLAGS-test-ifloat.c): Likewise.
(CFLAGS-test-ldouble.c): Likewise.
(CFLAGS-test-double.c): Likewise.
(CFLAGS-test-float.c): Likewise.
(CFLAGS-test-misc.c): Likewise.
(CFLAGS-test-test-fenv.c): Likewise.
2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #2550]
[BZ #2570]
* sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
comparisons to determine direction to adjust input.
2012-05-01 Roland McGrath <roland@hack.frob.com>
* elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
output to the target.
* scripts/localplt.awk: New file.
* elf/Makefile ($(objpfx)check-localplt): Target removed.
(check-localplt-CFLAGS): Variable removed.
($(all-built-dso:=.jmprel)): New static pattern rule.
(generated): Add those targets.
(localplt-built-dso): New variable.
($(objpfx)check-localplt.out): Use the script on the .jmprel files.
* elf/check-localplt.c: File removed.
* scripts/check-execstack.awk: New file.
* elf/Makefile ($(objpfx)check-execstack): Target removed.
(check-execstack-CFLAGS): Variable removed.
($(objpfx)check-execstack.h): Target removed.
($(objpfx)execstack-default): New target.
(generated): Add that instead of check-execstack.h.
($(all-built-dso:=.phdr)): New static pattern rule.
(generated): Add those targets.
* elf/check-execstack.c: File removed.
* scripts/check-textrel.awk: New file.
* elf/Makefile ($(objpfx)check-textrel): Target removed.
(check-textrel-CFLAGS): Variable removed.
(all-built-dso): Use := to define.o
($(all-built-dso:=.dyn)): New static pattern rule.
(generated): Add those targets.
($(objpfx)check-textrel.out): Use the script on the .dyn files.
* config.make.in (READELF): New substituted variable.
* elf/check-textrel.c: File removed.
2012-05-01 Joseph Myers <joseph@codesourcery.com>
* conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
allow.
* conform/data/ctype.h-data [C99-based standards] (isblank):
Expect function.
(is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
(to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
[ISO || ISO99 || ISO11] (*_t): Do not allow.
* conform/data/errno.h-data (EDOM): Use macro-int-constant.
Specify type. Require positive value.
(EILSEQ): Likewise.
(ERANGE): Likewise.
[ISO || POSIX] (EILSEQ): Do not expect.
[!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
Specify type. Require positive value.
[!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
[!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
[!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
[!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
[!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
[!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
[!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
[!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
[!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
[!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
[!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
[!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
[!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
[!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
[!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
[!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
[!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
[!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
[!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
[!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
[!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
[!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
[!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
[!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
[!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
[!ISO && !ISO99 && !ISO11] (EIO): Likewise.
[!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
[!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
[!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
[!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
[!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
[!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
[!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
[!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
[!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
[!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
[!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
[!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
[!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
[!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
[!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
[!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
[!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
[!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
[!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
[!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
[!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
[!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
[!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
[!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
[!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
[!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
[!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
[!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
[!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
[!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
[!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
[XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
[XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
* conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
Require >= 2.
(FLT_ROUNDS): Expect as macro, not constant.
(FLT_MANT_DIG): Use macro-int-constant.
(DBL_MANT_DIG): Likewise.
(LDBL_MANT_DIG): Likewise.
(FLT_DIG): Likewise.
(DBL_DIG): Likewise.
(LDBL_DIG): Likewise.
(FLT_MIN_EXP): Use macro-int-constant. Require < 0.
(DBL_MIN_EXP): Likewise.
(LDBL_MIN_EXP): Likewise.
(FLT_MAX_EXP): Use macro-int-constant.
(DBL_MAX_EXP): Likewise.
(LDBL_MAX_EXP): Likewise.
(FLT_MAX_10_EXP): Likewise.
(DBL_MAX_10_EXP): Likewise.
(LDBL_MAX_10_EXP): Likewise.
(FLT_MAX): Use macro-constant.
(DBL_MAX): Likewise.
(LDBL_MAX): Likewise.
(FLT_EPSILON): Use macro-constant. Give upper bound.
(DBL_EPSILON): Likewise.
(LDBL_EPSILON): Likewise.
(FLT_MIN): Likewise.
(DBL_MIN): Likewise.
(LDBL_MIN): Likewise.
[C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
[C99-based standards] (FLT_EVAL_METHOD): Likewise.
[ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
[ISO11] (FLT_HAS_SUBNORM): Likewise.
[ISO11] (LDBL_HAS_SUBNORM): Likewise.
[ISO11] (DBL_DECIMAL_DIG): Likewise.
[ISO11] (FLT_DECIMAL_DIG): Likewise.
[ISO11] (LDBL_DECIMAL_DIG): Likewise.
[ISO11] (DBL_TRUE_MIN): Use macro-constant.
[ISO11] (FLT_TRUE_MIN): Likewise.
[ISO11] (LDBL_TRUE_MIN): Likewise.
[ISO || ISO99 || ISO11] (*_t): Do not allow.
* conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
(SCHAR_MIN): Use macro-int-constant. Specify type.
(SCHAR_MAX): Likewise.
(UCHAR_MAX): Likewise.
(CHAR_MIN): Likewise.
(CHAR_MAX): Likewise.
(MB_LEN_MAX): Use macro-int-constant.
(SHRT_MIN): Use macro-int-constant. Specify type.
(SHRT_MAX): Likewise.
(USHRT_MAX): Likewise.
(INT_MAX): Likewise.
(INT_MIN): Use macro-int-constant. Specify type. Make upper
bound negative.
(UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
bound with "U".
(LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
bound with "L".
(LONG_MIN): Use macro-int-constant. Specify type. Make upper
bound negative. Suffix upper bound with "L".
(ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
bound with "UL".
[C99-based standards] (LLONG_MIN): Use macro-int-constant.
Specify type.
[C99-based standards] (LLONG_MAX): Likewise.
[C99-based standards] (ULLONG_MAX): Likewise.
* conform/data/stddef.h-data (NULL): Use macro-constant. Require
== 0.
[ISO11] (max_align_t): Require type.
[ISO || ISO99 || ISO11] (*_t): Do not allow.
* conform/conformtest.pl ($CFLAGS_namespace): Define separately
from $CFLAGS, without defining away __attribute__ calls.
(checknamespace): Use $CFLAGS_namespace.
* conform/conformtest.pl (@keywords): Only include C99 keywords
for standards based on C99 or C11.
* conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
Disable tests.
* conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
UNIX98]: Likewise.
* conform/conformtest.pl: Handle "macro-int-constant" and test for
usability of symbols in #if.
* conform/conformtest.pl: If macro or constant types start
"promoted:", expect the symbol to be of the following type
promoted by the integer promotions.
* conform/conformtest.pl: Parse all "constant" and "macro" lines
in one place. Also handle "macro-constant".
* conform/conformtest.pl: Only accept expected macro values with
"==". Parse all "macro" lines in one place.
* conform/data/stdlib.h-data: Use "==" form on "macro" lines.
* conform/conformtest.pl: Handle braced types on "constant" lines
instead of handling "typed-constant".
* conform/data/signal.h-data: Use "constant" instead of
"typed-constant".
* conform/conformtest.pl: Handle "optional-" at start of lines in
one place rather than duplicating several cases. Handle each
format of "macro" line with initial "optional-".
* conform/conformtest.pl: Only accept expected constant or
optional-constant values with "==". Parse all "constant" lines in
one place. Parse all "optional-constant" lines in one place.
* conform/data/cpio.h-data: Use "==" form on "constant" lines.
* conform/data/fmtmsg.h-data: Likewise.
* conform/data/netinet/in.h-data: Likewise.
* conform/data/tar.h-data: Likewise.
* conform/data/limits.h-data: Use "==" form on "constant" and
"optional-constant" lines.
* conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
Use -std=c99 for XOPEN2K.
(@knownproblems): Remove.
(newtoken): Don't check %isknown.
* conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
Do not expect macro.
[XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
[XPG3 || XPG4 || UNIX98] (isinf): Likewise.
[XPG3 || XPG4 || UNIX98] (isnan): Likewise.
[XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
[XPG3 || XPG4 || UNIX98] (signbit): Likewise.
[XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
[XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
[XPG3 || XPG4 || UNIX98] (isless): Likewise.
[XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
[XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
[XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
[XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
[XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
[XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
[XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
[XPG3 || XPG4 || UNIX98] (NAN): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
[XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
[XPG3 || XPG4 || UNIX98] (copysign): Likewise.
[XPG3 || XPG4 || UNIX98] (exp2): Likewise.
[XPG3 || XPG4 || UNIX98] (log2): Likewise.
[XPG3 || XPG4 || UNIX98] (tgama): Likewise.
[XPG3] (acosh): Likewise.
[XPG3] (asinh): Likewise.
[XPG3] (atanh): Likewise.
[XPG3] (cbrt): Likewise.
[XPG3] (expm1): Likewise.
[XPG3] (ilogb): Likewise.
[XPG3] (log1p): Likewise.
[XPG3] (logb): Likewise.
[XPG3] (nextafter): Likewise.
[XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
[XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
[XPG3] (remainder): Likewise.
[XPG3] (rint): Likewise.
[XPG3 || XPG4 || UNIX98] (round): Likewise.
[XPG3 || XPG4 || UNIX98] (trunc): Likewise.
[XPG3 || XPG4 || UNIX98] (lrint): Likewise.
[XPG3 || XPG4 || UNIX98] (llrint): Likewise.
[XPG3 || XPG4 || UNIX98] (lround): Likewise.
[XPG3 || XPG4 || UNIX98] (llround): Likewise.
[XPG3 || XPG4 || UNIX98] (remquo): Likewise.
[UNIX98 || XOPEN2K] (scalb): Expect.
[XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
[XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
[XPG3 || XPG4 || UNIX98] (fdim): Likewise.
[XPG3 || XPG4 || UNIX98] (fmax): Likewise.
[XPG3 || XPG4 || UNIX98] (fmin): Likewise.
[XPG3 || XPG4 || UNIX98] (fma): Likewise.
[XPG3 || XPG4 || UNIX98] (nan): Likewise.
[XPG3 || XPG4 || UNIX98] (acosf): Likewise.
[XPG3 || XPG4 || UNIX98] (asinf): Likewise.
[XPG3 || XPG4 || UNIX98] (atanf): Likewise.
[XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
[XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
[XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
[XPG3 || XPG4 || UNIX98] (cosf): Likewise.
[XPG3 || XPG4 || UNIX98] (coshf): Likewise.
[XPG3 || XPG4 || UNIX98] (expf): Likewise.
[XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
[XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
[XPG3 || XPG4 || UNIX98] (floorf): Likewise.
[XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
[XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
[XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
[XPG3 || XPG4 || UNIX98] (logf): Likewise.
[XPG3 || XPG4 || UNIX98] (log10f): Likewise.
[XPG3 || XPG4 || UNIX98] (log2f): Likewise.
[XPG3 || XPG4 || UNIX98] (modff): Likewise.
[XPG3 || XPG4 || UNIX98] (powf): Likewise.
[XPG3 || XPG4 || UNIX98] (sinf): Likewise.
[XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
[XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
[XPG3 || XPG4 || UNIX98] (tanf): Likewise.
[XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
[XPG3 || XPG4 || UNIX98] (erff): Likewise.
[XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
[XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
[XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
[XPG3 || XPG4 || UNIX98] (j0f): Likewise.
[XPG3 || XPG4 || UNIX98] (j1f): Likewise.
[XPG3 || XPG4 || UNIX98] (jnf): Likewise.
[XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
[XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
[XPG3 || XPG4 || UNIX98] (y0f): Likewise.
[XPG3 || XPG4 || UNIX98] (y1f): Likewise.
[XPG3 || XPG4 || UNIX98] (ynf): Likewise.
[XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
[XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
[XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
[XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
[XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
[XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
[XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
[XPG3 || XPG4 || UNIX98] (logbf): Likewise.
[XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
[XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
[XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
[XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
[XPG3 || XPG4 || UNIX98] (rintf): Likewise.
[XPG3 || XPG4 || UNIX98] (roundf): Likewise.
[XPG3 || XPG4 || UNIX98] (truncf): Likewise.
[XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
[XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
[XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
[XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
[XPG3 || XPG4 || UNIX98] (remquof): Likewise.
[XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
[XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
[XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
[XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
[XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
[XPG3 || XPG4 || UNIX98] (fminf): Likewise.
[XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
[XPG3 || XPG4 || UNIX98] (nanf): Likewise.
[XPG3 || XPG4 || UNIX98] (acosl): Likewise.
[XPG3 || XPG4 || UNIX98] (asinl): Likewise.
[XPG3 || XPG4 || UNIX98] (atanl): Likewise.
[XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
[XPG3 || XPG4 || UNIX98] (ceill): Likewise.
[XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
[XPG3 || XPG4 || UNIX98] (cosl): Likewise.
[XPG3 || XPG4 || UNIX98] (coshl): Likewise.
[XPG3 || XPG4 || UNIX98] (expl): Likewise.
[XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
[XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
[XPG3 || XPG4 || UNIX98] (floorl): Likewise.
[XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
[XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
[XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
[XPG3 || XPG4 || UNIX98] (logl): Likewise.
[XPG3 || XPG4 || UNIX98] (log10l): Likewise.
[XPG3 || XPG4 || UNIX98] (log2l): Likewise.
[XPG3 || XPG4 || UNIX98] (modfl): Likewise.
[XPG3 || XPG4 || UNIX98] (powl): Likewise.
[XPG3 || XPG4 || UNIX98] (sinl): Likewise.
[XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
[XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
[XPG3 || XPG4 || UNIX98] (tanl): Likewise.
[XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
[XPG3 || XPG4 || UNIX98] (erfl): Likewise.
[XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
[XPG3 || XPG4 || UNIX98] (gammal): Likewise.
[XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
[XPG3 || XPG4 || UNIX98] (j0l): Likewise.
[XPG3 || XPG4 || UNIX98] (j1l): Likewise.
[XPG3 || XPG4 || UNIX98] (jnl): Likewise.
[XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
[XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
[XPG3 || XPG4 || UNIX98] (y0l): Likewise.
[XPG3 || XPG4 || UNIX98] (y1l): Likewise.
[XPG3 || XPG4 || UNIX98] (ynl): Likewise.
[XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
[XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
[XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
[XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
[XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
[XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
[XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
[XPG3 || XPG4 || UNIX98] (logbl): Likewise.
[XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
[XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
[XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
[XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
[XPG3 || XPG4 || UNIX98] (rintl): Likewise.
[XPG3 || XPG4 || UNIX98] (roundl): Likewise.
[XPG3 || XPG4 || UNIX98] (truncl): Likewise.
[XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
[XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
[XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
[XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
[XPG3 || XPG4 || UNIX98] (remquol): Likewise.
[XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
[XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
[XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
[XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
[XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
[XPG3 || XPG4 || UNIX98] (fminl): Likewise.
[XPG3 || XPG4 || UNIX98] (fmal): Likewise.
[XPG3 || XPG4 || UNIX98] (nanl): Likewise.
* conform/conformtest.pl: Define _XOPEN_SOURCE as well as
_XOPEN_SOURCE_EXTENDED for XPG4.
* conform/conformtest.pl: Handle "symbol" lines for allow-header.
* Makeconfig (localtime): Remove variable.
(inst_localtime-file): Likewise.
2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
Update.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
Update.
2012-05-01 Joseph Myers <joseph@codesourcery.com>
[BZ #2550]
[BZ #2570]
* math/s_nexttowardf.c (__nexttowardf): Use floating-point
comparisons to determine direction to adjust input.
* sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
* sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
* sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
Likewise.
* sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
Likewise.
* sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
* sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
Likewise.
* sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
Likewise.
* math/libm-test.inc (nexttoward_test): Add more tests.
2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
[BZ #14040]
* sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
in version GLIBC_2.1, not GLIBC_2.0.
* sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
Likewise.
2012-04-30 Joseph Myers <joseph@codesourcery.com>
[BZ #13942]
* sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
(1 - x) * (1 + x).
* sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
* sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
* math/libm-test.inc (acos_test): Add more tests.
(asin_test): Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
[BZ #14034]
* sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
of square root.
* sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
* sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
* math/libm-test.inc (acos_test_tonearest): New function.
(acos_test_towardzero): Likewise.
(acos_test_downward): Likewise.
(acos_test_upward): Likewise.
(asin_test_tonearest): Likewise.
(asin_test_towardzero): Likewise.
(asin_test_downward): Likewise.
(asin_test_upward): Likewise.
(main): Call the new functions.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
[BZ #13884]
[BZ #13924]
* math/e_exp10.c: Include <float.h>.
(__ieee754_exp10): Handle underflow here rather than multiplying
large negative argument by M_LN10.
* math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
of __ieee754_expf.
* math/e_exp10l.c: Include <float.h>.
(__ieee754_exp10l): Handle underflow here rather than multiplying
large negative argument by M_LN10l.
* math/libm-test.inc (exp10_test): Add another test. Do not allow
spurious overflow exception on underflow.
2012-04-29 Marek Polacek <polacek@redhat.com>
* misc/sys/cdefs.h (__attribute_artificial__): New macro.
(__fortify_function): New macro.
(__extern_always_inline): Don't use __attribute__ ((__artificial__)).
* libio/bits/stdio-ldbl.h: Use __fortify_function in place of
__extern_always_inline.
* libio/bits/stdio2.h: Likewise.
* libio/bits/stdio.h: Likewise.
* string/string.h: Likewise.
* string/bits/string3.h: Likewise.
* include/stdio.h: Likewise.
* stdlib/bits/stdlib.h: Likewise.
* stdlib/stdlib.h: Likewise.
* rt/bits/mqueue2.h: Likewise.
* rt/mqueue.h: Likewise.
* posix/bits/unistd.h: Likewise.
* posix/unistd.h: Likewise.
* io/bits/poll2.h: Likewise.
* io/bits/fcntl2.h: Likewise.
* io/fcntl.h: Likewise.
* io/sys/poll.h: Likewise.
* misc/bits/syslog.h: Likewise.
* misc/bits/syslog-ldbl.h: Likewise.
* misc/sys/syslog.h: Likewise.
* socket/bits/socket2.h: Likewise.
* socket/sys/socket.h: Likewise.
* debug/tst-chk1.c: Likewise.
* wcsmbs/bits/wchar2.h: Likewise.
* wcsmbs/bits/wchar-ldbl.h: Likewise.
* wcsmbs/wchar.h: Likewise.
2012-04-29 Andreas Jaeger <aj@suse.de>
* Makerules (tests): Remove enable-check-abi protection.
(check-abi-warn): Remove.
(check-abi-%): Remove check-abi-warn usage.
* configure.in: Remove check-abi configure option.
* configure: Regenerated.
* config.make.in (enable-check-abi): Remove.
2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
[BZ #14033]
* math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
double functions to double *_finite functions.
[BZ #13941]
* sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
(__mpn_extract_long_double): Use DBL_MIN_EXP instead of
LDBL_MIN_EXP.
* stdio-common/Makefile (tests): Add tst-sprintf3.
* stdio-common/tst-sprintf3.c: New file.
* elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2012-04-28 Joseph Myers <joseph@codesourcery.com>
* conform/conformtest.pl: Remove duplicate typed-constant
handling.
2012-04-28 David S. Miller <davem@davemloft.net>
* Makerules (%.abilist): Add vpath on sysdep_dirs.
(check-abi-%): Remove AWK script prerequisite and explicit
abilist directory.
(check-abi): Rewrite to just diff the symlist with the abilist.
(config-tls, config-abi-config): Delete, no longer used.
(update-abi-%): Remove AWK script and explicit abilist directory.
(update-abi): Rewrite to simply compare and conditionally copy the
symlist and the sysdep abilist file. Remove update-abi-config
checks.
* abilist/ld.abilist: Remove.
* abilist/libBrokenLocale.abilist: Remove.
* abilist/libanl.abilist: Remove.
* abilist/libcrypt.abilist: Remove.
* abilist/libdl.abilist: Remove.
* abilist/librt.abilist: Remove.
* abilist/libthread_db.abilist: Remove.
* abilist/libutil.abilist: Remove.
* scripts/extract-abilist.awk: Remove.
* scripts/merge-abilist.awk: Remove.
* sysdeps/generic/libcidn.abilist: New file.
* sysdeps/generic/libnss_compat.abilist: New file.
* sysdeps/generic/libnss_db.abilist: New file.
* sysdeps/generic/libnss_dns.abilist: New file.
* sysdeps/generic/libnss_files.abilist: New file.
* sysdeps/generic/libnss_hesiod.abilist: New file.
* sysdeps/generic/libnss_nis.abilist: New file.
* sysdeps/generic/libnss_nisplus.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
file.
* sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
* sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
file.
* sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
file.
* sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
file.
* sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
file.
* sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
* sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
file.
2012-04-28 Joseph Myers <joseph@codesourcery.com>
* conform/conformtest.pl: Fix typo in handling typed-constant from
allow-header.
2012-04-27 Joseph Myers <joseph@codesourcery.com>
* README: Cut down references to pre-2.6 Linux kernels and
Linuxthreads. Update lists of configurations in libc and ports
and sort alphabetically. Say "or newer" with Linux kernel version
requirements.
* config.h.in [IS_IN_build]: Allow compiling without optimization.
2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
[BZ #887]
* math/libm-test.inc (logb_test_downward): New test to expose
erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
rounding mode.
2012-04-27 Joseph Myers <joseph@codesourcery.com>
[BZ #14027]
* math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
to be done.
* math/fraiseexcpt.c (__feraiseexcept): Likewise.
* math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2012-04-26 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/i386/brk.S: Remove file.
* sysdeps/unix/i386/dl-brk.S: Likewise.
* sysdeps/unix/i386/pipe.S: Likewise.
* sysdeps/unix/i386/sigreturn.S: Likewise.
* sysdeps/unix/i386/syscall.S: Likewise.
* sysdeps/unix/i386/vfork.S: Likewise.
* sysdeps/unix/i386/wait.S: Likewise.
* sysdeps/unix/common/tcsendbrk.c: Move to ...
* sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
* configure.in (arm*-none*): Do not allow without
--enable-hacker-mode.
(netbsd*): Remove case setting base_os.
(386bsd*): Likewise.
(freebsd*): Likewise.
(bsdi*): Likewise.
(osf*): Likewise.
(sunos*): Likewise.
(ultrix*): Likewise.
(newsos*): Likewise.
(dynix*): Likewise.
(*bsd*): Likewise.
(sysv*): Likewise.
(isc*): Likewise.
(esix*): Likewise.
(sco*): Likewise.
(minix*): Likewise.
(irix4*): Likewise.
(irix6*): Likewise.
(solaris[2-9]*): Likewise.
(none): Likewise.
* configure: Regenerated.
2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #11521]
* sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
overflow or cancellation in calculating denominator.
* sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
down expression to avoid unexpected rounding in newer GCCs.
* sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2012-04-26 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
long-double compat symbols.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2012-04-25 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
HWCAP_* values only after the memory barriers have been defined.
(atomic_full_barrier): Define.
(atomic_read_barrier): Define.
(atomic_write_barrier): Define.
2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
* shlib-versions: Add libgcc_s version information.
* sysdeps/generic/libgcc_s.h: Remove.
* sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
libgcc_s.h.
* sysdeps/gnu/unwind-resume.c: Likewise.
* scripts/test-installation.pl: Remove libgcc_s from link_libs.
2012-04-25 David S. Miller <davem@davemloft.net>
* sysdeps/unix/sparc/brk.S: Delete.
* sysdeps/unix/sparc/dl-brk.S: Delete.
* sysdeps/unix/sparc/pipe.S: Delete.
* sysdeps/unix/sparc/sysdep.S: Delete.
* sysdeps/unix/sparc/sysdep.h: Delete.
* sysdeps/unix/sparc/vfork.S: Delete.
* sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
* sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
ret_ERRVAL, r0, r1, MOVE): Define.
(JUMPTARGET): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
sysdeps/unix/sparc/sysdep.h
(ENTRY, END): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2012-04-25 Joseph Myers <joseph@codesourcery.com>
* Makerules (native-compile): Use $(BUILD_LDFLAGS).
(ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
-DIS_IN_build.
* timezone/README: Update upstream location and email address for
tzcode and tzdata.
* timezone/zdump.c: Update from tzcode 2012b.
* timezone/zic.c: Likewise.
* configure.in (libc_cv_as_needed): Remove test.
* configure: Regenerated.
* Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
conditional definition.
[$(have-as-needed) != yes] (no-as-needed): Likewise.
[$(have-as-needed) != yes] (libgcc_eh): Likewise.
* config.make.in (have-as-needed): Remove variable.
2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
Paul Pluzhnikov <ppluzhnikov@google.com>
* elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
strings correctly.
2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
* sysdeps/sh/memcpy.S: Remove include of endian.h, change
preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
* sysdeps/sh/strlen.S: Likewise.
2012-04-24 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/fork.S: Remove file.
* sysdeps/unix/i386/fork.S: Likewise.
* sysdeps/unix/sparc/fork.S: Likewise.
* sysdeps/unix/system.c: Remove file.
* sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
* sysdeps/unix/getegid.S: Remove file.
* sysdeps/unix/geteuid.S: Likewise.
2012-04-24 Roland McGrath <roland@hack.frob.com>
* scripts/check-localplt.awk: New file.
* elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
of diff.
* scripts/data/localplt-generic.data: Add a comment.
* sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
NODE when __dir_mkfile failed.
* sysdeps/mach/hurd/symlinkat.c: Likewise.
Reported by Ludovic Courtès <ludo@gnu.org>.
2012-04-24 Andreas Jaeger <aj@suse.de>
* Makerules (common-clean): Also remove gen-as-const-headers
files.
2012-04-24 Joseph Myers <joseph@codesourcery.com>
* Makerules (native-compile): Do not change working directory for
build. Use $(OUTPUT_OPTION) in command.
(ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #13886]
* sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
* math/libm-test.inc (floor_test): Add more tests.
* sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2012-04-24 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/getdents.c: Remove file.
* sysdeps/unix/sysv/getdents.c: Likewise.
* sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
* sysdeps/unix/syscalls.list (madvise): Add syscall from
sysdeps/unix/mman/syscalls.list.
(mmap): Likewise.
(mprotect): Likewise.
(msync): Likewise.
(munmap): Likewise.
* sysdeps/unix/bsd/bsd4.4/Implies: Remove.
* sysdeps/unix/mman/syscalls.list: Remove.
* sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
* configure.in (libc_cv_libgcc_s_suffix): Remove test.
(libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
* configure: Regenerated.
* Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
$(libgcc_s_suffix).
* config.make.in (libgcc_s_suffix): Remove variable.
2012-04-23 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/gethostname.c: Move to ...
* sysdeps/posix/gethostname.c: ... here.
* sysdeps/unix/execve.S: Remove file.
* sysdeps/unix/_exit.S: Remove file.
2012-04-23 Andreas Jaeger <aj@suse.de>
[BZ #13739]
* manual/Makefile: Remove make dist support, there's no
need for a stand-alone documentation tar ball.
(TEXI2DVI): Define always, it's not in Makeconfig.
(dist): Removed.
(tar-it): Removed.
(edition): Removed.
(glibc-doc-$(edition).tar): Removed
(%.Z): Removed.
(%.gz): Removed.
(%.uu): Removed.
(ETAGS): Remove, it's in Makeconfig.
(move-if-change): Remove, it's in Makeconfig.
2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
[BZ #13970]
* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
(strtod, strtof, strtold, strtol, strtoul, strtoq)
(strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
(strtod_l, strtof_l, strtold_l): Remove __wur.
It is not necessarily an error to ignore strtol's return value.
One can reliably look at the stored endptr to decide whether
the number had valid syntax.
2012-04-21 Andreas Jaeger <aj@suse.de>
[BZ #13739]
* sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2012-04-21 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
* sysdeps/unix/sysv/Versions: Remove file.
2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
[BZ #13927]
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012-04-21 Nick Alcock <nick.alcock@oracle.com>
[BZ #7064]
* sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
version from __vm86.
2012-04-20 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/common/lxstat.c: Remove file.
* sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
* sysdeps/unix/sysv/Makefile: Remove file.
* sysdeps/unix/sysv/direct.h: Remove file.
* sysdeps/unix/sysv/bits/dirent.h: Remove file.
* sysdeps/unix/sysv/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/bits/local_lim.h: Likewise.
* sysdeps/unix/sysv/bits/signum.h: Likewise.
* sysdeps/unix/sysv/bits/stat.h: Likewise.
* sysdeps/unix/sysv/bits/utmp.h: Likewise.
* sysdeps/unix/sysv/bits/utsname.h: Likewise.
* sysdeps/unix/sysv/setrlimit.c: Remove file.
* sysdeps/unix/xmknod.c: Remove file.
* sysdeps/unix/syscalls.list (sys_mknod): Remove.
* sysdeps/unix/sysv/settimeofday.c: Remove file.
* sysdeps/unix/sysv/i386/time.S: Remove file.
* sysdeps/unix/fxstat.c: Remove file.
* sysdeps/unix/xstat.c: Likewise.
* sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
* sysdeps/unix/sysv/sigaction.c: Remove file.
* sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
(sysdep_headers): Remove variable.
[termio.h not in sysdep_headers] (generated): Likewise.
[termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
* sysdeps/unix/sysv/sysv_termio.h: Remove file.
* sysdeps/unix/sysv/tcdrain.c: Likewise.
* sysdeps/unix/sysv/tcflow.c: Likewise.
* sysdeps/unix/sysv/tcflush.c: Likewise.
* sysdeps/unix/sysv/tcgetattr.c: Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
* sysdeps/unix/sysv/tcsendbrk.c: Likewise.
* sysdeps/unix/sysv/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
* sysdeps/unix/siglist.c: Remove file.
* sysdeps/unix/getppid.S: Remove file.
* sysdeps/unix/mkdir.c: Remove file.
* sysdeps/unix/rmdir.c: Likewise.
2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/gnu/errlist-compat.awk (END): Correct computation of
ERR_MAX value.
* sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
errlist-compat value.
2012-04-18 David S. Miller <davem@davemloft.net>
* sysdeps/generic/memcopy.h (reg_char): Delete.
* debug/strcat_chk.c: Use char, not reg_char.
* debug/strcpy_chk.c: Likewise.
* debug/strncat_chk.c: Likewise.
* debug/strncpy_chk.c: Likewise.
* string/memchr.c: Likewise.
* string/memrchr.c: Likewise.
* string/rawmemchr.c: Likewise.
* string/strcat.c: Likewise.
* string/strchr.c: Likewise.
* string/strchrnul.c: Likewise.
* string/strcmp.c: Likewise.
* string/strcpy.c: Likewise.
* string/strncat.c: Likewise.
* string/strncmp.c: Likewise.
* string/strncpy.c: Likewise.
2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
* sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
__builtin_memcopy is called when src and dest ranges are known to not
overlap.
2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
* sysdeps/powerpc/powerpc64/power6/wordcopy.c
(_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
fwd_align_merge macro call.
(_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
bwd_align_merge macro call.
* sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
* sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
bwd_align_merge macros.
(_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
(_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
* sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2012-04-18 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc64/memcopy.h: Delete.
2012-04-18 Andreas Jaeger <aj@suse.de>
[BZ# 6794]
* sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
* sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
* sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
* sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
* sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
Adjust for changed ldbl-128 files.
* sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
* sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2012-04-17 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/memcopy.h: Delete.
2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
* sysdeps/i386/fpu/e_ilogbf.S: Likewise.
* sysdeps/i386/fpu/e_ilogbl.S: Likewise.
* sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
* sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
* sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #6794]
* math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
* math/libm-test.inc: Add ilogb errno and exception tests.
* math/w_ilogb.c: New file: ilogb wrapper.
* math/w_ilogbf.c: New file: ilogbf wrapper.
* math/w_ilogbl.c: New file: ilogbl wrapper.
* sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
* sysdeps/i386/fpu/s_ilogb.S: Moved to ...
* sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
exception being thrown with 0.0 as argument.
* sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
* sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
exception being thrown with 0.0 as argument.
* sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
* sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
exception being thrown with 0.0 as argument.
* sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
* sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
exception being thrown with 0.0 as argument.
* sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
* sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
* sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
* sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
* sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
* sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
* sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
* sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
* sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2012-04-17 Petr Baudis <pasky@ucw.cz>
* include/sys/uio.h: Change __vector to __iovec to avoid clash
with altivec.
2012-04-16 Marek Polacek <polacek@redhat.com>
* elf/pldd-xx.c: Rename static_assert to pldd_assert.
2012-04-16 Marek Polacek <polacek@redhat.com>
* sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
operands of fdivp instruction.
2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
* elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
* elf/tst-auditmod3b.c: Likewise.
* elf/tst-auditmod4b.c: Likewise.
* elf/tst-auditmod5b.c: Likewise.
* elf/tst-auditmod6b.c: Likewise.
* elf/tst-auditmod6c.c: Likewise.
* elf/tst-auditmod7b.c: Likewise.
* sysdeps/x86_64/ffsll.c (ffsl): Likewise.
* sysdeps/x86_64/preconfigure.in: Likewise.
* sysdeps/x86_64/preconfigure: Regenerated.
2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
__ILP32__.
2012-04-13 Antoine Balestrat <merkil33@gmail.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
(__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
[BZ #13973]
* locale/iso-639.def: Fix gl language name. Spotted by
Yaron Shahrabani.
2012-04-12 Roland McGrath <roland@hack.frob.com>
[BZ #2074]
* libio/libio.h (__io_write_fn): Update comment.
2012-04-12 Petr Baudis <pasky@ucw.cz>
[BZ #2074]
* stdio.texi (Hook Functions): The user provided writer function
is not allowed to return -1.
2012-04-11 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-04-11 Mike Frysinger <vapier@gentoo.org>
* .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
Add a leading slash to rtkaio.
2012-04-11 Jim Meyering <meyering@redhat.com>
[BZ #11959]
* libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
It is not necessarily an error to ignore fwrite's return
value. One can reliably use ferror to test for errors after
the fact.
2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
* bits/types.h (__snseconds_t): New type.
* time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
* bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
(__SNSECONDS_T_TYPE): Likewise.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h
(__SNSECONDS_T_TYPE): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
(__SNSECONDS_T_TYPE): Likewise.
2012-04-10 Andreas Jaeger <aj@suse.de>
[BZ #2636]
* manual/time.texi (Processor Time): Return type of times is
elapsed real time since an arbitrary point in the past.
(CPU Time): Move CLK_TCK from here...
(Processor Time): ...to here. Correct description.
* manual/conf.texi (Constants for Sysconf): Correct description of
_SC_CLK_TCK.
2012-04-10 David S. Miller <davem@davemloft.net>
[BZ #13967]
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
where the is a gap between DT_REL(A) and DT_JMPREL.
2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
(__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
(__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
* elf/dl-support.c (_dl_inhibit_cache): New variable.
* elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
(dl_main): Handle --inhibit-cache.
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
_dl_inhibit_cache.
* elf/dl-load.c (_dl_map_object): Use it.
* elf/Makefile: Define SYSCONFDIR when building rtld.c.
2012-04-09 Joseph Myers <joseph@codesourcery.com>
[BZ #13872]
* sysdeps/i386/fpu/e_powl.S (p78): New object.
(__ieee754_powl): Saturate large exponents rather than testing for
overflow of y*log2(x).
* sysdeps/x86_64/fpu/e_powl.S: Likewise.
* math/libm-test.inc (pow_test): Do not permit spurious overflow
exceptions.
[BZ #11521]
* math/s_ctan.c: Include <float.h>.
(__ctan): Avoid internal overflow or cancellation in calculating
denominator.
* math/s_ctanf.c: Likewise.
* math/s_ctanl.c: Likewise.
* math/s_ctanh.c: Likewise.
* math/s_ctanhf.c: Likewise.
* math/s_ctanhl.c: Likewise.
* math/libm-test.inc (ctan_test): Add more tests.
(ctanh_test): Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2012-04-09 Andreas Jaeger <aj@suse.de>
[BZ #6894]
* manual/filesys.texi (Directory Entries): Mention that d_namlen
is an optional BSD extension.
[BZ #10254]
* manual/stdio.texi (Opening Streams): Document additional fopen
parameters.
2012-04-09 Roland McGrath <roland@hack.frob.com>
* sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
%eax without telling the compiler.
2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
[BZ # 13963]
* manual/install.texi: Use sourceware.org.
2012-04-09 Joseph Myers <joseph@codesourcery.com>
[BZ #13873]
* sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
(__ieee754_pow): Generate overflow and underflow using huge*huge
and tiny*tiny rather than just returning constant infinity or zero
for large exponents.
* math/libm-test.inc (pow_test): Require overflow exceptions for
applicable cases of large exponents.
[BZ #706]
* sysdeps/i386/fpu/e_pow.S (p10): New object.
(__ieee754_pow): Use iterative multiplication algorithm only for
integer exponents with absolute value below 1024. Check for odd
integer exponents when using algorithm for real exponents.
* math/libm-test.inc (pow_test): Add more tests.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012-04-08 Joseph Myers <joseph@codesourcery.com>
[BZ #13705]
* math/libm-test.inc (exp_test): Do not allow overflow exception
on underflow test.
2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
[BZ #13705]
* sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
instead of __kernel_standard_f.
2012-04-08 Mike Frysinger <vapier@gentoo.org>
* sysdeps/i386/i686/memset_chk.S: Update copyright year.
* sysdeps/x86_64/memset_chk.S: Likewise.
2012-04-08 Andreas Jaeger <aj@suse.de>
[BZ #10153]
* manual/startup.texi (Environment Access): Describe return value
for putenv and setenv.
[BZ #6895]
* manual/filesys.texi (Directory Entries): Add description for
DT_LNK.
[BZ #6890]
* manual/filesys.texi (Directory Entries): Clarify that it's file
system not operating system in the description of DT_UNKNOWN.
[BZ #6578]
* manual/syslog.texi (closelog): Fix reference, it's openlog.
2012-04-08 Stephen Compall <s11@member.fsf.org>
[BZ #6649]
* manual/llio.texi (Opening and Closing Files): Add cross
reference to explain mode argument.
2012-04-07 Mike Frysinger <vapier@gentoo.org>
* sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
* sysdeps/x86_64/memset_chk.S: Likewise.
2012-04-07 David S. Miller <davem@davemloft.net>
* elf/elf.h (R_SPARC_WDISP10): Define.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
R_SPARC_SIZE32.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
R_SPARC_SIZE64 and R_SPARC_H34.
2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
conditions and remove no longer applicable assertion.
2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
* bits/byteswap.h: Include <features.h>.
(__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
(__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
* bits/byteswap.h (__bswap_16): Removed.
Include <bits/byteswap-16.h> to get __bswap_16.
* sysdeps/i386/bits/byteswap.h: Likewise.
* sysdeps/s390/bits/byteswap.h: Likewise.
* sysdeps/x86_64/bits/byteswap.h: Likewise.
* bits/byteswap-16.h: New file.
* sysdeps/i386/bits/byteswap-16.h: Likewise.
* sysdeps/s390/bits/byteswap-16.h: Likewise.
* sysdeps/x86_64/bits/byteswap-16.h: Likewise.
* string/Makefile (headers): Add bits/byteswap-16.h.
2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #13895]
* nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
extra indirection.
* nss/Makefile (tests-static, tests): Add tst-nss-static.
* nss/tst-nss-static.c: New.
2012-04-06 Robert Millan <rmh@gnu.org>
[BZ #6486]
* manual/llio.texi (File Position Primitive): lseek
refers to WHENCE when it really means OFFSET.
2012-04-06 Andreas Jaeger <aj@suse.de>
* nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
strncmp declarations.
* abilist/libc.abilist: Add __poll and __ppoll.
2012-04-05 David S. Miller <davem@davemloft.net>
* scripts/check-local-headers.sh: Accept a host triplet in the
path matched by the exclude regexp.
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
definition.
* sysdeps/powerpc/powerpc32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Delete.
* sysdeps/s390/s390-32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h
(ELF_MACHINE_PLTREL_OVERLAP): Likewise.
* elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
lazy binding.
* elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
undefined symbol errors.
* elf/rtld.c (dl_main): Skip VDSO when checking for unused
DT_NEEDED entries.
2012-04-05 Michael Matz <matz@suse.de>
[BZ #13592]
* sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2012-04-05 Andreas Jaeger <aj@suse.de>
[BZ #13908]
* stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
comment.
2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
which ROUND is no valid rounding mode.
2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
read again.
* sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
an exception using FPU order intentionally.
2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
* sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
* sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
* sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2012-04-05 Simon Josefsson <simon@josefsson.org>
[BZ #12340]
* sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
EINVAL when BUFLEN is too smal.
2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
[BZ #13553]
* sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
* sysdeps/mach/powerpc/machine-lock.h: Likewise.
2012-04-03 Andreas Jaeger <aj@suse.de>
[BZ #13938]
* manual/setjmp.texi (System V contexts): Fix sentence.
[BZ #13926]
* sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
New macro for this case.
[!__GNUC__] (__bswap_64): New inline function for this case.
* sysdeps/x86_64/bits/byteswap.h: Likewise.
* bits/byteswap.h: Likewise.
* sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
ull, guard with __GLIBC_HAVE_LONG_LONG.
* string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
__GLIBC_HAVE_LONG_LONG.
* string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
[BZ #13691]
* iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
inptr and inend, rather than using last_ch.
2012-04-02 David S. Miller <davem@davemloft.net>
With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
* stdio-common/printf-parse.h (read_int): Change return type to
'int', return -1 on INT_MAX overflow.
* stdio-common/vfprintf.c (vfprintf): Validate width and precision
against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
overflows INT_MAX. Check for overflow of in-format-string precision
values properly. Use EOVERFLOW rather than ERANGE throughout. Use
SIZE_MAX not INT_MAX for integer overflow test.
* stdio-common/printf-parsemb.c: If read_int signals an overflow,
skip the construct in the format string but do not record anything.
* stdio-common/bug22.c: Adjust to test both width/prevision
INT_MAX overflow as well as total length INT_MAX overflow. Check
explicitly for proper errno values.
2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
* string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
CHAR_MAX.
* string/test-strcmp.c [! WIDE]: Likewise.
* time/tst-mktime2.c: Likewise for INT_MAX.
* string/test-string.h: #include <sys/param.h> for MIN.
* csu/init-first.c (__libc_init_first): Call __ctype_init.
* sysdeps/i386/init-first.c (init): Likewise.
* sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
* sysdeps/sh/init-first.c (init): Likewise.
2012-04-01 Ulrich Drepper <drepper@gmail.com>
* po/ru.po: Update from translation team.
* po/vi.po: Likewise.
2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
* resolv/nss_dns/dns-host.c: Merge copyright years.
2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
* sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
Optimize memcpy with prefetch if
DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
src, dst pointers have unequal 16 byte alignments.
2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #13928]
* resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
from a CNAME entry and return the minimum ttl for the query.
(gaih_getanswer_slice): Likewise.
2012-03-30 Jeff Law <law@redhat.com>
* crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
due to long keys.
* crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
* crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
* resolv/nss_dns/dns-host.c: Update copyright year.
2012-03-30 Ulrich Drepper <drepper@gmail.com>
* resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
requests to save a system call. Fix check that all bytes are sent.
* sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
comments for sendmmsg.
2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
[BZ #13691]
* iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
with only 1 character between 0x0041 and 0x01b0.
* wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
* wcsmbs/tst-mbsnrtowcs.c: New file.
2012-03-29 David S. Miller <davem@davemloft.net>
* libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
small copies by hand.
2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #13761]
* nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
_nss_compat_initgroups_dyn): Fall back to malloc/free
for large group memberships.
2012-03-28 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
that branches into memcpy.
* sysdeps/sparc/sparc64/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
bits.
* sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
implementation too.
* sysdeps/sparc/mempcpy.S: New file.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
the IFUNC routine in the libc case.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
* sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
* sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
* sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
* sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
* sysdeps/sparc/sparc64/rtld-memset.c: New file.
* sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
loop to 256 bytes instead of 64 bytes and fix test signedness.
* sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
* sysdeps/sparc/sparc32/Makefile: rather than here...
* sysdeps/sparc/sparc64/Makefile: and here.
2012-03-28 Ulrich Drepper <drepper@gmail.com>
* malloc/mallocbug.c: Avoid warnings about unused variables.
2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #13760]
* resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
in the right place. Discard and retry query if response is
larger than input buffer size.
2012-03-28 Joseph Myers <joseph@codesourcery.com>
[BZ #369]
[BZ #2678]
[BZ #3866]
* sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
x for large integer exponent.
* sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
* sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
sign of result as needed afterwards.
* sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
* sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
result for underflowing pow the same as for overflow.
(__kernel_standard_l): Handle powl overflow and underflow here
rather than calling __kernel_standard.
* math/libm-test.inc (pow_test): Add more tests.
[BZ #3868]
[BZ #13879]
[BZ #13910]
[BZ #13911]
[BZ #13912]
[BZ #13913]
[BZ #13915]
[BZ #13916]
[BZ #13917]
[BZ #13918]
[BZ #13919]
[BZ #13920]
[BZ #13921]
* sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
* sysdeps/ieee754/k_standard.c: Include <float.h>.
(__kernel_standard_l): New function.
* math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
__kernel_standard.
* math/w_acosl.c (__acosl): Likewise.
* math/w_asinl.c (__asinl): Likewise.
* math/w_atan2l.c (__atan2l): Likewise.
* math/w_atanhl.c (__atanhl): Likewise.
* math/w_coshl.c (__coshl): Likewise.
* math/w_exp10l.c (__exp10l): Likewise.
* math/w_exp2l.c (__exp2l): Likewise.
* math/w_fmodl.c (__fmodl): Likewise.
* math/w_hypotl.c (__hypotl): Likewise.
* math/w_j0l.c (__j0l, __y0l): Likewise.
* math/w_j1l.c (__j1l, __y1l): Likewise.
* math/w_jnl.c (__jnl, __ynl): Likewise.
* math/w_lgammal.c (__lgammal): Likewise.
* math/w_log10l.c (__log10l): Likewise.
* math/w_log2l.c (__log2l): Likewise.
* math/w_logl.c (__logl): Likewise.
* math/w_powl.c (__powl): Likewise.
* math/w_remainderl.c (__remainderl): Likewise.
* math/w_scalbl.c (sysv_scalbl): Likewise.
* math/w_sinhl.c (__sinhl): Likewise.
* math/w_sqrtl.c (__sqrtl): Likewise.
* math/w_tgammal.c (__tgammal): Likewise.
* sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
* sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
* math/libm-test.inc (acos_test): Add more tests.
(acosh_test): Likewise.
(asin_test): Likewise.
(atanh_test): Likewise.
(exp_test): Likewise.
(exp10_test): Likewise.
(exp2_test): Likewise.
(expm1_test): Likewise.
(lgamma_test): Likewise.
(log_test): Likewise.
(log10_test): Likewise.
(log1p_test): Likewise.
(log2_test): Likewise.
(pow_test): Do not allow some spurious overflow exceptions.
(sqrt_test): Add more tests.
(tgamma_test): Likewise.
(y0_test): Likewise.
(y1_test): Likewise.
(yn_test): Likewise.
2012-03-27 Anton Blanchard <anton@samba.org>
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
MAP_HUGETLB.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2012-03-27 David S. Miller <davem@davemloft.net>
* conform/Makefile: Run run-conformtest.sh using $(BASH).
* sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
have-as-vis3 check.
2012-03-27 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/elf/configure.in: Moved to ...
* sysdeps/x86_64/configure.in: ... here.
* sysdeps/x86_64/elf/start.S: Moved to ...
* sysdeps/x86_64/start.S: ... here.
* sysdeps/x86_64/elf/configure: Delete.
* sysdeps/x86_64/configure.in: Merge contents from
sysdeps/i386/configure.in (without i686 check).
* sysdeps/i386/elf/Versions: Merge into ...
* sysdeps/i386/Versions: ... this.
* sysdeps/i386/elf/Versions: Delete file.
* sysdeps/i386/elf/start.S: Moved to ...
* sysdeps/i386/start.S: ...here.
* sysdeps/i386/elf/configure.in: Merge into...
* sysdeps/i386/configure.in: ...here.
* sysdeps/i386/elf/configure.in: Delete file.
* sysdeps/i386/elf/configure: Delete file.
* sysdeps/generic/elf/backtracesyms.c: Moved to ...
* debug/backtracesyms.c: ... here.
* sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
* debug/backtracesymsfd.c: ... here.
* sysdeps/generic/elf/ifunc-sel.h: Moved to ...
* sysdeps/generic/ifunc-sel.h: ... here.
* sysdeps/unix/i386/start.c: Delete file.
* sysdeps/unix/sparc/start.c: Delete file.
* sysdeps/unix/start.c: Delete file.
* sysdeps/sh/elf/configure.in: Moved to ...
* sysdeps/sh/configure.in: ... here.
* sysdeps/sh/elf/start.S: Moved to ...
* sysdeps/sh/start.S: ... here.
* sysdeps/sh/elf/configure: Delete file.
* sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
* sysdeps/powerpc/powerpc64/bzero.S: ... here.
* sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
* sysdeps/powerpc/powerpc64/entry.h: ... here.
* sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
* sysdeps/powerpc/powerpc64/start.S: here.
* sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
* sysdeps/powerpc/powerpc64/Makefile: ... this.
* sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
* sysdeps/powerpc/powerpc64/configure.in: ... this.
* sysdeps/powerpc/powerpc64/elf/configure: Delete file.
* sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
* sysdeps/powerpc/powerpc32/bzero.S: ... here.
* sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
* sysdeps/powerpc/powerpc32/start.S: ... here.
* sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
* sysdeps/powerpc/powerpc32/configure.in: ... this.
* sysdeps/powerpc/powerpc32/elf/configure: Delete file.
* sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
* sysdeps/powerpc/ifunc-sel.h: ... here.
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
* sysdeps/powerpc/rtld-global-offsets.sym: ... here.
* sysdeps/sparc/elf/configure.in: Moved to ...
* sysdeps/sparc/configure.in: ... here.
* sysdeps/sparc/elf/configure: Delete file.
* sysdeps/sparc/sparc32/elf/start.S: Moved to ...
* sysdeps/sparc/sparc32/start.S: ... here.
* sysdeps/sparc/sparc64/elf/start.S: Moved to ...
* sysdeps/sparc/sparc64/start.S: ... here.
* sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
* sysdeps/sparc/sparc32/Makefile: ... this.
* sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
* sysdeps/sparc/sparc64/Makefile: ... this.
* sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
* sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
* sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
* sysdeps/s390/s390-32/setjmp.S: ... here.
* sysdeps/s390/s390-32/elf/configure.in: Moved to ...
* sysdeps/s390/s390-32/configure.in: ... here.
* sysdeps/s390/s390-32/elf/configure: Delete file.
* sysdeps/s390/s390-32/elf/start.S: Moved to ...
* sysdeps/s390/s390-32/start.S: ... here.
* sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
* sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
* sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
* sysdeps/s390/s390-64/setjmp.S: ... here.
* sysdeps/s390/s390-64/elf/configure.in: Moved to ...
* sysdeps/s390/s390-64/configure.in: ... here
* sysdeps/s390/s390-64/elf/configure: Delete file.
* sysdeps/s390/s390-64/elf/start.S: Moved to ...
* sysdeps/s390/s390-64/start.S: ... here.
* sysdeps/s390/s390-64/elf/configure: Delete.
* configure.in: Remove support for elf directories in sysdeps.
* configure: Regenerated.
* sysdeps/i386/configure: Regenerated.
* sysdeps/powerpc/powerpc32/configure: Regenerated.
* sysdeps/powerpc/powerpc64/configure: Regenerated.
* sysdeps/s390/s390-32/configure: Regenerated.
* sysdeps/s390/s390-64/configure: Regenerated.
* sysdeps/sh/configure: Regenerated.
* sysdeps/sparc/configure: Regenerated.
* sysdeps/x86_64/configure: Regenerated.
2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
denormal result into account.
2012-03-25 Roland McGrath <roland@hack.frob.com>
* posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
Reported by Allan McRae <allan@archlinux.org>.
2012-03-23 Jeff Law <law@redhat.com>
* nss/getnssent.c (__nss_getent): Fix typo.
2012-03-23 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
to pad to uint64_t for each field.
(dl_tls_index): Replace unsigned long with uint64_t.
2012-03-23 Daniel Jacobowitz <dmj@google.com>
Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #6528]
* grp/Makefile (otherlibs): Don't set it.
* inet/Makefile (otherlibs): Likewise.
* login/Makefile (otherlibs): Likewise.
* nscd/Makefile (otherlibs): Likewise.
* posix/Makefile (otherlibs): Likewise.
* pwd/Makefile (otherlibs): Likewise.
* rt/Makefile (otherlibs): Likewise.
* sunrpc/Makefile (otherlibs): Likewise.
* nss/Makefile (otherlibs): Likewise.
Add libnss_files to routines and static-only-routines.
($(objpfx)getent): Remove rule.
* resolv/Makefile: Add libnss_dns and libresolv to routines and
static-only-routines.
2012-03-22 Joseph Myers <joseph@codesourcery.com>
[BZ #13892]
* math/s_cexp.c: Include <float.h>.
(__cexp): Handle exp result overflowing not necessarily
overflowing both real and imaginary parts of result.
* math/s_cexpf.c: Likewise.
* math/s_cexpl.c: Likewise.
* math/libm-test.inc (cexp_test): Add more tests.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
* include/link.h (ELFW): New macro.
* sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
Replace ELF64_R_TYPE with ELFW(R_TYPE).
2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
with uint64_t.
2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
declaration.
(struct La_x32_retval): Likewise.
2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/preconfigure.in: New file.
* sysdeps/x86_64/preconfigure: New generated file.
2012-03-22 Joseph Myers <joseph@codesourcery.com>
[BZ #13824]
* math/e_exp2l.c: Include <float.h>.
(__ieee754_exp2l): Handle overflow and underflow cases
separately. Only pass fractional part of argument to
__ieee754_expl.
* math/libm-test.inc (exp2_test): Add more tests.
* sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
negating x to take absolute value.
* sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
Likewise.
* sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
* sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
Likewise.
* sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
computing low part if x was negated.
* sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
* elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
la_x32_gnu_pltexit.
(pltexit): Cast int_retval to ptrdiff_t.
* elf/tst-auditmod3b.c: Likewise.
* elf/tst-auditmod4b.c: Likewise.
* elf/tst-auditmod5b.c: Likewise.
* elf/tst-auditmod6b.c: Likewise.
* elf/tst-auditmod6c.c: Likewise.
* elf/tst-auditmod7b.c: Likewise.
* sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
and x32_gnu_pltexit.
* sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
__ELF_NATIVE_CLASS.
(La_x32_regs): New macro.
(La_x32_retval): Likewise.
(la_x32_gnu_pltenter): New function prototype.
(la_x32_gnu_pltexit): Likewise.
2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
exponent.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* configure.in (libc_cv_cc_nofma): Check for option to disable
generation of FMA instructions.
* configure: Regenerate.
* config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
* sysdeps/ieee754/dbl-64/Makefile: New file.
* sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
Remove brandred-fma4.
(CFLAGS-brandred-fma4.c): Remove.
* sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
* sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
define.
* sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
define.
2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
* stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
LLONG_MAX != LONG_MAX.
(_itoa_word): Use _ITOA_WORD_TYPE on value.
(_fitoa_word): Likewise.
* stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
LLONG_MAX != LONG_MAX.
* stdio-common/_itowa.h: Include <_itoa.h>.
(_itowa_word): Use _ITOA_WORD_TYPE on value.
(_itowa): New macro. Defined only if _ITOA_NEEDED is false.
* sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
only if not defined.
(_ITOA_WORD_TYPE): Likewise.
(_itoa_word): Use _ITOA_WORD_TYPE on value.
Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2012-03-21 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
of x86_64 when setting libc_cv_slibdir, libdir and
libc_cv_localedir.
* sysdeps/unix/sysv/linux/configure: Regenerated.
2012-03-21 Joseph Myers <joseph@codesourcery.com>
* manual/lang.texi (Old Varargs): Remove section.
(How Variadic): Update menu.
(va_start): Do not mention varargs.h.
2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
link test.
* configure: Regenerated.
2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
* conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
* conform/run-conformtest.sh: Pass --tmpdir argument when invoking
conformtest.pl
2012-03-21 Joseph Myers <joseph@codesourcery.com>
* NOTES: Remove.
* Makefile (files-for-dist): Remove NOTES.
(NOTES): Remove rule.
* README: Don't refer to NOTES.
* manual/creature.texi: Don't include macros.texi.
* manual/intro.texi (creature.texi): Remove comment referring to
NOTES.
* aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
* configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
* configure: Regenerated.
* sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
LIBC_TRY_CC_OPTION.
(libc_cv_as_i686): Likewise.
(libc_cv_cc_avx): Likewise.
(libc_cv_cc_sse2avx): Likewise.
(libc_cv_cc_fma4): Likewise.
(libc_cv_cc_novzeroupper): Likewise.
* sysdeps/i386/configure: Regenerated.
[BZ #13883]
* sysdeps/i386/fpu/s_cexp.S: Remove.
* sysdeps/i386/fpu/s_cexpf.S: Likewise.
* sysdeps/i386/fpu/s_cexpl.S: Likewise.
* math/libm-test.inc (cexp_test): Add more tests.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2012-03-21 Allan McRae <allan@archlinux.org>
* timezone/Makefile: Do not install iso3166.tab and zone.tab
2012-03-21 Joseph Myers <joseph@codesourcery.com>
[BZ #13871]
* math/w_exp2.c: Do not include <float.h>.
(o_threshold, u_threshold): Remove.
(__exp2): Calculate result before checking finiteness and calling
__kernel_standard.
* math/w_exp2f.c: Likewise.
* math/w_exp2l.c: Likewise.
* math/libm-test.inc (exp2_test): Require overflow exception for
1e6 input.
[BZ #3866]
* sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
range of signed 64-bit integers before using fistpll. Remove
checks for whether integers fit in mantissa bits.
* sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
the range of signed 32-bit integers before using fistpl. Remove
checks for whether integers fit in mantissa bits.
* sysdeps/i386/fpu/e_powl.S (p64): New object.
(__ieee754_powl): Test for y outside the range of signed 64-bit
integers before using fistpll. Reduce 64-bit values to 63-bit
ones as needed.
* sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
divide-by-zero is raised for zero to large negative powers.
* sysdeps/x86_64/fpu/e_powl.S (p64): New object.
(__ieee754_powl): Test for y outside the range of signed 64-bit
integers before using fistpll. Reduce 64-bit values to 63-bit
ones as needed.
* math/libm-test.inc (pow_test): Add more tests.
2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
* debug/backtracesymsfd.c: Include <_itoa.h> instead of
<stdio-common/_itoa.h>.
* debug/segfault.c: Likewise.
* elf/dl-cache.c: Likewise.
* elf/dl-minimal.c: Likewise.
* elf/dl-misc.c: Likewise.
* elf/dl-sysdep.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/rtld.c: Likewise.
* hurd/hurdsock.c: Likewise.
* hurd/lookup-retry.c: Likewise.
* malloc/malloc.c: Likewise.
* malloc/mtrace.c: Likewise.
* nscd/nscd_getgr_r.c: Likewise.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_getserv_r.c: Likewise.
* posix/getopt_init.c: Likewise.
* posix/wordexp.c: Likewise.
* stdio-common/_itoa.c: Likewise.
* stdio-common/printf_fphex.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* string/_strerror.c: Likewise.
* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
* sysdeps/i386/i686/hp-timing.h: Likewise.
* sysdeps/mach/_strerror.c: Likewise.
* sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
* sysdeps/mach/hurd/sethostid.c: Likewise.
* sysdeps/mach/hurd/xmknodat.c: Likewise.
* sysdeps/mach/xpg-strerror.c: Likewise.
* sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
* sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
* sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
* sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
* sysdeps/sparc/sparc64/hp-timing.h: Likewise.
* sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
* sysdeps/unix/sysv/linux/futimes.c: Likewise.
* sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
* stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
* stdio-common/_itoa.h: Moved to ...
* sysdeps/generic/_itoa.h: Here.