PLT avoidance for _exit in rtld.
[glibc.git] / ChangeLog
blobe93052d42019e49ae827ae925a8800582ded9da2
1 2015-07-09  Roland McGrath  <roland@hack.frob.com>
3         * include/unistd.h: Add rtld_hidden_proto for _exit.
4         * posix/_exit.c: Add rtld_hidden_def.
5         * sysdeps/mach/hurd/_exit.c: Likewise.
6         * sysdeps/nacl/_exit.c: Likewise.
7         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
10 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13         bndmov encoding with zero displacement.
15 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16             H.J. Lu  <hongjiu.lu@intel.com>
18         [BZ #18134]
19         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20         * sysdeps/i386/configure: Regenerated.
21         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22         (_dl_runtime_profile): Save and restore Intel MPX return bound
23         registers when calling _dl_call_pltexit.  Add
24         PRESERVE_BND_REGS_PREFIX before return.
25         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26         (LRV_BND1_OFFSET): Likewise.
27         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28         lrv_bnd1.
29         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30         typo in bndmov encoding.
31         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
33         branch instructions to preserve bounds.
35 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
38         [GLIBC_2.22]: Add fmemopen.
40 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
43         returns an error, also try to use host port from __mach_host_self for
44         the __vm_wire call.
45         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
47 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
49         [BZ #18400]
50         [BZ #18648]
51         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
52         Fix pr_uid and pr_gid members.
53         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
54         definition to elf_greg_t.
56 2015-07-08  Roland McGrath  <roland@hack.frob.com>
58         [BZ #18383]
59         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
60         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
61         * sysdeps/arm/configure: Regenerated.
62         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
63         (test-xfail-tst-tlsalign-static): Variable removed.
65         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
66         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
67         rather than explicit 'ln -s'.
69         * resolv/rpc/netdb.h: New file.
70         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
72 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
74         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
75         length buffers.
76         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
77         test-skeleton.c.
79         [BZ #6544]
80         [BZ #11216]
81         [BZ #12836]
82         [BZ #13151]
83         [BZ #13152]
84         [BZ #14292]
85         * include/stdio.h (fmemopen): Remove hidden prototype.
86         (__fmemopen): Add new hidden prototype.
87         * libio/Makefile: Add oldfmemopen object.
88         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
89         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
90         compliance.
91         * libio/oldfmemopen.c: New file: old fmemopen implementation for
92         symbol compatibility.
93         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
94         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
95         fmemopen.
96         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
97         on append and read mode.
98         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
99         fmemopen.
100         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
101         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
102         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
103         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
104         Likewise.
105         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
106         [GLIBC_2.22]: Likewise.
107         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
108         Likewise.
109         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
110         Likewise.
111         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
112         [GLIBC_2.22]: Likewise.
113         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
114         [GLIBC_2.22]: Likewise.
115         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
116         [GLIBC_2.22]: Likewise.
117         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
118         [GLIBC_2.22]: Likewise.
119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
120         [GLIBC_2.22]: Likewise.
121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
122         [GLIBC_2.22]: Likewise.
123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
124         [GLIBC_2.22]: Likewise.
125         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
126         Likewise.
127         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
128         Likewise.
129         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
130         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
131         [GLIBC_2.22]: Likewise.
132         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
133         [GLIBC_2.22]: Likewise.
134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
135         [GLIBC_2.22]: Likewise.
136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
137         [GLIBC_2.22]: Likewise.
138         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
139         Likewise.
140         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
141         Likewise.
142         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
143         Likewise.
144         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
145         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
147 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
149         [BZ #18643]
150         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
151         IPV6_PATHMTU, and IPV6_DONTFRAG.
153 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
155         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
156         and _IO_UNBUFFERED.
157         * libio/oldfileops.c: Likewise.
158         * libio/wfileops.c: Likewise.
160 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
162         * nscd/selinux.c: Delete selinux/flask.h include.
164 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
166         [BZ #18641]
167         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
168         (putpwent): Likewise.
169         (getpwnam): Likewise.
170         (getpwent_r): Likewise.
171         (getpwuid_r): Likewise.
172         (getpwnam_r): Likewise.
173         (fgetpwent_r): Likewise.
175 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
177         [BZ #18557]
178         * inet/rcmd.c (__validuser2_sa): Check user first to
179         short-circuit host check.
181 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
182             Mikhail Ilin  <m.ilin@samsung.com>
184         [BZ #17833]
185         * elf/Makefile (tests): Add tst-nodelete.
186         (modules-names): Add tst-nodelete-uniquemod.
187         (tst-nodelete-uniquemod.so-no-z-defs): New.
188         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
189         (tst-nodelete-zmod.so-no-z-defs): Likewise.
190         ($(objpfx)tst-nodelete): Likewise.
191         ($(objpfx)tst-nodelete.out): Likewise.
192         (LDFLAGS-tst-nodelete): Likewise.
193         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
194         * elf/dl-close.c (_dl_close_worker): Add a parameter to
195         implement forced object deletion.
196         (_dl_close): Pass false to _dl_close_worker.
197         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
198         * elf/tst-nodelete.cc: New file.
199         * elf/tst-nodeletelib.cc: Likewise.
200         * elf/tst-znodeletelib.cc: Likewise.
201         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
203 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
205         [BZ #18508]
206         * stdlib/Makefile ($(objpfx)tst-makecontext3):
207         Depend on $(libdl).
208         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
209         is not called infinitely times.
210         (backtrace_helper): New function.
211         (trace_arg): New struct.
212         (st1): Enlarge stack size.
213         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
214         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
215         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
216         Likewise.
218 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
220         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
222 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
224         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
225         Include sys/types.h instead of bits/types.h.
226         Remove inclusion of bits/wordsize.h.
228 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
230         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
231         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
232         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
233         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
234         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
235         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
237 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
239         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
240         link-defines.sym.
241         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
242         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
243         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
244         and LR_SIZE.
245         * sysdeps/i386/link-defines.sym: New file.
247 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
249         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
250         (modules-names): Add tst-auditmod3a tst-auditmod3b.
251         ($(objpfx)tst-audit3): New rule.
252         ($(objpfx)tst-audit3.out): Likewise.
253         * sysdeps/i386/tst-audit3.c: New file.
254         * sysdeps/i386/tst-audit3.h: Likewise.
255         * sysdeps/i386/tst-auditmod3a.c: Likewise.
256         * sysdeps/i386/tst-auditmod3b.c: Likewise.
258 2015-07-07  Torvald Riegel  <triegel@redhat.com>
260         [BZ #18633]
261         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
262         pointer in C code.
263         (__strcat_c): Likewise.
264         (__strcat_g): Likewise.
266 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
268         [BZ #18592]
269         * misc/sbrk.c: Set errno to ENOMEM on overflow.
271 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
273         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
274         New function.  (__ieee754_sqrtf): New function.
275         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
276         New function.
277         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
278         New function.
280 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
282         * sysdeps/ieee754/support.c: Remove unused file.
284 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
286         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
287         registers instead of d ones so the layout is kernel abi compatible.
288         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
289         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
290         Likewise.
292 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
294         * sysdeps/aarch64/libm-test-ulps: Regenerated.
296 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
298         [BZ #18619]
299         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
300         and return argument in case of subnormal argument.
302 2015-07-01  Martin Sebor  <msebor@redhat.com>
304         [BZ #18435]
305         * nptl/Makefile: Add tst-once5.cc.
306         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
307         Remove macro redefinitions.
308         * nptl/tst-once5.cc: New test.
310 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
312         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
314         * sysdeps/arm/libm-test-ulps: Regenerated.
316         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
317         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
319 2015-06-30  Torvald Riegel  <triegel@redhat.com>
321         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
322         lll_lock_wait_private and lll_futex_wake probes.
324         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
325         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
326         Likewise.
327         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
328         atomic_spin_nop.
329         * sysdeps/x86_64/bits/atomic.h: Likewise.
330         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
331         to atomic_spin_nop and move ...
332         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
333         ... here and ...
334         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
335         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
336         atomic_spin_nop instead of BUSY_WAIT_NOP.
337         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
338         Likewise.
339         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
340         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
341         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
342         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
343         instead of atomic_delay.
345 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
347         [BZ #18613]
348         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
349         X_ADJ not X when adjusting exponent.
350         (__ieee754_gamma_r): Do intermediate computations in
351         round-to-nearest then adjust overflowing and underflowing results
352         as needed.
353         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
354         of X_ADJ not X when adjusting exponent.
355         (__ieee754_gammaf_r): Do intermediate computations in
356         round-to-nearest then adjust overflowing and underflowing results
357         as needed.
358         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
359         log of X_ADJ not X when adjusting exponent.
360         (__ieee754_gammal_r): Do intermediate computations in
361         round-to-nearest then adjust overflowing and underflowing results
362         as needed.  Use 1.0L not 1.0f as numerator of division.
363         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
364         log of X_ADJ not X when adjusting exponent.
365         (__ieee754_gammal_r): Do intermediate computations in
366         round-to-nearest then adjust overflowing and underflowing results
367         as needed.  Use 1.0L not 1.0f as numerator of division.
368         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
369         of X_ADJ not X when adjusting exponent.
370         (__ieee754_gammal_r): Do intermediate computations in
371         round-to-nearest then adjust overflowing and underflowing results
372         as needed.  Use 1.0L not 1.0f as numerator of division.
373         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
374         to auto-libm-test-in.
375         (tgamma_test): Use ALL_RM_TEST.
376         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
377         tests of tgamma with spurious-overflow.
378         * math/auto-libm-test-out: Regenerated.
379         * math/gen-libm-have-vector-test.sh: Do not check for START.
380         * sysdeps/i386/fpu/libm-test-ulps: Update.
381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
383         [BZ #18612]
384         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
385         arguments, just return 0.5 times the argument, with underflow
386         forced as needed.
387         * math/auto-libm-test-in: Add more tests of j1.
388         * math/auto-libm-test-out: Regenerated.
390         [BZ #16559]
391         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
392         (__ieee754_j1): Force underflow exception for small results.
393         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
394         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
395         (__ieee754_j1f): Force underflow exception for small results.
396         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
397         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
398         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
399         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
400         (__ieee754_j1l): Force underflow exception for small results.
401         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
402         * math/auto-libm-test-in: Add more tests of j1 and jn.
403         * math/auto-libm-test-out: Regenerated.
405         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
406         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
407         (PF_MPLS): Likewise.
408         (AF_IB): Likewise.
409         (AF_MPLS): Likewise.
410         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
411         value and macro.
412         (MS_RMT_MASK): Include MS_LAZYTIME.
414 2015-06-26  Mel Gorman  <mgorman@suse.de>
416         [BZ #18502]
417         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
418         already minimal.
420 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
422         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
423         (DT_MIPS_NUM): Update.
424         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
425         DT_MIPS_RLD_MAP_REL.
427 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
429         [BZ #16559]
430         [BZ #18602]
431         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
432         round-to-nearest internally then recompute results that
433         underflowed to zero in the original rounding mode.
434         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
435         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
436         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
437         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
438         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
439         * sysdeps/i386/fpu/libm-test-ulps: Update.
440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
442 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
444         * NEWS: Fixed description of link with vector math library.
446 2015-06-25  Andreas Schwab  <schwab@suse.de>
448         [BZ #18549]
449         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
450         * libio/test-fmemopen.c (do_test): Add test for it.
452 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
454         [BZ #17841]
455         * Makeconfig (no-pie-ldflag): New.
456         (+link): Set to $(+link-pie) if default to PIE.
457         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
458         * config.make.in (build-pie-default): New.
459         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
460         is default.  AC_SUBST.
461         * configure: Regenerated.
462         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
464 2015-06-24  Roland McGrath  <roland@hack.frob.com>
466         * nptl/descr.h (struct pthread): Change type of field setxid_futex
467         to 'unsigned int'.
469         * resolv/gai_misc.h (struct waitlist): Change type of field
470         counterp to 'volatile unsigned int *'.
471         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
472         FUTEXADDR and OLDVAL.
473         * resolv/getaddrinfo_a.c (getaddrinfo_a):
474         Give local variable TOTAL type 'volatile unsigned int'.
475         (struct async_waitlist): Change type of field counter to 'unsigned int'.
476         * resolv/gai_suspend.c (gai_suspend):
477         Give local variable CNTR type 'unsigned int'.
479         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
480         counterp to 'volatile unsigned int *'.
481         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
482         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
483         (aio_suspend): Give local variable CNTR type 'unsigned int'.
484         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
485         Give local variable TOTAL type 'volatile unsigned int'.
486         (struct async_waitlist): Change type of field counter to 'unsigned int'.
488 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
490         [BZ #18383]
491         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
492         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
493         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
494         comment for i386/x86-64.
495         (test-xfail-tst-tlsalign-extern-static): Removed.
497 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
499         * math/test-double.h: New file.
500         * math/test-float.h: Likewise.
501         * math/test-ldouble.h: Likewise.
502         * math/test-math-inline.h: Likewise.
503         * math/test-math-no-inline.h: Likewise.
504         * math/test-math-scalar.h: Likewise.
505         * math/test-math-vector.h: Likewise.
506         * math/test-vec-loop.h: Remove file.  Contents moved into
507         test-math-vector.h.
508         * math/libm-test.inc (MATHCONST): Do not document macro.
509         * math/test-double.c: Include test-double.h, test-math-no-inline.h
510         and test-math-scalar.h.
511         (FUNC): Remove macro.
512         (FUNC_TEST): Likewise.
513         (FLOAT): Likewise.
514         (MATHCONST): Likewise.
515         (PRINTF_EXPR): Likewise.
516         (PRINTF_XEXPR): Likewise.
517         (PRINTF_NEXPR): Likewise.
518         (TEST_DOUBLE): Likewise.
519         (TEST_MATHVEC): Likewise.
520         (__NO_MATH_INLINES): Likewise.
521         * math/test-float.c: Include test-float.h, test-math-no-inline.h
522         and test-math-scalar.h.
523         (FUNC): Remove macro.
524         (FUNC_TEST): Likewise.
525         (FLOAT): Likewise.
526         (MATHCONST): Likewise.
527         (PRINTF_EXPR): Likewise.
528         (PRINTF_XEXPR): Likewise.
529         (PRINTF_NEXPR): Likewise.
530         (TEST_FLOAT): Likewise.
531         (TEST_MATHVEC): Likewise.
532         (__NO_MATH_INLINES): Likewise.
533         * math/test-idouble.c: Include test-double.h, test-math-inline.h
534         and test-math-scalar.h.
535         (FUNC): Remove macro.
536         (FUNC_TEST): Likewise.
537         (FLOAT): Likewise.
538         (MATHCONST): Likewise.
539         (PRINTF_EXPR): Likewise.
540         (PRINTF_XEXPR): Likewise.
541         (PRINTF_NEXPR): Likewise.
542         (TEST_DOUBLE): Likewise.
543         (TEST_MATHVEC): Likewise.
544         (TEST_INLINE): Likewise.
545         (__NO_MATH_INLINES): Likewise.
546         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
547         test-math-scalar.h.
548         (FUNC): Remove macro.
549         (FUNC_TEST): Likewise.
550         (FLOAT): Likewise.
551         (MATHCONST): Likewise.
552         (PRINTF_EXPR): Likewise.
553         (PRINTF_XEXPR): Likewise.
554         (PRINTF_NEXPR): Likewise.
555         (TEST_FLOAT): Likewise.
556         (TEST_MATHVEC): Likewise.
557         (TEST_INLINE): Likewise.
558         (__NO_MATH_INLINES): Likewise.
559         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
560         and test-math-scalar.h.
561         (FUNC): Remove macro.
562         (FUNC_TEST): Likewise.
563         (FLOAT): Likewise.
564         (MATHCONST): Likewise.
565         (PRINTF_EXPR): Likewise.
566         (PRINTF_XEXPR): Likewise.
567         (PRINTF_NEXPR): Likewise.
568         (TEST_LDOUBLE): Likewise.
569         (TEST_MATHVEC): Likewise.
570         (TEST_INLINE): Likewise.
571         (__NO_MATH_INLINES): Likewise.
572         * math/test-ldouble.c: Include test-ldouble.h,
573         test-math-no-inline.h and test-math-scalar.h.
574         (FUNC): Remove macro.
575         (FUNC_TEST): Likewise.
576         (FLOAT): Likewise.
577         (MATHCONST): Likewise.
578         (PRINTF_EXPR): Likewise.
579         (PRINTF_XEXPR): Likewise.
580         (PRINTF_NEXPR): Likewise.
581         (TEST_LDOUBLE): Likewise.
582         (TEST_MATHVEC): Likewise.
583         (__NO_MATH_INLINES): Likewise.
584         * math/test-double-vlen2.h: Include test-double.h,
585         test-math-no-inline.h and test-math-vector.h.
586         (FLOAT): Remove macro.
587         (FUNC): Likewise.
588         (MATHCONST): Likewise.
589         (PRINTF_EXPR): Likewise.
590         (PRINTF_XEXPR): Likewise.
591         (PRINTF_NEXPR): Likewise.
592         (TEST_DOUBLE): Likewise.
593         (TEST_MATHVEC): Likewise.
594         (__NO_MATH_INLINES): Likewise.
595         (CNCT): Likewise.
596         (CONCAT): Likewise.
597         (WRAPPER_NAME): Likewise.
598         (WRAPPER_DECL): Likewise.
599         (WRAPPER_DECL_ff): Likewise.
600         (WRAPPER_DECL_fFF): Likewise.
601         (VECTOR_WRAPPER): Likewise.
602         (VECTOR_WRAPPER_ff): Likewise.
603         (VECTOR_WRAPPER_fFF): Likewise.
604         (VEC_LEN): New macro.
605         * math/test-double-vlen4.h: Include test-double.h,
606         test-math-no-inline.h and test-math-vector.h.
607         (FLOAT): Remove macro.
608         (FUNC): Likewise.
609         (MATHCONST): Likewise.
610         (PRINTF_EXPR): Likewise.
611         (PRINTF_XEXPR): Likewise.
612         (PRINTF_NEXPR): Likewise.
613         (TEST_DOUBLE): Likewise.
614         (TEST_MATHVEC): Likewise.
615         (__NO_MATH_INLINES): Likewise.
616         (CNCT): Likewise.
617         (CONCAT): Likewise.
618         (WRAPPER_NAME): Likewise.
619         (WRAPPER_DECL): Likewise.
620         (WRAPPER_DECL_ff): Likewise.
621         (WRAPPER_DECL_fFF): Likewise.
622         (VECTOR_WRAPPER): Likewise.
623         (VECTOR_WRAPPER_ff): Likewise.
624         (VECTOR_WRAPPER_fFF): Likewise.
625         (VEC_LEN): New macro.
626         * math/test-double-vlen8.h: Include test-double.h,
627         test-math-no-inline.h and test-math-vector.h.
628         (FLOAT): Remove macro.
629         (FUNC): Likewise.
630         (MATHCONST): Likewise.
631         (PRINTF_EXPR): Likewise.
632         (PRINTF_XEXPR): Likewise.
633         (PRINTF_NEXPR): Likewise.
634         (TEST_DOUBLE): Likewise.
635         (TEST_MATHVEC): Likewise.
636         (__NO_MATH_INLINES): Likewise.
637         (CNCT): Likewise.
638         (CONCAT): Likewise.
639         (WRAPPER_NAME): Likewise.
640         (WRAPPER_DECL): Likewise.
641         (WRAPPER_DECL_ff): Likewise.
642         (WRAPPER_DECL_fFF): Likewise.
643         (VECTOR_WRAPPER): Likewise.
644         (VECTOR_WRAPPER_ff): Likewise.
645         (VECTOR_WRAPPER_fFF): Likewise.
646         (VEC_LEN): New macro.
647         * math/test-float-vlen4.h: Include test-float.h,
648         test-math-no-inline.h and test-math-vector.h.
649         (FLOAT): Remove macro.
650         (FUNC): Likewise.
651         (MATHCONST): Likewise.
652         (PRINTF_EXPR): Likewise.
653         (PRINTF_XEXPR): Likewise.
654         (PRINTF_NEXPR): Likewise.
655         (TEST_FLOAT): Likewise.
656         (TEST_MATHVEC): Likewise.
657         (__NO_MATH_INLINES): Likewise.
658         (CNCT): Likewise.
659         (CONCAT): Likewise.
660         (WRAPPER_NAME): Likewise.
661         (WRAPPER_DECL): Likewise.
662         (WRAPPER_DECL_ff): Likewise.
663         (WRAPPER_DECL_fFF): Likewise.
664         (VECTOR_WRAPPER): Likewise.
665         (VECTOR_WRAPPER_ff): Likewise.
666         (VECTOR_WRAPPER_fFF): Likewise.
667         (VEC_LEN): New macro.
668         * math/test-float-vlen8.h: Include test-float.h,
669         test-math-no-inline.h and test-math-vector.h.
670         (FLOAT): Remove macro.
671         (FUNC): Likewise.
672         (MATHCONST): Likewise.
673         (PRINTF_EXPR): Likewise.
674         (PRINTF_XEXPR): Likewise.
675         (PRINTF_NEXPR): Likewise.
676         (TEST_FLOAT): Likewise.
677         (TEST_MATHVEC): Likewise.
678         (__NO_MATH_INLINES): Likewise.
679         (CNCT): Likewise.
680         (CONCAT): Likewise.
681         (WRAPPER_NAME): Likewise.
682         (WRAPPER_DECL): Likewise.
683         (WRAPPER_DECL_ff): Likewise.
684         (WRAPPER_DECL_fFF): Likewise.
685         (VECTOR_WRAPPER): Likewise.
686         (VECTOR_WRAPPER_ff): Likewise.
687         (VECTOR_WRAPPER_fFF): Likewise.
688         (VEC_LEN): New macro.
689         * math/test-float-vlen16.h: Include test-float.h,
690         test-math-no-inline.h and test-math-vector.h.
691         (FLOAT): Remove macro.
692         (FUNC): Likewise.
693         (MATHCONST): Likewise.
694         (PRINTF_EXPR): Likewise.
695         (PRINTF_XEXPR): Likewise.
696         (PRINTF_NEXPR): Likewise.
697         (TEST_FLOAT): Likewise.
698         (TEST_MATHVEC): Likewise.
699         (__NO_MATH_INLINES): Likewise.
700         (CNCT): Likewise.
701         (CONCAT): Likewise.
702         (WRAPPER_NAME): Likewise.
703         (WRAPPER_DECL): Likewise.
704         (WRAPPER_DECL_ff): Likewise.
705         (WRAPPER_DECL_fFF): Likewise.
706         (VECTOR_WRAPPER): Likewise.
707         (VECTOR_WRAPPER_ff): Likewise.
708         (VECTOR_WRAPPER_fFF): Likewise.
709         (VEC_LEN): New macro.
710         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
711         test-vec-loop.h.
712         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
713         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
714         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
715         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
716         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
717         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
718         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
720 2015-06-24  Roland McGrath  <roland@hack.frob.com>
722         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
723         (__getlogin_r): ... this.
725 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
727         [BZ #18594]
728         * math/s_ccosh.c (__ccosh): Compare with least normal value
729         instead of comparing class with FP_SUBNORMAL.
730         * math/s_ccoshf.c (__ccoshf): Likewise.
731         * math/s_ccoshl.c (__ccoshl): Likewise.
732         * math/s_cexp.c (__cexp): Likewise.
733         * math/s_cexpf.c (__cexpf): Likewise.
734         * math/s_cexpl.c (__cexpl): Likewise.
735         * math/s_csin.c (__csin): Likewise.
736         * math/s_csinf.c (__csinf): Likewise.
737         * math/s_csinh.c (__csinh): Likewise.
738         * math/s_csinhf.c (__csinhf): Likewise.
739         * math/s_csinhl.c (__csinhl): Likewise.
740         * math/s_csinl.c (__csinl): Likewise.
741         * math/s_ctan.c (__ctan): Likewise.
742         * math/s_ctanf.c (__ctanf): Likewise.
743         * math/s_ctanh.c (__ctanh): Likewise.
744         * math/s_ctanhf.c (__ctanhf): Likewise.
745         * math/s_ctanhl.c (__ctanhl): Likewise.
746         * math/s_ctanl.c (__ctanl): Likewise.
747         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
748         csin, csinh, ctan and ctanh.
749         * math/auto-libm-test-out: Regenerated.
750         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
751         * sysdeps/i386/fpu/libm-test-ulps: Update.
752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
754 2015-06-24  Roland McGrath  <roland@hack.frob.com>
756         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
757         return value is wrong, print the expected value too.
759 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
761         [BZ #18585]
762         * elf/readlib.c (is_gdb_python_file): New.
763         (process_file): Don't issue errors on filenames with -gdb.py
764         suffix.
766 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
768         * math/auto-libm-test-in: Add more tests of csin and csinh.
769         * math/auto-libm-test-out: Regenerated.
770         * math/libm-test.inc (csin_test_data): Remove tests moved to
771         auto-libm-test-in.
772         (csinh_test_data): Likewise.
774         [BZ #18593]
775         * math/s_csin.c (__csin): Negate before rather than after possibly
776         overflowing multiplication.
777         * math/s_csinf.c (__csinf): Likewise.
778         * math/s_csinh.c (__csinh): Likewise.
779         * math/s_csinhf.c (__csinhf): Likewise.
780         * math/s_csinhl.c (__csinhl): Likewise.
781         * math/s_csinl.c (__csinl): Likewise.
782         * math/auto-libm-test-in: Add some tests of csin and csinh.
783         * math/auto-libm-test-out: Regenerated.
784         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
785         (csinh_test_data): Likewise.
786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
788         [BZ #18586]
789         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
790         underflow exception for small results.
792 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
795         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
796         variable and included header.
797         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
798         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
800         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
801         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
805         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
806         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
807         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
808         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
809         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
810         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
811         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
812         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
814 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
816         [BZ #16526]
817         [BZ #16538]
818         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
819         (__sin): Force underflow exception for arguments with small
820         absolute value.
821         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
822         (__kernel_sinf): Force underflow exception for arguments with
823         small absolute value.
824         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
825         (__kernel_sincosl): Force underflow exception for arguments with
826         small absolute value.
827         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
828         (__kernel_sinl): Force underflow exception for arguments with
829         small absolute value.
830         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
831         (__kernel_sincosl): Force underflow exception for arguments with
832         small absolute value.
833         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
834         (__kernel_sinl): Force underflow exception for arguments with
835         small absolute value.
836         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
837         (__kernel_sinl): Force underflow exception for arguments with
838         small absolute value.
839         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
840         (__kernel_sinf): Force underflow exception for arguments with
841         small absolute value.
842         * math/auto-libm-test-in: Add more tests of sin and sincos.
843         * math/auto-libm-test-out: Regenerated.
845         [BZ #18245]
846         [BZ #18583]
847         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
848         (__kernel_standard_l): Use feholdexcept and fesetenv around
849         conversion to double instead of special-casing overflow and
850         underflow.
851         * math/libm-test.inc (fmod_test_data): Add more tests.
852         (remainder_test_data): Likewise.
853         (sqrt_test_data): Likewise.
855 2015-06-23  Torvald Riegel  <triegel@redhat.com>
857         [BZ #17403]
858         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
859         atomic_read_barrier, atomic_write_barrier): Define.
860         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
861         atomic_read_barrier, atomic_write_barrier): Define.
863 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
865         * math/Makefile [$(PERL) != no]
866         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
867         dependency on libm-test.stmp below the inclusion of Rules.
869 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
871         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
872         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
873         and included header.
874         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
875         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
876         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
877         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
878         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
879         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
880         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
881         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
882         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
883         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
884         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
885         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
886         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
887         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
888         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
889         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
890         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
891         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
892         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
894 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
896         [BZ #18371]
897         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
898         intermediate but not final result might underflow.
899         * math/s_csqrtf.c (__csqrtf): Likewise.
900         * math/s_csqrtl.c (__csqrtl): Likewise.
901         * math/auto-libm-test-in: Add more tests of csqrt.
902         * math/auto-libm-test-out: Regenerated.
903         * sysdeps/i386/fpu/libm-test-ulps: Update.
905         [BZ #18219]
906         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
907         threshold on absolute value of exponent for which scaling is used.
908         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
909         * math/auto-libm-test-in: Add more tests of exp2.
910         * math/auto-libm-test-out: Regenerated.
912 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
914         [BZ #17977]
915         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
916         when initializing interface list, based on the bug analysis
917         and the patch proposed by Eric Newton.
918         * resolv/tst-res_hconf_reorder.c: New test.
919         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
920         tst-res_hconf_reorder.
921         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
922         and $(shared-thread-library).
923         (tst-res_hconf_reorder-ENV): New variable.
925         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
926         in comment.
928 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
930         [BZ #16353]
931         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
932         (__expm1): Force underflow exception for arguments with small
933         absolute value.
934         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
935         (__expm1f): Force underflow exception for arguments with small
936         absolute value.
937         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
938         (__expm1): Force underflow exception for arguments with small
939         absolute value.
940         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
941         (__expm1f): Force underflow exception for arguments with small
942         absolute value.
943         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
944         Check for small arguments before calling __expm1.
945         * math/auto-libm-test-in: Do not mark underflow exceptions as
946         possibly missing for bug 16353.
947         * math/auto-libm-test-out: Regenerated.
949 2015-06-22  Andreas Schwab  <schwab@suse.de>
951         [BZ #18513]
952         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
953         PTR queries.
955 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
957         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
959         * string/strcoll_l.c: Remove unused struct element idxnow.
961 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
963         [BZ #18569]
964         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
965         underflow and return argument in case of subnormal argument.
966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
967         Likewise.
968         * math/auto-libm-test-in: Add more tests of expm1.
969         * math/auto-libm-test-out: Regenerated.
971         [BZ #16361]
972         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
973         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
974         tiny results.
975         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
976         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
977         tiny results.
978         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
979         mark underflow exceptions as possibly missing for bug 16361.
980         * math/auto-libm-test-out: Regenerated.
982 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
984         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
985         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
986         Remove variable.
987         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
988         (test-xfail-XOPEN2K8/utmpx.h/conform).
990         * conform/conformtest.pl ($xerrors): New variable.
991         (note_error): New function.
992         (compiletest): New argument $xfail.  Use not_error.
993         (runtest): Likewise.
994         (top level): Handle xfail- lines.  Update calls to compiletest and
995         runtest.  Handle xfail- and optional- in headers listed with
996         allow-header.
997         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
998         (O_EXEC): Likewise.
999         (O_SEARCH): Likewise.
1000         * conform/data/stropts.h-data (ioctl): Likewise.
1001         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1002         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1003         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1004         (msghdr.msg_controllen): Likewise.
1005         (cmsghdr.cmsg_len): Likewise.
1006         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1007         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1008         variable.
1009         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1010         (test-xfail-XPG4/stropts.h/conform): Likewise.
1011         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1012         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1013         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1014         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1015         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1016         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1017         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1018         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1019         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1020         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1021         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1022         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1023         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1024         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1025         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1026         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1027         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1028         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1029         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1031 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1033         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1034         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1035         definitions for proper unfolding of __MATHDECL_VEC.
1037 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1039         * benchtests/bench-strcoll.c:
1040         Include string.h.
1041         (main): Remove unused variable res.
1043 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1045         * timezone/Makefile (%/UTC %/Universal):
1046         Generate test-result files for UTC and Universal.
1048 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1050         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1052 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1054         [BZ #16350]
1055         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1056         for arguments with small absolute value.
1057         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1058         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1059         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1060         (__asinh): Force underflow exception for arguments with small
1061         absolute value.
1062         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1063         (__asinhf): Force underflow exception for arguments with small
1064         absolute value.
1065         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1066         (__asinhl): Force underflow exception for arguments with small
1067         absolute value.
1068         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1069         (__asinhl): Force underflow exception for arguments with small
1070         absolute value.
1071         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1072         (__asinhl): Force underflow exception for arguments with small
1073         absolute value.
1074         * math/auto-libm-test-in: Do not mark underflow exceptions as
1075         possibly missing for bug 16350.
1076         * math/auto-libm-test-out: Regenerated.
1078         * include/bits/ipc.h: Remove file.
1079         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1080         variable.
1081         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1082         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1083         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1084         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1085         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1086         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1087         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1088         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1089         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1091         * math/auto-libm-test-in: Remove spurious underflow allowance for
1092         tests of cexp.
1093         * math/auto-libm-test-out: Regenerated.
1095         [BZ #18558]
1096         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1097         unconditional definition.
1098         (MCAST_BLOCK_SOURCE): Likewise.
1099         (MCAST_UNBLOCK_SOURCE): Likewise.
1100         (MCAST_LEAVE_GROUP): Likewise.
1101         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1102         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1103         (MCAST_MSFILTER): Likewise.
1104         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1105         Remove variable.
1106         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1107         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1108         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1109         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1110         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1112 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1114         * NEWS: Mention addition of x86_64 vector sincosf.
1115         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1116         * math/test-float-vlen4.h: Likewise.
1117         * math/test-float-vlen8.h: Likewise.
1118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1119         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1120         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1121         * sysdeps/x86_64/fpu/Versions: New versions added.
1122         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1123         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1124         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1125         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1126         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1129         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1130         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1131         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1132         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1133         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1134         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1135         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1136         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1137         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1138         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1139         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1140         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1141         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1142         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1143         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1144         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1145         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1147         * NEWS: Mention addition of x86_64 vector sincos.
1148         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1149         * math/math.h (__MATHDECL_VEC): New macro.
1150         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1151         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1152         declaration under condition.
1153         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1154         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1155         TEST_VEC_LOOP change.
1156         * math/test-double-vlen4.h: Likewise.
1157         * math/test-double-vlen8.h: Likewise.
1158         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1159         * math/test-float-vlen4.h: Likewise.
1160         * math/test-float-vlen8.h: Likewise.
1161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1162         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1163         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1164         * sysdeps/x86_64/fpu/Versions: New versions added.
1165         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1166         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1167         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1168         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1169         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1170         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1171         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1173         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1174         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1175         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1176         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1177         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1178         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1179         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1180         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1181         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1182         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1183         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1184         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1185         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1186         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1187         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1188         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1190         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1191         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1192         redirections for powf.
1193         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1194         * sysdeps/x86_64/fpu/Versions: New versions added.
1195         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1196         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1197         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1198         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1199         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1200         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1201         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1202         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1203         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1204         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1205         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1206         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1207         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1208         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1209         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1210         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1211         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1212         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1213         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1214         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1215         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1216         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1217         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1218         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1219         * math/test-float-vlen16.h: Fixed 2 argument macro.
1220         * math/test-float-vlen4.h: Likewise.
1221         * math/test-float-vlen8.h: Likewise.
1222         * NEWS: Mention addition of x86_64 vector powf.
1224 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1226         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1227         and redefine.
1228         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1229         and redefine.
1230         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1231         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1232         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1234         [BZ #18553]
1235         * resource/getpriority.c (getpriority): Rename to __getpriority
1236         and define as weak alias of __getpriority.
1237         * resource/setpriority.c (setpriority): Rename to __setpriority
1238         and define as weak alias of __setpriority.
1239         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1240         __getpriority and define as weak alias of __getpriority.
1241         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1242         __setpriority and define as weak alias of __setpriority.
1243         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1244         strong name.
1245         (setpriority): Use __setpriority as strong name.
1246         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1247         __getpriority and define as weak alias of __getpriority.
1248         * include/sys/resource.h (__getpriority): Declare.  Use
1249         libc_hidden_proto.
1250         (__setpriority): Likewise.
1251         (getpriority): Don't use libc_hidden_proto.
1252         (setpriority): Likewise.
1253         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1254         getpriority.  Call __setpriority instead of setpriority.
1255         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1256         Remove variable.
1258         [BZ #18547]
1259         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1260         as weak alias of __getttynam.  Use prototype function definition.
1261         Call __setttyent, __getttyent and __endttyent instead of
1262         setttyent, getttyent and endttyent.
1263         (getttyent): Rename to __getttyent and define as weak alias of
1264         __getttyent.  Call __setttyent instead of setttyent.  Call
1265         __fgets_unlocked instead of fgets_unlocked.
1266         (setttyent): Rename to __setttyent and define as weak alias of
1267         __setttyent.
1268         (endttyent): Rename to __endttyent and define as weak alias of
1269         __endttyent.
1270         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1271         (__setttyent): Likewise.
1272         (__endttyent): Likewise.
1273         (getttyent): Don't use libc_hidden_proto.
1274         (setttyent): Likewise.
1275         (endttyent): Likewise.
1276         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1277         __endttyent instead of setttyent, getttyent and endttyent.
1278         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1279         Remove variable.
1281         [BZ #18546]
1282         * socket/recv.c (__recv): Use libc_hidden_def.
1283         * socket/socket.c (__socket): Likewise.
1284         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1285         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1286         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1287         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1288         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1289         libc_hidden_def.
1290         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1291         libc_hidden_weak.
1292         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1293         Use libc_hidden_proto.
1294         (__recv): Likewise.
1295         * socket/Versions (libc): Export __recv and __socket at version
1296         GLIBC_PRIVATE.
1297         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1298         instead of recv.
1299         (init_mq_netlink): Call __socket instead of socket.
1300         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1301         Remove variable.
1303         [BZ #18545]
1304         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1305         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1306         hidden_weak.
1307         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1308         define as alias of __mq_timedsend.  Use hidden_weak.
1309         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1310         __mq_timedsend as strong name.
1311         (mq_timedreceive): Use __mq_timedreceive as strong name.
1312         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1313         (__mq_timedreceive): Likewise.
1314         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1315         __mq_timedreceive instead of mq_timedreceive.
1316         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1317         instead of mq_timedsend.
1318         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1319         Remove variable.
1321         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1322         hidden_def and hidden_weak instead of libc_hidden_def and
1323         libc_hidden_weak.
1324         (top level): Refer to hidden_def in comment.
1325         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1326         macro.  Use it instead of libc_hidden_def.
1327         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1328         specify __GI_* name explicitly.
1329         (mq_timedreceive): Likewise.
1330         (mq_setattr): Likewise.
1332         [BZ #18544]
1333         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1334         __pthread_barrier_init and define as weak alias of
1335         __pthread_barrier_init.
1336         * sysdeps/sparc/nptl/pthread_barrier_init.c
1337         (pthread_barrier_init): Likewise.
1338         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1339         __pthread_barrier_wait and define as weak alias of
1340         __pthread_barrier_wait.
1341         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1342         (pthread_barrier_wait): Likewise.
1343         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1344         (pthread_barrier_wait): Likewise.
1345         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1346         (pthread_barrier_wait): Likewise.
1347         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1348         (pthread_barrier_wait): Likewise.
1349         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1350         __pthread_barrier_wait at version GLIBC_PRIVATE.
1351         * include/pthread.h (__pthread_barrier_init): Declare.
1352         (__pthread_barrier_wait): Likewise.
1353         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1354         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1355         (helper_thread): Likewise.
1356         (init_mq_netlink): Call __pthread_barrier_init instead of
1357         pthread_barrier_init.
1359         [BZ #18542]
1360         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1361         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1362         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1363         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1364         vswscanf.
1365         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1366         Remove variable.
1368         [BZ #18540]
1369         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1370         strong alias of _IO_fflush.  Use libc_hidden_def.
1371         * libio/iofflush_u.c (fflush_unlocked): Rename to
1372         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1373         Use libc_hidden_weak.
1374         * include/stdio.h (__fflush_unlocked): Declare.  Use
1375         libc_hidden_proto.
1376         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1377         fflush_unlocked.
1378         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1379         Remove variable.
1381         [BZ #18539]
1382         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1383         define as weak alias of __addseverity.
1384         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1385         Remove variable.
1386         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1387         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1388         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1390         [BZ #18536]
1391         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1392         (__tfind): Likewise.
1393         (__tdelete): Likewise.
1394         (__twalk): Likewise.
1395         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1396         __twalk to GLIBC_PRIVATE.
1397         * include/search.h (__tsearch): Use libc_hidden_proto.
1398         (__tfind): Likewise.
1399         (__tdelete): Likewise.
1400         (__twalk): Likewise.
1401         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1402         Call __tdelete instead of tdelete.
1403         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1404         tfind.  Call __tsearch instead of tsearch.
1405         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1406         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1407         Remove variable.
1408         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1410         [BZ #18534]
1411         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1412         (dprintf): Define as a weak alias of __dprintf, not a strong
1413         alias.
1414         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1415         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1416         dprintf.
1417         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1418         Remove variable.
1419         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1420         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1422         [BZ #18533]
1423         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1424         not a strong alias.
1425         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1426         Remove variable.
1428         [BZ #18532]
1429         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1430         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1431         (in6addr_loopback): Rename to __in6addr_loopback and define as
1432         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1433         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1434         libc_hidden_proto.
1435         (__in6addr_any): Likewise.
1436         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1437         in6addr_any.
1438         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1439         variable.
1440         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1442 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1444         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1445         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1446         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1447         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1448         redirections for pow.
1449         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1450         * sysdeps/x86_64/fpu/Versions: New versions added.
1451         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1452         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1453         build of SSE, AVX2 and AVX512 IFUNC versions.
1454         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1455         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1456         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1457         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1458         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1459         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1460         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1461         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1462         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1463         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1464         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1465         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1466         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1467         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1468         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1469         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1470         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1471         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1472         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1473         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1474         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1475         * NEWS: Mention addition of x86_64 vector pow.
1477         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1478         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1479         redirections for expf.
1480         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1481         * sysdeps/x86_64/fpu/Versions: New versions added.
1482         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1483         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1484         build of SSE, AVX2 and AVX512 IFUNC versions.
1485         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1486         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1487         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1488         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1489         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1490         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1491         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1492         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1493         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1494         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1495         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1496         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1497         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1498         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1499         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1500         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1501         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1502         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1503         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1504         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1505         * NEWS: Mention addition of x86_64 vector expf.
1507         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1508         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1510         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1511         redirections for exp.
1512         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1513         * sysdeps/x86_64/fpu/Versions: New versions added.
1514         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1515         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1516         build of SSE, AVX2 and AVX512 IFUNC versions.
1517         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1518         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1519         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1520         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1521         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1522         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1523         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1524         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1525         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1526         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1527         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1528         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1529         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1530         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1531         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1532         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1533         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1534         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1535         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1536         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1537         * NEWS: Mention addition of x86_64 vector exp.
1539         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1540         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1541         redirections for logf.
1542         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1543         * sysdeps/x86_64/fpu/Versions: New versions added.
1544         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1545         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1546         build of SSE, AVX2 and AVX512 IFUNC versions.
1547         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1548         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1549         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1550         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1551         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1552         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1553         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1554         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1555         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1556         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1557         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1558         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1559         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1560         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1561         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1562         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1564         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1565         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1566         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1567         * NEWS: Mention addition of x86_64 vector logf.
1569         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1570         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1571         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1572         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1573         redirections for log.
1574         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1575         * sysdeps/x86_64/fpu/Versions: New versions added.
1576         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1577         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1578         build of SSE, AVX2 and AVX512 IFUNC versions.
1579         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1580         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1581         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1582         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1583         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1584         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1585         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1586         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1587         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1588         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1589         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1590         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1591         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1592         test.
1593         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1594         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1595         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1596         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1597         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1598         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1599         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1600         * NEWS: Mention addition of x86_64 vector log.
1602 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1604         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1605         cfi_adjust_cfa_offset argument.
1606         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1607         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1609         [BZ #18034]
1610         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1611         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1612         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1613         ordering using ldar.
1614         (_dl_tlsdesc_dynamic): Likewise.
1615         (_dl_tlsdesc_return_lazy): Likewise.
1616         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1617         relaxed atomics instead of volatile and synchronize with release store.
1618         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1619         volatile.
1620         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1622 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1624         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1625         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1626         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1627         * sysdeps/x86_64/fpu/Versions: New versions added.
1628         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1629         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1630         build of SSE, AVX2 and AVX512 IFUNC versions.
1631         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1632         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1633         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1634         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1635         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1636         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1637         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1638         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1639         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1640         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1641         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1642         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1643         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1644         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1645         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1646         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1647         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1649         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1650         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1651         * NEWS: Mention addition of x86_64 vector sinf.
1653 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1655         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1656         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1657         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1658         Remove variable.
1659         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1660         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1662 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1664         [BZ #18530]
1665         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1666         strong alias of _IO_fputs.  Use libc_hidden_def.
1667         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1668         and define as weak alias of __fputs_unlocked.  Use
1669         libc_hidden_weak.
1670         * include/stdio.h (__fputs_unlocked): Declare.  Use
1671         libc_hidden_proto.
1672         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1673         fputs_unlocked.
1675         [BZ #18529]
1676         * resolv/netdb.h [__USE_POSIX]: Change condition to
1677         [__USE_XOPEN2K].
1678         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1679         not expect.
1680         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1681         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1682         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1683         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1684         [XPG4 || UNIX98] (AI_ALL): Likewise.
1685         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1686         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1687         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1688         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1689         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1690         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1691         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1692         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1693         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1694         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1695         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1696         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1697         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1698         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1699         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1700         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1701         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1702         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1703         [XPG4 || UNIX98] (gai_strerror): Likewise.
1704         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1705         [XPG4 || UNIX98] (getnameinfo): Likewise.
1707         [BZ #18528]
1708         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1709         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1710         __USE_XOPEN2K8].
1711         (getgrent): Likewise.
1712         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1713         expect.
1714         [XPG3 || POSIX2008] (endgrent): Likewise.
1715         [XPG3] (setgrent): Likewise.
1716         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1717         variable.
1718         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1720         [BZ #18527]
1721         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1722         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1723         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1724         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1725         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1726         * include/unistd.h (__getlogin_r): Declare.  Use
1727         libc_hidden_proto.
1728         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1729         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1730         variable.
1731         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1732         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1733         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1735 2015-06-12  Martin Sebor  <msebor@redhat.com>
1737         [BZ #18512]
1738         * Makerules (check-install-supported): New target.
1739         (install): Add check-install-supported as a dependency.
1740         * manual/install.texi (Installing the C Library): Document
1741         that overriding prefix and exec_prefix is not supported.
1742         Mention DESTDIR.
1743         * INSTALL: Regenerate from the above.
1745 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1747         [BZ #18519]
1748         * posix/Versions (libc): Export __libc_pread at version
1749         GLIBC_PRIVATE.
1750         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1751         instead of pread.
1752         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1753         variable.
1755         [BZ #18522]
1756         * misc/efgcvt_r.c
1757         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1758         (cvt_symbol): Use weak_alias instead of strong_alias.
1759         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1760         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1761         Remove variable.
1762         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1763         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1765         [BZ #18520]
1766         * inet/herrno.c (h_errno): Rename to __h_errno.
1767         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1768         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1769         to __h_errno instead of h_errno.
1770         * nptl/herrno.c (h_errno): Rename to __h_errno.
1771         (__h_errno_location): Refer to __h_errno not h_errno.
1772         * resolv/Versions (h_errno): Rename to __h_errno.
1773         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1774         Remove variable.
1775         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1777 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1779         * configure.ac: More strict check for AVX512 assembler support.
1780         * configure: Regenerated.
1782         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1783         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1784         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1785         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1786         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1787         * sysdeps/x86_64/fpu/Versions: New versions added.
1788         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1789         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1790         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1791         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1792         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1793         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1794         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1795         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1796         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1797         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1798         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1799         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1800         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1801         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1802         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1803         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1804         test.
1805         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1806         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1807         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1808         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1809         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1810         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1811         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1812         * NEWS: Mention addition of x86_64 vector sin.
1814 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1816         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1817         comment.
1819 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1821         [BZ #18479]
1822         * nptl/pt-interp.c: New file.
1823         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1824         Add pt-interp.
1825         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1826         $(common-objpfx)runtime-linker.h.
1828 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1830         * Makeconfig (+interp): Remove unused variable.
1831         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1832         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1833         $(elf-objpfx)runtime-linker.h.
1834         ($(elf-objpfx)runtime-linker.h): Rename to
1835         $(common-objpfx)runtime-linker.h and move ...
1836         * Makerules [$(build-shared) = yes]: ... here.
1837         * elf/interp.c: Include <runtime-linker.h> instead of
1838         <elf/runtime-linker.h>.
1840 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1842         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1843         (__gettimeofday_syscall): Remove vsyscall fallback.
1844         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1845         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1846         Add syscall fallback function.
1847         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1848         if vDSO is not present.
1849         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1850         fallback function.
1851         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1852         present.
1853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1854         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1856 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1858         [BZ #18497]
1859         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1860         of wcscmp.
1861         (wcscmp): Define as weak alias of WCSCMP.
1862         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1863         wcscoll.
1864         (USE_HIDDEN_DEF): Define.
1865         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1866         __wcscoll.  Don't use libc_hidden_weak.
1867         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1868         wcscmp.
1869         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1870         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1871         __GI_wcscmp.
1872         (weak_alias): Undefine and redefine.
1873         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1874         __wcscmp and define as weak alias of __wcscmp.
1875         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1876         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1877         (__wcscoll): Likewise.
1878         (wcscmp): Don't use libc_hidden_proto.
1879         (wcscoll): Likewise.
1880         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1881         wcscoll.
1882         * posix/regexec.c (check_node_accept_bytes): Likewise.
1883         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1884         variable.
1885         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1886         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1888         [BZ #18507]
1889         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1890         __fstatvfs and define as weak alias of __fstatvfs.  Use
1891         libc_hidden_weak.
1892         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1893         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1894         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1895         Define as alias of __fstatvfs, not fstatvfs.
1896         (fstatvfs64): Likewise.
1897         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1898         Define as alias of __statvfs, not statvfs.
1899         (statvfs64): Likewise.
1900         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1901         Remove variable.
1903 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1906         (HAVE_GETCPU_VSYSCALL): Define.
1907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1908         (HAVE_GETCPU_VSYSCALL): Likewise.
1909         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1910         * sysdeps/unix/sysv/linux/sched_getcpu.c
1911         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1912         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1913         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1914         prototype.
1915         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1916         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1917         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1918         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1919         Define.
1920         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1921         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1922         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1923         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1925 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1927         * sysdeps/x86_64/fpu/Makefile: New file.
1928         * sysdeps/x86_64/fpu/Versions: New file.
1929         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1930         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1931         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1932         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1933         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1934         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1935         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1936         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1937         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1938         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1939         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1940         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1941         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1942         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1943         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1944         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1945         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1946         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1947         * sysdeps/x86_64/configure: Regenerated.
1948         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1949         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1950         * manual/install.texi (Configuring and compiling): Document
1951         --disable-mathvec.
1952         * INSTALL: Regenerated.
1953         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1955         * math/Makefile: Added rules for vector tests.
1956         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1957         declaration under condition.
1958         * math/test-double-vlen2.h: New file.
1959         * math/test-double-vlen4.h: New file.
1960         * math/test-double-vlen8.h: New file.
1961         * math/test-vec-loop.h: Added initialization macro.
1962         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1963         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1964         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1965         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1966         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1967         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1968         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1969         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1970         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1971         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1972         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1974         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1975         * sysdeps/x86_64/fpu/Versions: New versions added.
1976         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1977         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1978         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1979         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1980         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1981         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1982         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1983         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1984         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1985         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1986         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1987         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1988         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1989         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1990         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1991         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1992         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1993         * NEWS: Mention addition of x86_64 vector cosf.
1995         * math/Makefile: Added CFLAGS for new tests.
1996         * math/test-float-vlen16.h: New file.
1997         * math/test-float-vlen4.h: New file.
1998         * math/test-float-vlen8.h: New file.
1999         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2000         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2001         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2002         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2003         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2004         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2005         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2007         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2008         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2009         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2011 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2013         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2014         * locale/programs/ld-ctype.c: Likewise.
2016 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2018         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2019         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2020         bit_ZMM16_31_state): New macro.
2021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2022         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2024 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2026         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2028 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2030         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2032 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2034         [BZ #18498]
2035         * libio/memstream.c (open_memstream): Rename to __open_memstream
2036         and define as weak alias of __open_memstream.
2037         * include/stdio.h (__open_memstream): Declare.  Use
2038         libc_hidden_proto.
2039         (open_memstream): Don't use libc_hidden_proto.
2040         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2041         open_memstream.
2042         * posix/getopt.c (_getopt_internal_r): Likewise.
2043         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2044         variable.
2045         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2046         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2047         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2049         [BZ #18496]
2050         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2051         instead of wcrtomb.
2053         [BZ #18483]
2054         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2055         [__USE_XOPEN2K8].  Remove redundant #endif.
2056         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2057         Remove redundant #if.
2058         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2059         Remove variable.
2060         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2061         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2063         [BZ #18495]
2064         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2065         (__iswlower): Likewise.
2066         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2067         (__iswlower): Likewise.
2068         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2069         instead of towlower.
2070         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2071         instead of iswlower.  Call __towupper instead of towupper.
2072         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2073         instead of iswalnum.
2075 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2077         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2078         errors to stderr.
2080 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2082         [BZ #15661]
2083         [BZ #17322]
2084         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2085         Check for overflow properly.  Check for O_APPEND.  Ignore large
2086         file system block sizes.  Add comments about problems.
2087         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2088         * manual/filesys.texi (Storage Allocation): New node.
2090 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2092         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2093         cancellable syscalls.
2094         (SYS_ify): Add guard to no redefine it.
2095         (INLINE_SYSCALL): Likewise.
2096         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2097         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2098         SYSCALL_CANCEL instead.
2099         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2100         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2101         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2102         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2103         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2104         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2105         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2106         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2107         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2108         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2109         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2110         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2111         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2112         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2113         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2114         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2115         Likewise.
2116         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2117         (__libc_pread64): Likewise.
2118         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2119         (__libc_preadv): Likewise.
2120         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2121         (__libc_readv64): Likewise.
2122         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2123         (__libc_pwrite): Likewise.
2124         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2125         (__libc_pwrite64): Likewise.
2126         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2127         (__libc_pwritev): Likewise.
2128         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2129         (__libc_pwritev64): Likewise.
2130         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2131         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2132         (sync_file_range): Likewise.
2133         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2134         Likewise.
2135         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2136         Likewise.
2137         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2138         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2139         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2140         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2141         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2142         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2143         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2144         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2146         Likewise.
2147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2148         (__libc_read64): Likewise.
2149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2150         Likewise.
2151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2152         Likewise.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2154         Likewise.
2155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2156         Likewise.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2158         (__libc_pread64): Likewise.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2160         Likewise.
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2162         (__libc_pwrite64): Likewise.
2163         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2164         (sync_file_range): Likewise.
2165         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2166         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2167         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2168         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2169         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2170         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2171         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2172         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2173         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2174         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2175         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2176         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2177         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2178         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2179         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2180         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2181         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2182         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2183         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2184         Likewise.
2185         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2186         Likewise.
2187         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2188         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2189         Likewise.
2190         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2191         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2192         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2193         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2194         Likewise.
2195         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2196         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2197         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2198         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2199         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2201 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2203         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2204         Include dl-vdso.
2205         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2206         Use VDSO routines for gettimeofday, clock_gettime if
2207         available.
2208         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2209         Declare VDSO symbols.
2210         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2211         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2212         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2213         * sysdeps/unix/sysv/linux/arm/Versions: Add
2214         __vdso_clock_gettime.
2216 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2218         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2219         be an inline implementation regardless of library is built within.
2220         (open_not_cancel_2): Likewise.
2221         (__read_nocancel): Likewise.
2222         (__write_nocancel): Likewise.
2223         (openat_not_cancel): Likewise.
2224         (openat_not_cancel_3): Likewise.
2225         (openat64_not_cancel): Likewise.
2226         (openat64_not_cancel_3): Likewise.
2227         (__close_nocancel): Likewise.
2228         (pause_not_cancel): Likewise.
2229         (nanosleep_not_cancel): Likewise.
2230         (sigsuspend_not_cancel): Likewise.
2232 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2234         [BZ #14958]
2235         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2236         wake-up.
2237         (__pthread_rwlock_rdlock_slow): Likewise.
2238         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2239         Likewise.
2240         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2241         Likewise.
2242         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2243         * nptl/tst-rwlock16.c: New file.
2244         * nptl/Makefile (tests): Add new test.
2246 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2248         [BZ #18324]
2249         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2250         missing wake-up of readers.
2251         * nptl/tst-rwlock15.c: New file.
2252         * nptl/Makefile (tests): Add new test.
2254 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2256         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2257         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2258         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2259         and __nacl_supply_interface_rtld.
2260         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2261         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2262         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2263         Add __nacl_supply_interface_rtld.
2264         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2266 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2268         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2269         isfinite.
2270         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2271         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2273 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2275         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2276         __signbit* with standard C99 macros.
2277         * math/e_exp10l.c: Likewise.
2278         * math/e_exp2l.c: Likewise.
2279         * math/e_scalb.c: Likewise.
2280         * math/e_scalbf.c: Likewise.
2281         * math/e_scalbl.c: Likewise.
2282         * math/s_ldexp.c: Likewise.
2283         * math/s_ldexpf.c: Likewise.
2284         * math/s_ldexpl.c: Likewise.
2285         * math/w_atan2.c: Likewise.
2286         * math/w_atan2f.c: Likewise.
2287         * math/w_atan2l.c: Likewise.
2288         * math/w_cosh.c: Likewise.
2289         * math/w_coshf.c: Likewise.
2290         * math/w_coshl.c: Likewise.
2291         * math/w_exp10.c: Likewise.
2292         * math/w_exp10f.c: Likewise.
2293         * math/w_exp10l.c: Likewise.
2294         * math/w_exp2.c: Likewise.
2295         * math/w_exp2f.c: Likewise.
2296         * math/w_exp2l.c: Likewise.
2297         * math/w_fmod.c: Likewise.
2298         * math/w_fmodf.c: Likewise.
2299         * math/w_fmodl.c: Likewise.
2300         * math/w_hypot.c: Likewise.
2301         * math/w_hypotf.c: Likewise.
2302         * math/w_hypotl.c: Likewise.
2303         * math/w_jnl.c: Likewise.
2304         * math/w_lgamma.c: Likewise.
2305         * math/w_lgamma_r.c: Likewise.
2306         * math/w_lgammaf.c: Likewise.
2307         * math/w_lgammaf_r.c: Likewise.
2308         * math/w_lgammal.c: Likewise.
2309         * math/w_lgammal_r.c: Likewise.
2310         * math/w_pow.c: Likewise.
2311         * math/w_powf.c: Likewise.
2312         * math/w_powl.c: Likewise.
2313         * math/w_remainder.c: Likewise.
2314         * math/w_remainderf.c: Likewise.
2315         * math/w_remainderl.c: Likewise.
2316         * math/w_scalb.c: Likewise.
2317         * math/w_scalbf.c: Likewise.
2318         * math/w_scalbl.c: Likewise.
2319         * math/w_scalbln.c: Likewise.
2320         * math/w_scalblnf.c: Likewise.
2321         * math/w_scalblnl.c: Likewise.
2322         * math/w_sinh.c: Likewise.
2323         * math/w_sinhf.c: Likewise.
2324         * math/w_sinhl.c: Likewise.
2325         * math/w_tgamma.c: Likewise.
2326         * math/w_tgammaf.c: Likewise.
2327         * math/w_tgammal.c: Likewise.
2328         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2329         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2330         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2331         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2332         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2333         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2334         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2335         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2336         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2337         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2338         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2356         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2359         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2360         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2361         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2362         * stdio-common/printf_fp.c: Likewise.
2363         * stdio-common/printf_fphex.c: Likewise.
2364         * stdio-common/printf_size.c: Likewise.
2366 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2368         [BZ #18470]
2369         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2370         strnlen.
2371         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2372         Remove variable.
2373         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2374         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2375         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2376         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2377         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2378         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2379         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2380         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2381         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2382         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2384         [BZ #18468]
2385         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2386         weak alias of __wmemchr.  Use libc_hidden_weak.
2387         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2388         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2389         instead of wmemchr.
2391 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2393         [BZ #18383]
2394         * elf/tst-tlsalign-extern.c: New file.
2395         * elf/tst-tlsalign-extern-static.c: New file.
2396         * elf/tst-tlsalign-vars.c: New file.
2397         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2398         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2399         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2400         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2401         (test-xfail-tst-tlsalign-extern-static): New variable.
2403 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2405         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2406         Use variable name _sc_err instead of err.
2407         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2408         instead of ret.
2409         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2410         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2411         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2412         (INLINE_SYSCALL): Likewise.
2414         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2415         * include/string.h (__strnlen): Use libc_hidden_proto.
2416         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2417         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2418         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2419         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2420         (libc_hidden_def): Undefine and redefine.
2421         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2422         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2423         __GI_strnlen.
2424         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2425         libc_hidden_def.
2426         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2428         [BZ #18469]
2429         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2430         weak alias of __towlower.  Use libc_hidden_weak.
2431         (towupper): Rename to __towupper and define as weak alias of
2432         __towupper.  Use libc_hidden_weak.
2433         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2434         (__towupper): Likewise.
2435         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2436         __towlower instead of towlower.
2438 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2440         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2441         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2443 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2445         * sysdeps/aarch64/libm-test-ulps: Update.
2447 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2449         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2450         Define.
2451         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2453         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2454         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2455         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2456         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2457         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2459 2015-06-01  Martin Sebor  <msebor@redhat.com>
2461         [BZ #18116]
2462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2463         (__setcontext): Use extended four-operand version of mtsf whenever
2464         possible.
2465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2466         (__novec_swapcontext): Likewise.
2468 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2470         * benchtests/scripts/compare_bench.py: New file.
2471         * benchtests/scripts/import_bench.py (mean): New function.
2472         (split_list): Likewise.
2473         (do_for_all_timings): Likewise.
2474         (compress_timings): Likewise.
2476         * benchtests/scripts/import_bench.py: New file.
2477         * benchtests/scripts/validate_benchout.py: Import import_bench
2478         instead of jsonschema.
2479         (validate_bench): Remove function.
2480         (main): Use import_bench.
2482 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2484         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2485         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2487 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2491 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2493         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2494         set THREAD_SELF->tid to a magic value and futex-wake it.
2495         Pass its address to the thread_exit system call.
2496         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2497         bit is clear.
2498         * sysdeps/nacl/lowlevellock.h: New file.
2499         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2501         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2502         Add TIMEOUT to current time, don't subtract it.
2504 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2506         [BZ #18422]
2507         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2508         ($(objpfx)tst-audit2.out): Also depend on
2509         $(objpfx)tst-auditmod9b.so.
2510         * elf/tst-audit2.c: Include <dlfcn.h>.
2511         (calloc_called): New.
2512         (calloc): Allow to be called more than once.
2513         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2515 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2517         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2518         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2520 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2522         * stdlib/monetary.h: Fix comment.
2524 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2526         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2527         Avoid using variables in #defines that might cause shadowing.
2528         (INTERNAL_VSYSCALL_CALL): Likewise.
2530 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2532         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2534         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2535         * nptl/lll_timedlock_wait.c: ... to this new file.
2536         * nptl/Makefile (libpthread-routines): Add it.
2537         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2538         * nptl/lll_timedwait_tid.c: ... to this new file.
2539         * nptl/Makefile (libpthread-routines): Add it.
2540         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2541         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2542         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2543         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2544         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2545         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2546         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2547         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2548         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2549         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2551 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2553         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2554         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2555         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2557         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2558         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2559         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2561         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2562         * sysdeps/unix/sysv/linux/tile/sysdep.h
2563         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2564         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2565         using vDSO syscall macro.
2567 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2569         [BZ #17293]
2570         * uk_UA: Fix sorting order for Ukrainian locale
2572 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2574         * stdlib/monetary.h: Fix comment.
2576 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2578         [BZ #18234]
2579         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2580         st_mtim and st_ctim members.
2581         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2582         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2583         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2584         (struct stat64): Likewise.
2585         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2586         (struct stat64): Likewise.
2587         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2588         (struct stat64): Likewise.
2590 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2592         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2593         Define and include sysdep-vdso.h.
2594         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2595         Likewise.
2596         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2597         Likewise.
2598         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2599         Define with VDSO_SYMBOL and use PTR_MANGLE.
2600         (__vdso_clock_gettime): Likewise.
2601         (__vdso_clock_getres): Likewise.
2602         (_libc_vdso_platform_setup): Likewise.
2603         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2604         Likewise.
2605         (_libc_vdso_platform_setup): Likewise.
2606         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2607         Likewise.
2608         (__vdso_clock_gettime): Likewise.
2609         (__vdso_clock_getres): Likewise.
2610         (__vdso_get_tbfreq): Likewise.
2611         (__vdso_getcpu): Likewise.
2612         (__vdso_time): Likewise.
2613         (__vdso_sigtramp_rt64): Likewise.
2614         (__vdso_signtramp32): Likewise.
2615         (__vdso_sigtramp_rt32): Likewise.
2616         (_libc_vdso_platform_setup): Likewise.
2617         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2618         Likewise.
2619         (__vdso_clock_gettime): Likewise.
2620         (__vdso_clock_getres): Likewise.
2621         (_libc_vdso_platform_setup): Likewise.
2622         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2623         Likewise.
2624         (__vdso_clock_gettime): Likewise.
2625         (_libc_vdso_platform_setup): Likewise.
2626         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2627         Likewise.
2628         (__vdso_getcpu): Likewise.
2629         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2630         Use VDSO_SYMBOL macro to define.
2631         (__vdso_clock_gettime): Likewise.
2632         (__vdso_clock_getres): Likewise.
2633         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2634         Likewise.
2635         (__vdso_clock_gettime): Likewise.
2636         (__vdso_clock_getres): Likewise.
2637         (__vdso_get_tbfreq): Likewise.
2638         (__vdso_getcpu): Likewise.
2639         (__vdso_time): Likewise.
2640         (__vdso_sigtramp_rt64): Likewise.
2641         (__vdso_signtramp32): Likewise.
2642         (__vdso_sigtramp_rt32): Likewise.
2643         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2644         Likewise.
2645         (__vdso_clock_gettime): Likewise.
2646         (__vdso_clock_getres): Likewise.
2647         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2648         Likewise.
2649         (__vdso_clock_gettime): Likewise.
2650         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2651         Likewise.
2652         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2653         macro.
2654         (INTERNAL_VSYSCALL): Likewise.
2655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2656         Remove macro.
2657         (INTERNAL_VSYSCALL): Likewise.
2658         (INTERNAL_VSYSCALL_NCS): Likewise.
2659         (INTERNAL_VSYSCALL_CALL): New macro.
2660         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2662         Likewise.
2663         (INTERNAL_VSYSCALL): Likewise.
2664         (INTERNAL_VSYSCALL_NCS): Likewise.
2665         (INTERNAL_VSYSCALL_CALL): New macro.
2666         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2668         (INLINE_VSYSCALL): Remove macro.
2669         (INTERNAL_VSYSCALL): Remove macro.
2670         (INTERNAL_VSYSCALL_NCS): Remove macro.
2671         (INTERNAL_VSYSCALL_CALL): New macro.
2672         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2673         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2674         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2675         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2676         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2678         (INLINE_VSYSCALL): Remove macro.
2679         (INTERNAL_VSYSCALL): Likewise.
2680         (INTERNAL_VSYSCALL_NCS): Likewise.
2681         (INTERNAL_VSYSCALL_CALL): New macro.
2682         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2683         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2684         PTR_DEMANGLE on vDSO pointer.
2685         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2686         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2687         macro.
2688         (INTERNAL_SYSCALL): Likewise.
2689         (INTERNAL_VSYSCALL_NCS): Remove macro.
2690         (INTERNAL_VSYSCALL_CALL): New macro.
2691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2692         Remove macro.
2693         (INTERNAL_VSYSCALL): Likewise.
2694         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2695         sysdep-vdso.h instead of libc-vdso.h.
2696         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2697         definition.
2698         (INLINE_VSYSCALL): Likewise.
2699         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2700         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2701         definition.
2702         (INLINE_VSYSCALL): Likewise.
2703         (INTERNAL_VSYSCALL): Likewise.
2704         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2705         * sysdeps/unix/sysv/linux/timespec_get.c
2706         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2707         (timespec_get): Use ANSI prototype.
2708         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2709         and definition for Linux.
2711 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2713         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2714         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2716 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2718         [BZ #18410]
2719         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2720         for missing DT_PLTRELSZ.
2722 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2724         Remove obsolete aliases that broke 'locale -a'
2725         [BZ #18412]
2726         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2727         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2728         breaking some applications that use 'locale -a' output.
2729         Change the encoding of this file from Latin-1 to ASCII to avoid
2730         other potential problems with people grepping this file.
2732 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2734         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2735         -fasynchronous-unwind-tables.
2736         (CFLAGS-sendto.c): Likewise.
2737         (CFLAGS-sendmsg.c): Likewise.
2738         (CFLAGS-connect.c): Likewise.
2739         (CFLAGS-recvmsg.c): Likewise.
2740         (CFLAGS-recvfrom.c): Likewise.
2741         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2742         (SOCKETCALL): New macro: non-cancellable socketcall.
2743         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2744         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2745         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2746         * sysdeps/unix/sysv/linux/accept.c: New file.
2747         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2748         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2749         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2750         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2751         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2752         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2753         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2754         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2755         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2756         * sysdeps/unix/sysv/linux/send.c: Likewise.
2757         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2758         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2759         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2760         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2761         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2762         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2763         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2764         prototype.
2765         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2766         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2767         instead of __internal_xxx function.
2768         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2769         prototype.
2770         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2771         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2772         instead of __internal_xxx function.
2773         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2774         prototype.
2775         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2776         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2777         instead of __internal_xxx function.
2778         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2779         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2780         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2781         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2782         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2783         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2784         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2785         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2786         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2787         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2788         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2789         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2790         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2791         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2792         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2793         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2794         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2795         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2796         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2797         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2800         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2801         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2802         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2803         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2804         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2805         * sysdeps/unix/sysv/linux/send.S: Likewise.
2806         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2807         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2808         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2809         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2810         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2811         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2812         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2813         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2814         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2815         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2816         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2817         socketcall is implemented in GLIBC.
2819 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2821         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2822         (__fma): Ignore uninitialized warnings around packing.
2823         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2824         (__fmaf): Ignore uninitialized warnings around packing.
2825         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2826         (__fmal): Ignore uninitialized warnings around packing.
2828         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2829         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2830         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2831         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2833         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2834         switch statement into default case.
2835         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2837         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2838         a conditional in forcing "inexact".
2839         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2840         Likewise.
2842 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2844         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2845         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2846         for each INTERNAL_SYSCALL use.
2848 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2850         [BZ #438]
2851         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2852         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2853         variable.
2855         [BZ #18444]
2856         * string/basename.c (basename): Rename to __basename and define as
2857         weak alias of __basename.  Use libc_hidden_weak.
2858         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2859         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2860         __basename instead of basename.
2861         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2862         Remove variable.
2863         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2865 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2867         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2868         (_IO_JUMPS_FILE_plus): New.
2869         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2870         _IO_CAST_FIELD_ACCESS.
2871         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2872         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2873         * libio/freopen.c (freopen): Likewise.
2874         * libio/freopen64.c (freopen64): Likewise.
2875         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2876         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2877         * libio/iofwide.c (_IO_fwide): Likewise.
2878         * libio/memstream.c (open_memstream): Likewise.
2879         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2880         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2881         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2883 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2885         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2886         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2887         NADJ.
2888         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2889         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2890         NADJ.
2891         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2892         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2893         NADJ.
2895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2896         (p == 4) case.
2898         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2899         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2900         Remove variable.
2901         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2902         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2903         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2905 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2907         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2908         Adjust jump table label generation macros.
2910 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2912         * stdio-common/vfprintf.c (vfprintf): Move local variables
2913         args_malloced, specs, specs_malloced, and the code after
2914         do_positional to the printf_positional function.
2915         (printf_positional): New function.
2917 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2919         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2920         function.
2921         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2922         STEP4_TABLE, process_arg): Move macro definitions
2923         out of the vfprintf function.  (Cosmetic change only.)
2925 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2927         * benchtests/Makefile (stdio-common-bench): Define.
2928         (benchset): Add stdio-common-bench.
2929         * sprintf-inputs: New file.
2930         * sprintf-source.c: New file.
2932 2015-05-21  Andreas Schwab  <schwab@suse.de>
2934         [BZ #13028]
2935         [BZ #17053]
2936         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2937         of struct __res_state.
2938         * resolv/res_send.c (__libc_res_nsend): Likewise.
2939         (get_nsaddr): New function.
2940         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2941         statp directly.
2943 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2945         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2946         -D_POSIX_C_SOURCE=199506L.
2948         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2950         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2951         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2952         Do not mention otherwise.
2953         [POSIX] (_XOPEN_VERSION): Do not expect.
2954         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2955         [POSIX] (_POSIX2_C_BIND): Likewise.
2956         [POSIX] (_POSIX2_VERSION): Likewise.
2957         [POSIX] (_XOPEN_XPG2): Likewise.
2958         [POSIX] (_XOPEN_XPG3): Likewise.
2959         [POSIX] (_XOPEN_XPG4): Likewise.
2960         [POSIX] (_XOPEN_UNIX): Likewise.
2961         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2962         [POSIX] (_POSIX_BARRIERS): Likewise.
2963         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2964         [POSIX] (_POSIX_CPUTIME): Likewise.
2965         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2966         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2967         [POSIX] (_POSIX_SHELL): Likewise.
2968         [POSIX] (_POSIX_SPAWN): Likewise.
2969         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2970         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2971         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2972         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2973         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2974         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2975         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2976         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2977         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2978         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2979         [POSIX] (_POSIX2_PBS): Likewise.
2980         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2981         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2982         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2983         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2984         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2985         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2986         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2987         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2988         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2989         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2990         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2991         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2992         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2993         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2994         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2995         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2996         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2997         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2998         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2999         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3000         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3001         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3002         [POSIX] (_SC_2_C_BIND): Likewise.
3003         [POSIX] (_SC_2_C_VERSION): Likewise.
3004         [POSIX] (_SC_2_PBS): Likewise.
3005         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3006         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3007         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3008         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3009         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3010         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3011         [POSIX] (_SC_BARRIERS): Likewise.
3012         [POSIX] (_SC_BASE): Likewise.
3013         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3014         [POSIX] (_SC_DEVICE_IO): Likewise.
3015         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3016         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3017         [POSIX] (_SC_FD_MGMT): Likewise.
3018         [POSIX] (_SC_FIFO): Likewise.
3019         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3020         [POSIX] (_SC_FILE_LOCKING): Likewise.
3021         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3022         [POSIX] (_SC_IOV_MAX): Likewise.
3023         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3024         [POSIX] (_SC_NETWORKING): Likewise.
3025         [POSIX] (_SC_PAGE_SIZE): Likewise.
3026         [POSIX] (_SC_PASS_MAX): Likewise.
3027         [POSIX] (_SC_PIPE): Likewise.
3028         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3029         [POSIX] (_SC_REGEXP): Likewise.
3030         [POSIX] (_SC_SHELL): Likewise.
3031         [POSIX] (_SC_SIGNALS): Likewise.
3032         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3033         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3034         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3035         [POSIX] (_SC_USER_GROUPS): Likewise.
3036         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3037         [POSIX] (_SC_STREAMS): Likewise.
3038         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3039         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3040         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3041         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3042         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3043         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3044         [POSIX] (_PC_FILESIZEBITS): Likewise.
3045         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3046         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3047         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3048         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3049         [POSIX] (uid_t): Likewise.
3050         [POSIX] (gid_t): Likewise.
3051         [POSIX] (off_t): Likewise.
3052         [POSIX] (pid_t): Likewise.
3053         [POSIX] (cuserid): Allow.
3054         (_SC_2_CHAR_TERM): Require constant.
3055         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3056         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3057         variable.
3059 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3061         * sysdeps/nacl/pthread-pids.h: New file.
3062         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3063         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3065         * nptl/pthread-pids.h: New file.
3066         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3067         * nptl/nptl-init.c: Include <pthread-pids.h>.
3068         (__pthread_initialize_minimal_internal):
3069         Call __pthread_initialize_pids instead of set_tid_address syscall.
3071         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3072         * sysdeps/posix/usleep.c: ... here.
3074 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3076         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3077         call_pselect6 object.
3078         [$(subdir) = io]: Remove call_sync_file_range object.
3079         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3080         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3081         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3082         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3084 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3086         * math/s_cproj.c: Add include "math_private.h".
3087         * math/s_cprojf.c: Likewise.
3088         * math/s_cprojl.c: Likewise.
3090 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3092         [BZ #18244]
3093         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3094         high mantissa bit when testing whether P is a NaN.
3095         * math/libm-test.inc (remainder_test_data): Add more tests.
3096         (remquo_test_data): Likewise.
3098         [BZ #18049]
3099         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3100         below -32, return the argument, with underflow if subnormal.
3101         * math/auto-libm-test-in: Add more tests of atanh.
3102         * math/auto-libm-test-out: Regenerated.
3104 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3106         [BZ #18434]
3107         * nptl/tst-sem15.c: New file.
3108         * nptl/Makefile (tests): Add it.
3109         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3110         s/<</>>/ to fix typo in EOVERFLOW check.
3111         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3113 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3115         * manual/strings.texi (envz_remove): Fix typo in safety
3116         annotations.
3118 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3119             Steve Ellcey  <sellcey@imgtec.com>
3121         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3122         in order to avoid strict alias warnings.
3123         (iruserok_af): Ditto for ra.
3125 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3127         [BZ #17581]
3128         * malloc/hooks.c
3129         (magicbyte): Convert to a function and avoid returning 0x01.
3130         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3131         (mem2chunk_check): Fix unsigned comparisons to zero.
3132         Hoist defs of sz and magic.
3134 2015-05-19  Richard Henderson  <rth@redhat.com>
3136         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3138         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3140 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3142         [BZ #16159]
3143         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3144         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3145         (reused_arena): Find a non-corrupt arena.
3146         (heap_trim): Pass arena to unlink.
3147         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3148         malloc_printerr.
3149         (top_check): Likewise.
3150         (free_check): Likewise.
3151         (realloc_check): Likewise.
3152         * malloc/malloc.c (malloc_printerr): Add arena argument.
3153         (unlink): Likewise.
3154         (munmap_chunk): Adjust.
3155         (ARENA_CORRUPTION_BIT): New macro.
3156         (arena_is_corrupt): Likewise.
3157         (set_arena_corrupt): Likewise.
3158         (sysmalloc): Use mmap if there are no usable arenas.
3159         (_int_malloc): Likewise.
3160         (__libc_malloc): Don't fail if arena_get returns NULL.
3161         (_mid_memalign): Likewise.
3162         (__libc_calloc): Likewise.
3163         (__libc_realloc): Adjust for additional argument to
3164         malloc_printerr.
3165         (_int_free): Likewise.
3166         (malloc_consolidate): Likewise.
3167         (_int_realloc): Likewise.
3168         (_int_memalign): Don't touch corrupt arenas.
3169         * malloc/tst-malloc-backtrace.c: New test case.
3171         * Makefile (summarize-tests): Fix return value on success.
3173         * manual/string.texi (Envz Functions): Add envz_remove.
3175 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3177         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3178         (invalid_name): New function, broken out of ...
3179         (__opendirat): ... here.  Call it.
3180         (need_isdir_precheck): New function, broken out of ...
3181         (__opendirat): ... here.  Call it.
3182         Use __fxstatat64, not __xstatat64.
3183         (opendir_oflags): New function, broken out of ...
3184         (__opendirat): ... here.  Call it.
3185         (opendir_tail): New function, broken out of ...
3186         (__opendirat): ... here.  Call it.
3187         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3188         opendir_tail, rather than punting to __opendirat.
3189         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3191 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3193         * .gitignore: Ignore generated *.pyc.
3195 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3197         * include/stdio.h: Define __need_wint_t.
3198         * test-skeleton.c: Avoid `for' loop initial declaration.
3199         * nptl/tst-initializers1.c: Use test-skeleton.c.
3201 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3203         [BZ #18418]
3204         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3206 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3208         [BZ #16352]
3209         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3210         (__ieee754_atanh): Force underflow exception for results with
3211         small absolute value.
3212         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3213         (__ieee754_atanhf): Force underflow exception for results with
3214         small absolute value.
3215         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3216         (__ieee754_atanh): Force underflow exception for results with
3217         small absolute value.
3218         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3219         (__ieee754_atanhf): Force underflow exception for results with
3220         small absolute value.
3221         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3222         (__ieee754_atanhl): Force underflow exception for results with
3223         small absolute value.
3224         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3225         (__ieee754_atanhl): Force underflow exception for results with
3226         small absolute value.
3227         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3228         (__ieee754_atanhl): Force underflow exception for results with
3229         small absolute value.
3230         * math/auto-libm-test-in: Do not allow missing underflow
3231         exceptions from atanh.
3232         * math/auto-libm-test-out: Regenerated.
3234         [BZ #18221]
3235         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3236         2**-28 as threshold for returning x or +/- 1/x.
3237         * math/auto-libm-test-in: Add more tests of tan.
3238         * math/auto-libm-test-out: Regenerated.
3240         [BZ #18220]
3241         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3242         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3243         * math/auto-libm-test-in: Add another test of lgamma.
3244         * math/auto-libm-test-out: Regenerated.
3246 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3248         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3249         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3250         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3251         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3252         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3253         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3254         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3255         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3256         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3257         (log1): Use fabs.  (my_log2): Use fabs.
3258         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3259         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3260         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3261         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3262         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3263         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3264         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3265         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3266         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3267         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3268         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3270 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3272         [BZ #18217]
3273         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3274         as threshold for returning 1 - x.
3275         * math/auto-libm-test-in: Add more tests of erfc.
3276         * math/auto-libm-test-out: Regenerated.
3278 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3280         [BZ #18196]
3281         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3282         threshold for large arguments.
3283         * math/auto-libm-test-in: Add another test of atan.
3284         * math/auto-libm-test-out: Regenerated.
3286         [BZ #16339]
3287         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3288         (__log1p): Force underflow exception for results with small
3289         absolute value.
3290         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3291         (__log1pf): Force underflow exception for results with small
3292         absolute value.
3293         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3294         (__log1p): Force underflow exception for results with small
3295         absolute value.
3296         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3297         (__log1pf): Force underflow exception for results with small
3298         absolute value.
3299         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3300         (__log1pl): Force underflow exception for results with small
3301         absolute value.
3302         * math/auto-libm-test-in: Do not allow missing underflow
3303         exceptions from log1p.
3304         * math/auto-libm-test-out: Regenerated.
3306 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3307             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3309         [BZ #16704]
3310         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3312 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3314         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3315         (libmvec): New variable.
3316         * configure.ac: Added option for mathvec build.
3317         * configure: Regenerated.
3318         * mathvec/Depend: New file.
3319         * mathvec/Makefile: New file.
3320         * shlib-versions: Added libmvec.
3321         * math/Makefile: Added rule for libm.so installation.
3323         * bits/math-vector.h: New file.
3324         * bits/libm-simd-decl-stubs.h: New header.
3325         * math/Makefile (headers): Added new header
3326         libm-simd-decl-stubs.h.
3327         * math/math.h (__MATHCALL_VEC): New macro.
3329         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3330         for conditions in testing functions.
3331         * math/Makefile: Added call of libm-have-vector-test.sh.
3332         * math/libm-test.inc (HAVE_VECTOR): New macros.
3334         * math/libm-test.inc: START refactored.
3335         * math/test-double.c (TEST_MATHVEC): Add define.
3336         * math/test-float.c: Likewise.
3337         * math/test-idouble.c: Likewise.
3338         * math/test-ifloat.c: Likewise.
3339         * math/test-ildoubl.c: Likewise.
3340         * math/test-ldouble.c: Likewise.
3341         * sysdeps/generic/math-tests-arch.h
3342         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3343         architecture check.
3345         * math/test-double.c (FUNC_TEST): New macro.
3346         * math/test-float.c: Likewise.
3347         * math/test-idouble.c: Likewise.
3348         * math/test-ifloat.c: Likewise.
3349         * math/test-ildoubl.c: Likewise.
3350         * math/test-ldouble.c: Likewise.
3351         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3353 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3355         * sysdeps/nacl/fdopendir.c: New file.
3357         * dirent/scandir-tail.c: New file.
3358         * dirent/scandir64-tail.c: New file.
3359         * dirent/Makefile (routines): Add them.
3360         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3361         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3362         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3363         [!SCANDIR] (SCANDIR_TAIL): New macro.
3364         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3365         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3366         (SCANDIRAT): Macro removed.
3367         (SCANDIR_TAIL): New macro.
3368         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3369         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3370         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3371         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3372         (READDIR): Macro removed.
3373         (SCANDIR_TAIL): New macro.
3374         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3375         (SCANDIR_TAIL): New macro.
3377         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3378         * dirent/scandir-cancel.c: ... to this new file.
3379         * dirent/Makefile (routines): Add it.
3380         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3381         * sysdeps/unix/sysv/linux/i386/scandir64.c
3382         (SKIP_SCANDIR_CANCEL): Macro removed.
3383         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3385         * dirent/tst-scandir.c: New file.
3386         * dirent/tst-scandir64.c: New file.
3387         * dirent/Makefile (tests): Add them.
3389 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3391         [BZ #18409]
3392         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3394 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3396         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3397         list.
3399 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3401         * benchtests/bench-strcoll.c: New benchmark.
3402         * benchtests/Makefile: Generate locales and run benchmark.
3403         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3404         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3405         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3406         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3407         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3408         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3409         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3410         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3411         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3412         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3413         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3414         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3415         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3416         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3417         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3418         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3419         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3420         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3421         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3422         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3423         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3424         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3425         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3426         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3428 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3430         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3431         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3433 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3435         * posix/uname-values.h: New file.
3436         * posix/uname.c: Include that instead of <config-name.h>.
3437         * sysdeps/nacl/uname-values.h: New file.
3438         * sysdeps/arm/nacl/uname-values.h: New file.
3440 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3442         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3443         splitting into fields.
3445 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3447         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3448         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3449         * locale/localeinfo.h: Add enum collation_encoding_type.
3450         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3451         * programs/ld-collate.c (collate_output): Add encoding type info.
3452         * string/strcoll_l.c (STRDIFF): New function.
3453         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3454         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3456 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3458         [BZ #18397]
3459         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3460         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3461         <fpu_control.h> instead of <math/fpu_control.c>.
3462         * sysdeps/mips/mips32/fpu/Makefile: New file.
3464 2015-05-11  Andreas Schwab  <schwab@suse.de>
3466         [BZ #18007]
3467         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3468         nss_endgrent.
3469         (_nss_compat_endgrent): Call nss_endgrent.
3470         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3471         nss_endpwent.
3472         (_nss_compat_endpwent): Call nss_endpwent.
3473         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3474         needent, call nss_setspent only if non-zero.
3475         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3476         (internal_endspent): Don't call nss_endspent.
3477         (_nss_compat_endspent): Call nss_endspent.
3478         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3479         Remove.  All uses removed.
3480         (internal_setent): Remove parameter stayopen, add parameter
3481         stream.  Use it instead of global variable.
3482         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3483         (internal_endent, internal_getent): Add parameter stream.  Use it
3484         instead of global variable.
3485         (CONCAT(_nss_files_end,ENTNAME))
3486         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3487         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3488         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3489         uses removed.
3490         (internal_setent, internal_endent): Add parameter stream.  Use it
3491         instead of global variable.
3492         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3493         stream.
3494         (get_next_alias): Add parameter stream.
3495         (_nss_files_getaliasent_r): Pass global stream.
3496         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3497         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3498         (_nss_files_gethostbyname4_r): Pass local stream to
3499         internal_setent, internal_getent and internal_endent.  Remove
3500         locking.
3502 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3504         * tst-strfmon1.c (tests): Update expected currency symbol.
3506 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3508         * sysdeps/nacl/gethostname.c: New file.
3510 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3512         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3513         and sinh.
3514         * math/auto-libm-test-out: Regenerated.
3515         * sysdeps/i386/fpu/libm-test-ulps: Update.
3516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3518 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3520         [BZ #18125]
3521         * stdlib/tst-setcontext3.c: New file.
3522         * stdlib/tst-setcontext3.sh: New file.
3523         * stdlib/Makefile (tests): Add tst-setcontext3.
3524         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3525         to verify test program created output file.
3526         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3527         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3528         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3529         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3531 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3533         [BZ #18383]
3534         * elf/tst-tlsalign.c: New file.
3535         * elf/tst-tlsalign-static.c: New file.
3536         * elf/tst-tlsalign-lib.c: New file.
3537         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3538         (tests-static): Add tst-tlsalign-static.
3539         (modules-names): Add tst-tlsalign-lib.
3540         (test-xfail-tst-tlsalign): New variable.
3541         (test-xfail-tst-tlsalign-static): New variable.
3543         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3544         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3546 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3548         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3549         csqrt, erfc, sin and sincos.
3550         * math/auto-libm-test-out: Regenerated.
3551         * sysdeps/i386/fpu/libm-test-ulps: Update.
3552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3554 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3556         * sysdeps/aarch64/libm-test-ulps: Update.
3558 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3560         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3561         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3562         * math/auto-libm-test-out: Regenerated.
3563         * sysdeps/i386/fpu/libm-test-ulps: Update.
3564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3566 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3568         [BZ #18265]
3569         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3570         (wcsncpy): Likewise.
3572 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3574         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3575         Assume __ASSUME_FALLOCATE is always true.
3576         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3577         (__posix_fallocate64_l64): Likweise.
3578         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3579         (posix_fallocate): Likewise.
3580         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3581         (__posix_fallocate64_l64): Likewise.
3582         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3583         [!__ASSUME_FALLOCATE]: Add comment.
3585 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3587         * sysdeps/unix/sysv/linux/i386/Makefile
3588         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3589         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3590         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3591         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3592         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3593         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3594         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3596 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3598         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3599         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3600         tgamma.
3601         * math/auto-libm-test-out: Regenerated.
3602         * sysdeps/i386/fpu/libm-test-ulps: Update.
3603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3605 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3607         * math/auto-libm-test-in: Add more tests of tgamma.
3608         * math/auto-libm-test-out: Regenerated.
3609         * sysdeps/i386/fpu/libm-test-ulps: Update.
3610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3612         * math/auto-libm-test-in: Add more tests of tanh.
3613         * math/auto-libm-test-out: Regenerated.
3614         * sysdeps/i386/fpu/libm-test-ulps: Update.
3615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3617         * math/auto-libm-test-in: Add more tests of tan.
3618         * math/auto-libm-test-out: Regenerated.
3619         * sysdeps/i386/fpu/libm-test-ulps: Update.
3620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3622         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3623         * math/auto-libm-test-out: Regenerated.
3624         * sysdeps/i386/fpu/libm-test-ulps: Update.
3625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627         * math/auto-libm-test-in: Add another test of pow.
3628         * math/auto-libm-test-out: Regenerated.
3629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3631         * math/auto-libm-test-in: Add more tests of lgamma.
3632         * math/auto-libm-test-out: Regenerated.
3633         * sysdeps/i386/fpu/libm-test-ulps: Update.
3634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3636         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3637         log1p.
3638         * math/auto-libm-test-out: Regenerated.
3639         * sysdeps/i386/fpu/libm-test-ulps: Update.
3640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3642 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3644         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3645         Elf64_Chdr structs and ELFCOMPRESS constants.
3647 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3649         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3650         expm1.
3651         * math/auto-libm-test-out: Regenerated.
3652         * sysdeps/i386/fpu/libm-test-ulps: Update.
3653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655         * math/auto-libm-test-in: Add more tests of erf and erfc.
3656         * math/auto-libm-test-out: Regenerated.
3657         * sysdeps/i386/fpu/libm-test-ulps: Update.
3658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3660 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3662         * config.h.in (HAVE_AARCH64_BE): Add.
3664 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3666         * math/auto-libm-test-in: Add more tests of csqrt.
3667         * math/auto-libm-test-out: Regenerated.
3668         * sysdeps/i386/fpu/libm-test-ulps: Update.
3669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3671         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3672         * math/auto-libm-test-out: Regenerated.
3673         * sysdeps/i386/fpu/libm-test-ulps: Update.
3674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3676         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3678 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3680         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3681         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3683         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3684         (euidaccess, eaccess): Define as weak aliases.
3686         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3687         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3688         but __suseconds_t is often 'long int' so some sources assume that
3689         type is being used (e.g. they use %ld to print tv_usec).
3691 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3693         [BZ #18007]
3694         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3695         (CVE-2014-8121)
3696         * nss/tst-nss-getpwent.c: New file.
3697         * nss/Makefile (tests): Add new test.
3699 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3701         [BZ #18346]
3702         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3703         exponents less than 48 as cases where high part of mantissa needs
3704         examining to determine whether argument is integral.
3705         * math/libm-test.inc (round_test_data): Add more tests.
3707 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3709         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3711 2015-04-27  David S. Miller  <davem@davemloft.net>
3713         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3714         __tls_get_addr.
3715         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3717 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3719         [BZ#18333]
3720         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3722 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3724         [BZ#18333]
3725         * time/tzset.c (parse_tzname): Return error on memory allocation
3726         failure.
3727         * test-skeleton.c (struct temp_name_list): Change type of name
3728         member to non-const.
3729         (add_temp_file): Create a copy of the file name.
3730         (delete_temp_files): Deallocate memory.
3731         (create_temp_file): Add comment.
3733 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3735         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3736         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3738 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3740         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3741         * sysdeps/arm/configure: Regenerated.
3743 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3745         [BZ #17715]
3746         * time/tzfile.c (__tzfile_read): Check for large values of
3747         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3748         * time/tzset.c (__tzstring_len): New function, based on the old
3749         __tzstring function.
3750         (__tzstring): Call __tzstring_len.
3751         (parse_tzname): New helper function extracted from
3752         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3753         the input string.
3754         (parse_offset): New helper function extracted from
3755         __tzset_parse_tz.  Replace switch with fallthrough with
3756         initialization before sscanf.
3757         (parse_rule): Likewise.
3758         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3759         new-style function definition.
3760         * timezone/Makefile (tests): Add tst-tzset.
3761         (tst-tzset.out): Dependencies on time zone files.
3762         (tst-tzset-ENV): Set TZDIR.
3763         (testdata/XT%): Copy crafted time zone files.
3764         * timezone/README: Mention crafted time zone files.
3765         * timezone/testdata/XT1, timezone/testdata/XT2,
3766         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3767         files.
3768         * timezone/tst-tzset.c: New test.
3770 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3772         * Makeconfig (+gccwarn): Remove -Winline.
3774 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3776         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3778 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3780         * NEWS: Mention sysconf() cache information support for s390.
3781         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3783 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3785         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3786         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3787         (__nearbyint): Likewise.
3788         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3789         (copysignl): Likewise.
3791 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3793         [BZ #18287]
3794         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3795         based on padding.  (CVE-2015-1781)
3797 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3799         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3800         libc-vdso.h.
3801         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3802         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3803         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3804         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3805         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3806         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3807         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3808         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3809         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3810         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3811         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3812         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3813         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3814         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3815         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3816         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3817         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3818         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3819         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3820         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3821         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3822         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3823         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3825 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3827         * stdlib/setenv.c (__add_to_environ):
3828         Dump core quickly if setenv (..., NULL, ...) is called.
3829         This time, do it the right way, and pacify GCC with a pragma.
3831 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3833         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3834         IMAP->l_prev cannot be null, and #if out the code for the contrary
3835         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3836         believe that NS (&_dl_ns[NSID]) could point outside the array.
3838         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3839         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3840         before using NSID as an index.
3842 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3844         [BZ #17825]
3845         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3846         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3847         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3849 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3851         Add preliminary port to Google Native Client on ARM.
3852         * abi-tags (.*-.*-nacl.*): New entry.
3853         * sysdeps/arm/nacl: New directory.
3854         * sysdeps/nacl: New directory.
3856 2015-04-16  David S. Miller  <davem@davemloft.net>
3858         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3859         lowlevellock-futex.h
3861 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3863         * sysdeps/tile/configure.ac: New file.
3864         * sysdeps/tile/configure: Regenerated.
3866 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3868         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3869         conditionals for weak_alias and libc_hidden_weak.
3870         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3871         libc_hidden_weak and weak_alias.
3872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3873         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3874         and weak_alias for static one.
3876 2015-04-15  David S. Miller  <davem@davemloft.net>
3878         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3880 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3882         [BZ #18206]
3883         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3884           Use signed comparision instead of substraction to avoid
3885           overflow bug.
3886         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3887           Take the sign of ret.
3888         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3889           Do not expect precise return values. Only the sign matters.
3890         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3891         * wcsmbs/test-wcsncmp.c: New File.
3892         * string/test-strncmp.c: Add wcsncmp support.
3894 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3896         [BZ #6792]
3897         * math/w_log1p.c: New file.
3898         * math/w_log1pf.c: Likewise.
3899         * math/w_log1pl.c: Likewise.
3900         * math/Makefile (libm-calls): Add w_log1p.
3901         * math/s_log1pl.c (log1pl): Remove weak_alias.
3902         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3903         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3904         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3905         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3906         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3907         [NO_LONG_DOUBLE] (log1pl): Likewise.
3908         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3909         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3910         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3911         (log1p): Remove long_double_symbol.
3912         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3913         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3914         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3915         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3916         remove weak_alias for corresponding log1p function.
3917         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3918         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3919         * sysdeps/ia64/fpu/w_log1p.c: New file.
3920         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3921         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3922         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3924 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3926         [BZ #18247]
3927         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3928         decimal exponent by 1.
3929         * stdlib/tst-strtod-round-data: Add more tests.
3930         * stdlib/tst-strtod-round.c (tests): Regenerated.
3932 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3934         * math/auto-libm-test-in: Add more tests of clog and clog10.
3935         * math/auto-libm-test-out: Regenerated.
3936         * sysdeps/i386/fpu/libm-test-ulps: Update.
3937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3941         * Makeconfig (module-cppflags): Exclude all .v.i files.
3942         (skip-module-cppflags): Variable removed.
3944         * configure.ac (libc_config_ok): Initialize before reading
3945         preconfigure scripts, not after.
3946         * configure: Regenerated.
3948         * test-skeleton.c (TIMEOUT): Move #define to top level.
3949         (main): Grok environment variable TEST_DIRECT.  If set, print
3950         test expectation details into that file and then behave as if
3951         given --direct.
3953 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3955         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3956         warning on 32-bit.
3958 2015-04-08  David S. Miller  <davem@davemloft.net>
3960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3962 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3964         * math/auto-libm-test-in: Add more tests of atanh.
3965         * math/auto-libm-test-out: Regenerated.
3966         * sysdeps/i386/fpu/libm-test-ulps: Update.
3967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3969         * math/auto-libm-test-in: Add more tests of atan.
3970         * math/auto-libm-test-out: Regenerated.
3971         * sysdeps/i386/fpu/libm-test-ulps: Update.
3972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3974 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3976         * elf/pldd.c (main): Rewrite to use struct
3977         scratch_buffer instead of extend_alloca.
3978         * elf/pldd-xx.c (find_maps): Likewise.
3979         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3980         <alloca.h>.
3981         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3982         scratch_buffer instead of extend_alloca.
3983         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3984         grp/compat-initgroups.c.
3985         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3986         Rewrite to use struct scratch_buffer instead of extend_alloca.
3987         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3988         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3990 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3992         * math/auto-libm-test-in: Add more tests of cbrt.
3993         * math/auto-libm-test-out: Regenerated.
3994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3996         * math/auto-libm-test-in: Add more tests of cabs.
3997         * math/auto-libm-test-out: Regenerated.
3998         * sysdeps/i386/fpu/libm-test-ulps: Update.
3999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4001         [BZ #18210]
4002         [BZ #18211]
4003         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4004         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4005         computations.
4006         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4007         clog10.
4008         * math/auto-libm-test-out: Regenerated.
4009         * sysdeps/i386/fpu/libm-test-ulps: Update.
4010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4012         [BZ #18197]
4013         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4014         (atan): Set FE_TONEAREST mode for internal computations.
4015         * math/auto-libm-test-in: Add more tests of atan.
4016         * math/auto-libm-test-out: Regenerated.
4018 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4020         [BZ #17930]
4021         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4023 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4025         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4027 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4029         * include/scratch_buffer.h: New file.
4030         * malloc/scratch_buffer_grow.c: Likewise.
4031         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4032         * malloc/scratch_buffer_set_array_size.c: Likewise.
4033         * malloc/tst-scratch_buffer.c: Likewise.
4034         * malloc/Makefile (routines): Add scratch_buffer_grow.
4035         (tests): Add test case.
4036         * malloc/Versions (GLIBC_PRIVATE): Export
4037         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4038         __libc_scratch_buffer_set_array_size.
4040 2015-04-06  Richard Henderson  <rth@redhat.com>
4042         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4043         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4045         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4046         unsigned int before printing.
4048 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4050         [BZ #17596]
4051         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4052         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4054 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4056         * include/libc-internal.h (libc_max_align_t): Define.
4058 2015-04-02  Andreas Schwab  <schwab@suse.de>
4060         [BZ #16850]
4061         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4063 2015-04-02  Mel Gorman  <mgorman@suse.de>
4065         [BZ #17195]
4066         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4067         as well as the main arena.
4069 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4071         [BZ #18185]
4072         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4073         sharing L2 cache to 2 for Silvermont/Knights Landing.
4075 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4077         [BZ #17711]
4078         * config.make.in (have-protected-data): New.
4079         * configure.ac: Check linker support for protected data symbol.
4080         * configure: Regenerated.
4081         * elf/Makefile (modules-names): Add tst-protected1moda and
4082         tst-protected1modb if $(have-protected-data) is yes.
4083         (tests): Add tst-protected1a and tst-protected1b if
4084         $(have-protected-data) is yes.
4085         ($(objpfx)tst-protected1a): New.
4086         ($(objpfx)tst-protected1b): Likewise.
4087         (tst-protected1modb.so-no-z-defs): Likewise.
4088         * elf/tst-protected1a.c: New file.
4089         * elf/tst-protected1b.c: Likewise.
4090         * elf/tst-protected1mod.h: Likewise.
4091         * elf/tst-protected1moda.c: Likewise.
4092         * elf/tst-protected1modb.c: Likewise.
4094 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4096         [BZ #17711]
4097         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4098         indicates it is called from do_lookup_x on relocation against
4099         protected data, skip the data definion in the executable from
4100         copy reloc.
4101         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4102         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4103         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4104         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4105         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4106         otherwise to 0.
4107         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4108         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4109         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4110         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4111         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4112         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4114 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4116         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4117         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4119 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4121         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4122         THREAD_SETMEM_NC.
4123         * sysdeps/x86_64/nptl/tls.h: Ditto.
4125 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4127         * dlfcn/tststatic.c (main): Converted to ...
4128         (do_test): ... this.
4129         (TEST_FUNCTION): New macro.
4130         Include test-skeleton.c.
4132 2015-03-26  Alan Modra  <amodra@gmail.com>
4134         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4135         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4136         zero for undefined weak.
4137         (elf_machine_plt_conflict): Similarly.
4139 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4141         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4142         atanh.
4143         * math/auto-libm-test-out: Regenerated.
4144         * sysdeps/i386/fpu/libm-test-ulps: Update.
4145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4147         * math/auto-libm-test-in: Add another test of asin.
4148         * math/auto-libm-test-out: Regenerated.
4149         * sysdeps/i386/fpu/libm-test-ulps: Update.
4150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4152         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4153         Remove macro.
4154         (LLL_EBX_REG): Likewise.
4155         (LLL_ENTER_KERNEL): Likewise.
4157         * math/auto-libm-test-in: Add more tests of asin.
4158         * math/auto-libm-test-out: Regenerated.
4159         * sysdeps/i386/fpu/libm-test-ulps: Update.
4160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4162         [BZ #18138]
4163         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4164         libc_do_syscall_args): New structure.
4165         (INTERNAL_SYSCALL_MAIN_0): New macro.
4166         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4167         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4168         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4169         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4170         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4171         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4172         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4173         Replace conditional definitions by conditional definitions of ....
4174         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4175         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4176         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4177         (libpthread-sysdep_routines): Add libc-do-syscall.
4178         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4179         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4180         to __NR_futex not 240.
4182 2015-03-25  Alan Modra  <amodra@gmail.com>
4184         * NEWS: Advertise TLS optimization.
4185         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4186         (DT_PPC_NUM): Increment.
4187         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4188         (CHECK_STATIC_TLS): Use here.
4189         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4190         TLS descriptors.
4191         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4192         * sysdeps/powerpc/dl-tls.c: New file.
4193         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4194         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4195         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4196         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4201 2015-03-25  Alan Modra  <amodra@gmail.com>
4203         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4204         for overlapping .opd entries" to "support...".
4205         * sysdeps/powerpc/powerpc64/configure: Regenerate
4207 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4209         * math/auto-libm-test-in: Add more tests of acos.
4210         * math/auto-libm-test-out: Regenerated.
4211         * sysdeps/i386/fpu/libm-test-ulps: Update.
4212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4214         * math/auto-libm-test-in: Add more tests of expm1.
4215         * math/auto-libm-test-out: Regenerated.
4216         * sysdeps/i386/fpu/libm-test-ulps: Update.
4217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4219 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4221         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4222         * math/auto-libm-test-out: Regenerated.
4223         * sysdeps/i386/fpu/libm-test-ulps: Update.
4224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4226         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229         * math/auto-libm-test-in: Add more tests of log2.
4230         * math/auto-libm-test-out: Regenerated.
4231         * sysdeps/i386/fpu/libm-test-ulps: Update.
4232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4234 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4236         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4237         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4238         _IO_IS_APPENDING bit in READ_WRITE instead.
4240 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4242         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4243         (__determine_cpumask_size): Replace extend_alloca with a
4244         variable-length array.  Do not treat res == 0 as an error.
4246 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4248         [BZ #18100]
4249         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4250         and integer overflow.
4251         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4252         (main): Add integer overflow tests.
4253         * manual/pattern.texi (Calling Wordexp): Document additional use
4254         for WRDE_SYNTAX.
4256 2015-03-23  Alan Modra  <amodra@gmail.com>
4258         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4259         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4260         and false branch of conditional.
4261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4262         Likewise.
4264 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4266         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4267         libc-modules.h
4268         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4269         unused declaration of _hurd_intr_rpc_msg_in_trap.
4270         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4271         defined instead of whether it is non-zero.
4272         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4273         input constraint instead of both input and output constraint.  Use ecx
4274         clobber instead of %ecx.
4275         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4276         mutex_unlock): Use a statement expression instead of an expression list.
4277         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4278         type to vm_size_t instead of vm_address_t.
4279         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4280         defined instead of whether it is non-zero.
4281         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4282         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4283         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4284         comparisons with mapaddr.
4285         * nscd/nscd-client.h: Include <time.h>.
4286         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4287         9th parameter to __vm_region instead of int.
4288         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4289         * scripts/check-local-headers.sh (exclude): Add device/,
4290         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4291         cthreads.h.
4293 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4295         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4296         to account for alignment padding.
4297         * sysdeps/arm/memmove.S: Likewise.
4299 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4301         * sysdeps/unix/sysv/linux/generic/README: New file.
4303 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4305         [BZ #18138]
4306         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4307         (futex_abstimed_wait)
4308         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4309         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4310         of lll_futex_timed_wait.
4312 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4314         [BZ #17542]
4315         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4317 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4319         [BZ #17090]
4320         [BZ #17620]
4321         [BZ #17621]
4322         [BZ #17628]
4323         * NEWS: Update.
4324         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4325         entries with Static TLS too.  Skip entries past the end of the
4326         allocated DTV, from Alan Modra.
4327         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4328         Static TLS DTV entry set up from...
4329         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4330         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4331         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4332         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4333         for Static TLS.
4334         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4335         that the slot we find is associated with the given map before
4336         using its generation count.
4337         * nptl_db/db_info.c: Include ldsodefs.h.
4338         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4339         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4340         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4341         (link_map::l_tls_offset): New struct field.
4342         (dtv_t::counter): Likewise.
4343         (rtld_global): New struct.
4344         (_rtld_global): New rtld variable.
4345         (dl_tls_dtv_slotinfo_list): New rtld global field.
4346         (dtv_slotinfo_list): New struct.
4347         (dtv_slotinfo): Likewise.
4348         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4349         (td_lookup): Rename to...
4350         (td_mod_lookup): ... this.  Use new mod parameter instead of
4351         LIBPTHREAD_SO.
4352         * nptl_db/td_thr_tlsbase.c: Include link.h.
4353         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4354         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4355         addresses even if the DTV is out of date or missing them.
4356         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4357         index zero-length arrays.
4358         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4359         (td_lookup): Make it a macro implemented in terms of...
4360         (td_mod_lookup): ... this declaration.
4361         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4362         (DB_MAIN_VARIABLE): Likewise.
4364 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4366         [BZ #18134]
4367         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4369 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4371         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4373 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4375         [BZ #18128]
4376         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4377         (atomic_add, atomic_increment_and_test)
4378         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4380 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4382         * stdlib/setenv.c (__add_to_environ):
4383         Dump core quickly if setenv (..., NULL, ...) is called.
4385 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4387         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4388         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4389         all the necessary asm magic in one place.
4390         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4391         using those.
4393 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4395         [BZ #14906]
4396         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4397         traced file mtime. Use consistent log message.
4398         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4399         (register_traced_file): Call install_watches. Always set mtime.
4400         (invalidate_cache): Iterate over all trace files. Call install_watches.
4401         (inotify_check_files): Don't inline. Handle watching parent
4402         directories and configuration file movement in and out.
4403         (handle_inotify_events): New function.
4404         (main_loop_poll): Call handle_inotify_events.
4405         (main_loop_epoll): Likewise.
4406         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4407         (struct traced_file): Use array of inotify fds. Add parent directory,
4408         and basename.
4409         (struct database_dyn): Remove unused file_mtime.
4410         (init_traced_file): New inline function.
4411         (define_traced_file): New macro.
4412         * nss/nss_db/db-init.c: Use define_traced_file.
4413         (_nss_db_init): Use init_traced_file.
4414         * nss/nss_files/files-init.c: Use define_traced_file.
4415         (_nss_files_init): Use init_traced_file.
4417 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4419         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4420         [_LIBC]: Do not include <stdlib.h>.
4421         [!_LIBC] (abort): Remove declaration.
4422         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4423         _FP_STATIC_ASSERT instead of conditionally calling abort.
4424         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4425         (_FP_EXTEND_CNAN): Likewise.
4426         (FP_TRUNC): Likewise.
4427         (__FP_CLZ): Likewise.
4428         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4430 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4432         * manual/string.texi (XPG basename): Fix prototype.
4434 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4436         [BZ #18080]
4437         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4438         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4439         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4440         (__setcontext): Likewise.
4441         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4442         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4443         Call rt_sigprocmask syscall one time to set new signal mask
4444         and retrieve the current signal mask instead of two calls.
4445         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4446         (__swapcontext): Likewise.
4447         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4448         * stdlib/tst-setcontext2.c: New file.
4450 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4452         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4454 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4456         [BZ #18093]
4457         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4458         the wrong size.
4460 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4462         [BZ #18043]
4463         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4465 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4467         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4468         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4469         Remove define.
4470         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4471         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4472         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4473         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4474         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4475         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4476         define.
4477         * nptl_db/td_symbol_list.c (td_lookup): Remove
4478         HAVE_ASM_GLOBAL_DOT_NAME code.
4479         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4480         HAVE_ASM_GLOBAL_DOT_NAME check.
4481         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4482         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4483         (DOT_LABEL): Remove define.
4484         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4485         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4486         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4487         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4488         (__TLS_GET_ADDR): Likewise.
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4490         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4492 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4494         [BZ #18111]
4495         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4496         (_FPU_SETCW): Initialize cw from fpsr before storing.
4497         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4498         (fesetexceptflag): Rewrite using fpu_control.h.
4499         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4501 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4503         [BZ #18110]
4504         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4505         asms.
4506         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4508 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4510         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4511         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4512         abort.
4513         (_FP_FMA): Likewise.
4514         (_FP_DIV): Likewise.
4516 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4518         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4519         with 0 in that case.
4520         * Makefile (summarize-tests): New canned sequence, factored out of
4521         commands for targets tests and xtests.  Display summary lines that
4522         don't start with PASS: or XFAIL: rather than ones that do start with
4523         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4524         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4525         do start with ERROR: or FAIL:.
4526         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4527         (except for [$(build-shared) = yes]).
4528         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4529         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4530         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4531         * nptl/Makefile: Revert 2015-03-04 changes.
4532         [$(CXX) empty] (tests-unsupported): New variable.
4533         * debug/Makefile: Likewise.
4535         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4536         gnulib file.  Replace __attribute with __attribute__ throughout.
4538 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4540         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4542 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4544         [BZ #18104]
4545         * math/auto-libm-test-in: Add another test of pow.
4546         * math/auto-libm-test-out: Regenerated.
4548 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4550         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4551         $(config-cflags-nofma).
4553 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4555         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4556         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4557         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4558         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4559         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4560         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4561         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4562         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4563         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4564         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4565         Add comment on closing #endif.
4567 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4569         * posix/wordexp.c (CHAR_IN_SET): New macro.
4570         (parse_param): Use it.
4572 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4574         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4576 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4578         [BZ #18043]
4579         * posix/wordexp.c (parse_param): Fix buffer overflow.
4580         * posix/wordexp-test.c (test_case): Add test case.
4582 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4584         [BZ #18042]
4585         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4586         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4588 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4590         [BZ #18043]
4591         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4592         (do_bz18043): Delete.
4593         (at_page_end): New.
4594         (testit): Refactor to have words at the edge of unreadable page.
4596 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4598         [BZ #16734]
4599         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4600         Cleanup read-only streams as well.
4601         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4603 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4605         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4606         <bits/libc-lockP.h>
4608 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4610         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4611         on [__KERNEL__].
4612         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4613         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4614         * soft-fp/op-common.h (_FP_DECL): Likewise.
4616 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4618         * elf/ifuncdep2.c (global): Replace
4619         __attribute__((visibility("protected"))) with
4620         asm (".protected global").
4621         * elf/ifuncmod1.c (global): Likewise.
4622         * elf/ifuncmod5.c (global): Likewise.
4624 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4626         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4627         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4629 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4631         * manual/install.texi (Configuring and compiling):
4632         Document test-wrapper-env-only.
4633         * INSTALL: Regenerated.
4635 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4637         [BZ #18043]
4638         * posix/wordexp.c (parse_param): Fix buffer overflow.
4639         * posix/wordexp-test.c (do_bz18043): Add test case.
4641 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4643         * time/tst-strptime2.c (do_test): Ensure failing tests are
4644         reported correctly.
4645         * time/tst-strptime3.c (do_test): Likewise.
4647 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4649         Fix aio_error thread-safety.
4650         * sysdeps/pthread/aio_error.c: New file
4651         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4652         synchronization.
4654 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4656         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4657         (group_number, vfprintf): Use it.
4658         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4659         (JUMP, REF): Use it.
4660         (WORK_BUFFER_SIZE): New enum constant.
4661         (process_arg, vfprintf): Use it.
4663 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4665         * manual/errno.texi (Error Messages): Complete example function
4666         by adding missing #define.
4667         (program_invocation_name): Add statement indicating GNU
4668         extension and reference which header file declares the variable.
4669         (program_invocation_short_name): Likewise.
4671 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4673         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4674         compatibility note.
4676 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4678         * Makeconfig (test-wrapper-env-only): New variable.
4679         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4680         then use that with $(test-wrapper-env-only) rather than using
4681         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4683 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4685         [BZ #18082]
4686         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4687         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4688         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4689         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4690         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4691         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4692         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4693         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4694         Likewise.
4695         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4696         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4697         Likewise.
4698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4699         Likewise.
4700         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4701         Likewise.
4702         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4703         Likewise.
4704         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4705         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4706         Likewise.
4707         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4708         Likewise.
4709         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4710         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4712 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4714         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4715         (ETH_ALEN): New macro.
4716         (struct ether_addr): Use it for length of ether_addr_octet.
4718         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4719         (setdb): Don't call __nss_configure_lookup for "rpc".
4720         (do_test): Don't call test_rpc.
4721         (output_rpcent, test_rpc): Functions moved ...
4722         * sunrpc/test-rpcent.c: ... to this new file.
4723         * sunrpc/Makefile (tests): Add it.
4725         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4726         __xpg_sigpause.
4727         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4728         * nptl/tst-signal6.c: Likewise.
4729         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4730         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4732         * configure.ac (libc_cv_cxx_link_ok): New check.
4733         Reset CXX to empty if it fails to link.
4734         * configure: Regenerated.
4735         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4736         bug-atexit3-lib only if $(CXX) is nonempty.
4737         * nptl/Makefile (tests): Likewise for tst-cancel24.
4738         (tests, tests-static): Likewise for tst-cancel24-static.
4739         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4740         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4741         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4742         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4744 2015-03-04  Andreas Schwab  <schwab@suse.de>
4746         [BZ #17631]
4747         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4748         for non-GCC compilers.
4749         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4750         Likewise.
4752 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4754         [BZ #17776]
4755         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4756         integer before bitwise and assembly operations.
4757         (feclearexcept): Likewise.
4758         * math/test-fenvinline.c: New file.
4759         * math/Makefile: Add test-fenvinline test.
4761 2015-03-03  Alan Modra  <amodra@gmail.com>
4763         [BZ #16512]
4764         * scripts/localplt.awk: Strip off symbol version.
4765         * NEWS: Mention bug fix.
4767 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4769         * sysdeps/pthread/timer_routines.c
4770         (timer_free_list, thread_free_list, thread_active_list): Make static.
4772 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4774         [BZ #17779]
4775         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4776         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4777         Undefine.
4778         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4779         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4780         Likewise.
4781         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4782         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4783         Likewise.
4785 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4787         [BZ #18036]
4788         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4789         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4791 2015-03-02  Andreas Schwab  <schwab@suse.de>
4793         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4794         variable name.
4796 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4798         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4799         Return error status.
4801 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4803         [BZ #15969]
4804         * locale/findlocale.c (_nl_find_locale): Introduce const
4805         version of loc_name and drop unsafe type casts.
4807 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4809         * dlfcn/tststatic2.c (main): Converted to ...
4810         (do_test): ... this.
4811         (TEST_FUNCTION): New macro.
4812         Include test-skeleton.c.
4814 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4816         [BZ #17711]
4817         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4818         (tests-pie): Add vismain.
4819         (CFLAGS-vismain.c): New.
4820         * elf/vismain.c: Add comments for PIE requirement.
4822 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4824         [BZ #18046]
4825         [BZ #18047]
4826         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4827         0x1p-56L as threshold for just returning the argument.
4828         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4829         0x1p-32L as threshold for just returning the argument.
4830         * math/auto-libm-test-in: Add more tests of atanh.
4831         * math/auto-libm-test-out: Regenerated.
4832         * sysdeps/i386/fpu/libm-test-ulps: Update.
4833         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4835 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4837         * string/bcopy.c (bcopy): Call memmove for performance.
4839 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4841         * string/bzero.c (__bzero): Call memset for performance.
4843 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4845         [BZ #18068]
4846         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4847         to 00100000.
4849 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4851         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4853 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4855         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4856         (__kernel_standard): Use CSTR macro when setting exc.name.
4857         * sysdeps/ieee754/Makefile [$(subdir) = math]
4858         (CFLAGS-k_standard.c): Remove variable.
4860         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4861         setting p and q from "else if" to "else".
4862         (qzero): Likewise.
4863         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4864         (qone): Likewise.
4865         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4866         (qzerof): Likewise.
4867         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4868         (qonef): Likewise.
4869         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4870         (qzero): Likewise.
4871         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4872         (qone): Likewise.
4874         [BZ #18038]
4875         [BZ #18039]
4876         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4877         return pi/2 for arguments below 0x1p-113L.
4878         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4879         return pi/2 for arguments below 0x1p-106L.
4880         * math/auto-libm-test-in: Add more tests of acos.
4881         * math/auto-libm-test-out: Regenerated.
4883         [BZ #16351]
4884         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4885         (MO): New macro.
4886         (__ieee754_asin): Force underflow exception for results with small
4887         absolute value.
4888         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4889         (MO): New macro.
4890         (__ieee754_asinf): Force underflow exception for results with
4891         small absolute value.
4892         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4893         (__ieee754_asin): Force underflow exception for results with small
4894         absolute value.
4895         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4896         (__ieee754_asinf): Force underflow exception for results with
4897         small absolute value.
4898         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4899         (__ieee754_asinl): Force underflow exception for results with
4900         small absolute value.
4901         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4902         (__ieee754_asinl): Force underflow exception for results with
4903         small absolute value.
4904         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4905         (__ieee754_asinl): Force underflow exception for results with
4906         small absolute value.
4907         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4908         Include <math.h>.
4909         * math/auto-libm-test-in: Do not mark underflow exceptions as
4910         possibly missing for bug 16351.
4911         * math/auto-libm-test-out: Regenerated.
4913         [BZ #18030]
4914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4915         of power of 2 down when low part has opposite sign.
4916         * math/libm-test.inc (logb_test_data): Add more tests.
4918 2015-02-26  Andreas Schwab  <schwab@suse.de>
4920         [BZ #18032]
4921         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4922         over collating symbol inside a bracket expression.  Minor cleanup.
4923         * posix/tst-fnmatch3.c (do_test): Add test case.
4925 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4927         [BZ #18029]
4928         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4929         Adjust exponent of power of 2 down when low part has opposite
4930         sign.
4931         * math/libm-test.inc (ilogb_test_data): Add more tests.
4933 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4935         [BZ #15969]
4936         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4937         the previous change.
4939         [BZ #15969]
4940         * locale/findlocale.c (_nl_find_locale): Retry archive search
4941         after alias expansion.
4943 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4945         * iconv/tst-iconv3.c (main): Converted to ...
4946         (do_test): ... this.
4947         (TEST_FUNCTION): New macro.
4948         Include test-skeleton.c.
4950         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4951         (convert): Make function static.
4952         (test_unalign): Likewise.  Add const to argument pointee types.
4953         (main): Replace with static function do_test.
4954         Print "Succeeded." only if RET is zero.
4955         (TEST_FUNCTION): New macro.
4956         Include test-skeleton.c.
4958         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4959         returns a null pointer.
4961 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4963         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4964         to __memcpy_ppc only for static builds.
4966 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4968         [BZ #18020]
4969         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4970         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4971         * math/auto-libm-test-in: Add more tests of asinh.
4972         * math/auto-libm-test-out: Regenerated.
4973         * sysdeps/i386/fpu/libm-test-ulps: Update.
4974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4976 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4978         [BZ #15850]
4979         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4980         and ip6_mtuinfo definitions here.
4981         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4982         in this define too.  Update comment.
4984 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4986         * elf/sprof.c (load_shobj): Tweak error message to match others.
4988 2015-02-24  Kevin Easton  <kevin@guarana.org>
4990         [BZ #16145] (partial fix)
4991         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4992         to reduce lock contention.
4994 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4996         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4997         (struct timex): Update time comment.
4998         (ADJ_SETOFFSET): Define.
5000 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5002         [BZ #18019]
5003         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5004         2**56 not 2**28 as threshold for log (2x) formula.
5005         * math/auto-libm-test-in: Add more tests of acosh.
5006         * math/auto-libm-test-out: Regenerated.
5007         * sysdeps/i386/fpu/libm-test-ulps: Update.
5008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5010 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5012         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5013         parenthesis around the buf assignment.
5014         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5016 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5018         [BZ #16783]
5019         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5020         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5021         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5022         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5023         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5024         * math/libm-test.inc (scalb_test_data): Add more tests.
5026 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5028         [BZ #17916]
5029         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5030         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5032 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5034         [BZ #17523]
5035         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5036         * io/bits/fcntl2.h (open): Use it.
5037         (openat): Likewise.
5038         * io/open.c (__libc_open): Likewise.
5039         * io/open64.c (__libc_open64): Likewise.
5040         * io/open64_2.c (__open64_2): Likewise.
5041         * io/open_2.c (__open_2): Likewise.
5042         * io/openat.c (__openat): Likewise.
5043         * io/openat64.c (__openat64): Likewise.
5044         * io/openat64_2.c (__openat64_2): Likewise.
5045         * io/openat_2.c (__openat_2): Likewise.
5046         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5047         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5048         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5049         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5050         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5051         (__open_nocancel): Likewise.
5052         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5053         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5054         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5056 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5058         [BZ #14841]
5059         * resolv/gethnamaddr.c (getanswer): Skip logging if
5060         RES_USE_DNSSEC is set.
5061         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5063 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5065         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5067 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5069         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5070         201304L, for Unicode 7.
5072 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5074         [BZ #17836]
5075         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5076         shared library.  Add gmon-start.os otherwise.
5077         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5078         $(objpfx)gmon-start.os if builing shared library.
5079         ($(objpfx)g$(static-start-installed-name)): Likewise.
5081 2015-02-23  Andreas Schwab  <schwab@suse.de>
5083         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5085 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5087         [BZ #17269]
5088         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5089         (enlarge_userbuf): Likewise.
5091 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5093         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5094         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5095         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5096         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5098 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5100         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5101         expression inside statement expression.
5103 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5105         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5106         <sysdeps/nptl/lowlevellock.h> and remove macros and
5107         functions that are now defined there.
5108         (SYS_futex): Remove.
5109         (lll_compare_and_swap): Remove.
5110         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5112 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5114         [BZ #17999]
5115         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5116         instead of scandirat.
5117         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5118         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5119         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5120         __scandirat.
5121         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5122         (__scandirat): Declare.  Use libc_hidden_proto.
5123         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5124         Remove variable.
5125         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5127 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5129         [BZ #15319]
5130         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5131         (MO): New macro.
5132         (__ieee754_atan2): For results with small absolute value, force
5133         underflow exception and remove excess range and precision from
5134         return value.
5135         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5136         (MO): New macro.
5137         (__ieee754_atan2f): For results with small absolute value, force
5138         underflow exception and remove excess range and precision from
5139         return value.
5140         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5141         (MO): New macro.
5142         (__atan): For results with small absolute value, force underflow
5143         exception and remove excess range and precision from return value.
5144         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5145         (MO): New macro.
5146         (__atanf): For results with small absolute value, force underflow
5147         exception and remove excess range and precision from return value.
5148         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5149         <math.h>.
5150         (__ieee754_atan2): Force underflow exception for results with
5151         small absolute value.
5152         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5153         <math_private.h>.
5154         (atan): Force underflow exception for results with small absolute
5155         value.
5156         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5157         (__atanf): Force underflow exception for results with small
5158         absolute value.
5159         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5160         <math.h>.
5161         (__atanl): Force underflow exception for results with small
5162         absolute value.
5163         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5164         (__atanl): Force underflow exception for results with small
5165         absolute value.
5166         * sysdeps/x86/fpu/bits/mathinline.h
5167         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5168         (__ieee754_atan2): Only define inline for long double.
5169         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5170         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5171         * math/auto-libm-test-in: Do not mark underflow exceptions as
5172         possibly missing for bug 15319.  Add more tests of atan2.
5173         * math/auto-libm-test-out: Regenerated.
5174         * math/libm-test.inc (casin_test_data): Do not mark underflow
5175         exceptions as possibly missing for bug 15319.
5176         (casinh_test_data): Likewise.
5177         * sysdeps/i386/fpu/libm-test-ulps: Update.
5179 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5181         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5182         * sysdeps/mips/bits/endian.h: Fix comments.
5184 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5186         [BZ #17996]
5187         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5188         (hdestroy_r): Likewise.
5189         (hsearch_r): Likewise.
5190         (__hcreate_r): Declare and use libc_hidden_proto.
5191         (__hdestroy_r): Likewise.
5192         (__hsearch_r): Likewise.
5193         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5194         (hcreate): Call __hcreate_r instead of hcreate_r.
5195         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5196         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5197         as weak alias of __hcreate_r.
5198         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5199         __hdestroy_r.
5200         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5201         __hsearch_r.
5202         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5203         Remove variable.
5204         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5205         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5206         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5207         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5209 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5211         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5212         arena_lock into a single arena_get.
5214 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5216         * dl-reloc.c: Inlucde libc-internal.h.
5217         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5218         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5219         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5220         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5221         (grow_heap): Likewise.
5222         * malloc/malloc.c: Include libc-internal.h.
5223         (do_check_malloc): Call powerof2.
5224         (sysmalloc): Use pagesize. Call ALIGN_UP.
5225         (systrim): Use pagesize.
5226         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5227         (__libc_valloc): Use pagesize.
5228         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5230 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5232         [BZ #17991]
5233         * include/sys/resource.h (__getrlimit64): Declare.  Use
5234         libc_hidden_proto.
5235         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5236         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5237         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5238         getrlimit64.
5239         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5240         __getrlimit64.
5241         [!getrlimit64] (getrlimit64): Define as weak alias of
5242         __getrlimit64.  Use libc_hidden_weak.
5243         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5244         using __getrlimit64 not __new_getrlimit64.
5245         (__GI_getrlimit64): Likewise.
5246         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5247         Likewise.
5248         (__GI_getrlimit64): Likewise.
5249         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5251         (getrlimit): Add __getrlimit64 alias.
5252         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5253         Likewise.
5254         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5255         Remove variable.
5256         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5257         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5259 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5261         * libio/fileops.c: Add missing sys/mman.h
5262         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5264 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5266         * manual/math.texi (Errors in Math Functions): Clarify goals
5267         regarding inexact and underflow exceptions.
5269 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5271         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5272         * sysdeps/mips/memset.S: Ditto.
5274 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5276         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5278 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5280         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5281         (__v1longjmp): Remove versioned symbol.
5282         (__v1siglongjmp): Remove alias and versioned symbol.
5283         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5284         (__v2siglongjmp): Likewise.
5286 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5288         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5290 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5292         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5294 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5296         [BZ #17987]
5297         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5298         zero result does not depend on the sign resulting from
5299         subtraction.
5300         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5301         Likewise.
5302         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5303         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5304         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5305         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5306         * math/libm-test.inc (remquo_test_data): Add more tests.
5308 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5310         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5311         Problem reported by J William Piggott.
5313 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5315         [BZ #17978]
5316         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5317         products 4 * y and 2 * y where those would overflow.
5318         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5319         Likewise.
5320         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5321         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5322         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5323         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5324         * math/libm-test.inc (remquo_test_data): Add more tests.
5326         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5328         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5329         [defined _COMPILING_NEWLIB].
5330         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5331         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5333         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5334         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5336 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5338         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5339         acquired.
5341 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5343         [BZ #17792]
5344         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5345         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5346         HOST_STACK_END_ADDR): Likewise.
5348 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5350         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5351         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5352         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5354 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5356         * sysdeps/generic/c++-types.data: New file.
5357         * sysdeps/generic/ld.abilist: New file.
5358         * sysdeps/generic/libBrokenLocale.abilist: New file.
5359         * sysdeps/generic/libanl.abilist: New file.
5360         * sysdeps/generic/libc.abilist: New file.
5361         * sysdeps/generic/libcrypt.abilist: New file.
5362         * sysdeps/generic/libdl.abilist: New file.
5363         * sysdeps/generic/libm.abilist: New file.
5364         * sysdeps/generic/libpthread.abilist: New file.
5365         * sysdeps/generic/libresolv.abilist: New file.
5366         * sysdeps/generic/librt.abilist: New file.
5368 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5370         [BZ #17569]
5371         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5372         Compute absolute value of x as modified by fmod, not original
5373         value of x.
5374         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5375         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5376         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5377         RUN_TEST_ffI_f1_mod8.
5378         (remquo_test_data): Add more tests.
5380 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5382         * sysdeps/init_array/pt-crti.S: New file.
5384 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5386         [BZ #17967]
5387         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5388         __builtin_fmaf instead of relying on contraction of a * b + c.
5390 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5392         [BZ #17969]
5393         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5394         node.
5396 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5398         [BZ #17964]
5399         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5400         __builtin_fma instead of relying on contraction of a * b + c.
5402 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5404         * Makeconfig (ASFLAGS): Add -Werror=undef.
5405         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5406         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5407         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5409         * Makeconfig (after-link): New variable.
5410         (+link-pie, +link-pie-tests): Use it.
5411         (+link-static, +link-static-tests): Likewise.
5412         (+link, +link-tests): Likewise.
5413         * Makerules (build-module, build-module-asneeded): Likewise.
5414         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5415         Likewise.
5416         * elf/Makefile ($(objpfx)ld.so): Likewise.
5418 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5420         [BZ #17965]
5421         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5422         both struct timeval and struct timespec.
5424 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5426         [BZ #16560]
5427         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5428         and redefine.
5429         (__ieee754_exp2l): Do not multiply small fractional parts by
5430         M_LN2l.
5431         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5432         small argument.
5433         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5434         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5435         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5436         * math/auto-libm-test-in: Add more tests of exp2.
5437         * math/auto-libm-test-out: Regenerated.
5439 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5441         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5442         unaligned path.
5444 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5446         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5447         little endian.
5449 2015-02-12  Andreas Schwab  <schwab@suse.de>
5451         [BZ #15790]
5452         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5453         Filter out elision flags from value returned in kind.
5454         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5455         * nptl/tst-pthread-mutexattr.c: New file.
5457 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5459         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5460         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5461         into gnu-gnu, and update comment to refer to abi-tags.
5463 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5465         [BZ #15467]
5466         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5467         (__sincos): Set errno to EDOM for infinite argument.
5468         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5469         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5470         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5471         (__sincosl): Set errno to EDOM for infinite argument.
5472         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5473         (__sincosl): Set errno to EDOM for infinite argument.
5474         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5475         (__sincosl): Set errno to EDOM for infinite argument.
5476         * math/libm-test.inc (sincos_test_data): Test errno setting.
5478 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5480         * string/strxfrm_l.c: Remove #define STRCMP.
5481         * string/strcoll_l.c: Remove #define STRLEN.
5482         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5483         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5485 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5487         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5488         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5489         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5490         * sysdeps/mips/mips64/Makefile: ... here.
5491         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5492         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5493         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5494         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5495         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5496         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5497         * sysdeps/mips/mips64/n64/Implies: Likewise.
5499 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5501         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5502         <sys/time.h>, <string.h>, and <errno.h>.
5503         (dest_offset, dest_address, value, zero): Remove unused variables.
5504         (ldouble): Remove typedef.
5505         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5506         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5507         1).  Fix code style.
5508         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5509         (check): Function removed.
5510         (CHECK): New macro.
5511         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5512         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5513         Don't call set_sigaction_FP and remove_sigaction_FP here.
5514         (ldouble_test): Just use 'long double' as macro argument, no need for
5515         the 'ldouble' typedef.
5516         (do_test): Set up SIGFPE handler at start, using plain signal rather
5517         than sigaction.  Fix code style.
5519 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5521         [BZ #17949]
5522         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5523         jump label.
5525 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5527         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5528         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5530         * sysdeps/powerpc/configure.ac: Remove file.
5531         * sysdeps/powerpc/configure: Likewise.
5533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5534         [sysdep_routines]: Remove wordcopy-power6 object.
5535         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5536         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5537         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5538         (__memmove_ppc32): Likewise.
5539         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5540         file.
5541         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5542         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5543         Remove preprocessor.
5545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5546         [sysdep_routines]: Remove wide chars objects.
5547         [wcsmbs]: New rule for wide char objects.
5549         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5550         Remove wordcopy-power6 obejct.
5551         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5552         Use local call for wordcopy and memcpy symbols.
5553         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5554         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5555         implementation for loader.
5556         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5558         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5559         Remove wordcopy-power7 object.
5560         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5561         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5562         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5563         (_wordcopy_fwd_dest_aligned): Likewise.
5564         (_wordcopy_bwd_aligned): Likewise.
5565         (_wordcopy_bwd_dest_aligned): Likewise.
5567         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5568         Rewrite to call __memmove_ppc instead of include default
5569         implementation.
5571         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5572         Remove wide chars objects.
5573         [wcsmbs]: New rule for wide char objects.
5575 2015-02-09  Andreas Schwab  <schwab@suse.de>
5577         [BZ #17912]
5578         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5579         in terms of __O_DIRECTORY.
5581 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5583         * time/getdate.c: Include <stdbool.h>.
5584         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5585         call PTR_MANGLE.
5586         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5587         PTR_DEMANGLE.
5589 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5591         Add ersatz _Static_assert on older C hosts
5592         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5593         pre-C11 C platform that is not known to support _Static_assert.
5595 2015-02-07  Richard Braun  <rbraun@sceen.net>
5597         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5598         sigstate.
5599         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5601 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5603         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5604         priority against unexistent AIO_PRIO_DELTA_MAX.
5605         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5606         instead of int.
5607         * misc/fchflags.c (fchflags): Likewise.
5608         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5609         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5610         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5611         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5612         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5613         Declare macros.
5614         [__USE_MISC] (chflags, fchflags): Declare functions.
5615         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5616         EINVAL when nfds is greater than FD_SETSIZE.
5617         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5618         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5619         45.
5620         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5621         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5622         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5623         MACH_RCV_TIMED_OUT.
5624         * hurd/hurd/signal.h (_hurd_self_sigstate,
5625         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5626         Explicit casts from void *.
5627         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5628         * abi-tags: Rename gnu-gnu os into gnu.
5630         [BZ #4719]
5631         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5632         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5633         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5634         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5635         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5636         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5638         [BZ #17944]
5639         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5640         duplicates ADDR->sun_path with sockaddr LEN limitation.
5641         * sysdeps/mach/hurd/connect.c: Include <string.h>
5642         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5643         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5644         * sysdeps/mach/hurd/sendto.c: Likewise.
5645         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5646         implementing it by hand.
5648 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5650         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5651         Use sfi_breg on ldr.
5652         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5653         Likewise.
5655         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5656         it's defined.
5657         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5658         Test SIGSETXID only if it's defined.
5660         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5662         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5663         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5665         * nptl/tst-align2.c: Moved ...
5666         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5667         * nptl/Makefile (tests): Remove tst-align2.
5668         * sysdeps/unix/sysv/linux/Makefile
5669         [$(subdir) = nptl] (tests): Add tst-align-clone.
5670         * nptl/tst-getpid1.c: Moved ...
5671         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5672         * nptl/tst-getpid2.c: Moved ...
5673         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5674         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5675         * sysdeps/unix/sysv/linux/Makefile
5676         [$(subdir) = nptl] (tests): ... here.
5677         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5678         * sysdeps/unix/sysv/linux/Makefile
5679         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5681         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5682         Drop trailing \n from perror argument.  Use return rather than exit.
5684         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5685         on [SA_SIGINFO].
5686         * nptl/tst-cancel21.c (do_test): Likewise.
5687         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5688         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5689         [!SA_SIGINFO]: Make it a stub test.
5691         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5692         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5694         * posix/tst-getlogin.c: Move to ...
5695         * login/tst-getlogin.c: ... here.
5696         * posix/Makefile (tests): Move tst-getlogin to ...
5697         * login/Makefile (tests): ... here.
5699         * libio/tst-atime.c (do_test): Move local variables SV and E
5700         inside [ST_NOATIME] conditional.
5702         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5704         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5706         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5707         (wait_code): New function replaces macro.
5708         Call nanosleep rather than syscall.
5710         * nptl/pt-system.c: Rewritten.  Put everything under
5711         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5712         Use IFUNC to redirect when possible.
5714         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5715         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5716         Use IFUNC to redirect when possible.
5718         * nptl/pt-fork.c: Rewritten.  Put everything under
5719         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5720         Use IFUNC to redirect when possible.
5721         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5723         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5724         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5725         unconditionally nowadays.  This included the only reference to
5726         __vdso_clock_gettime that appears outside libc proper.
5727         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5728         Remove version set (containing only __vdso_clock_gettime).
5729         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5730         Add attribute_hidden.
5731         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5732         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5733         libc_hidden_data_def.
5734         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5735         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5737         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5738         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5739         setrpcent, and getrpcport to ...
5740         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5741         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5742         getrpcbynumber_r, and getrpcent_r to ...
5743         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5744         * inet/getrpcbyname.c: Moved ...
5745         * sunrpc/getrpcbyname.c: ... here.
5746         * inet/getrpcbyname_r.c: Moved ...
5747         * sunrpc/getrpcbyname_r.c: ... here.
5748         * inet/getrpcbynumber.c: Moved ...
5749         * sunrpc/getrpcbynumber.c: ... here.
5750         * inet/getrpcbynumber_r.c: Moved ...
5751         * sunrpc/getrpcbynumber_r.c: ... here.
5752         * inet/getrpcent.c: Moved ...
5753         * sunrpc/getrpcent.c: ... here.
5754         * inet/getrpcent_r.c: Moved ...
5755         * sunrpc/getrpcent_r.c: ... here.
5756         * inet/Makefile (routines): Move those to ...
5757         * sunrpc/Makefile (routines): ... here.
5758         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5759         the $(subdirs) list.
5760         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5761         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5762         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5763         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5765         * elf/Makefile (routines): Include $(all-dl-routines), not just
5766         $(dl-routines).
5767         (rtld-routines): Likewise.  Use = rather than :=.
5768         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5769         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5770         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5771         * sysdeps/arm/Makefile: Likewise.
5772         * sysdeps/i386/Makefile: Likewise.
5773         * sysdeps/x86_64/Makefile: Likewise.
5774         * sysdeps/hppa/Makefile [$(subdir) = elf]
5775         (sysdep_routines, sysdep-rtld-routines): Don't add
5776         $(sysdep-dl-routines) to these.
5777         * sysdeps/ia64/Makefile: Likewise.
5778         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5779         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5780         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5781         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5782         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5783         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5784         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5785         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5786         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5787         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5788         these; sysdep-dl-routines alone is enough.
5790 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5792         [BZ #17932]
5793         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5794         where multiplication results in zero and third argument is finite
5795         and nonzero.
5796         * math/auto-libm-test-in: Add more tests of fma.
5797         * math/auto-libm-test-out: Regenerated.
5799         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5800         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5801         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5802         (_FP_CMP_EQ): Likewise.
5803         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5805         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5806         extra argument CHECK_NAN.  Redefine as wrapper around
5807         _FP_EXTEND_CNAN.
5809 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5811         * version.h (RELEASE): Set to "stable".
5812         (VERSION): Set to "2.21"
5813         * include/features.h (__GLIBC_MINOR__): Set to 21.
5815         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5817 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5818             Paul Eggert  <eggert@cs.ucla.edu>
5820         [BZ #16618]
5821         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5822         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5823         size in bytes. Store needed elements in wpmax. Use needed size
5824         in bytes for extend_alloca.
5826 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5828         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5829         binutls 2.25, and texinfo 5.2.
5830         * INSTALL: Regenerate.
5831         * sysdeps/nios2/configure: Regenerate.
5832         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5833         * manual/contrib.texi: Update.
5834         * po/be.po: Update.
5835         * po/bg.po: Update.
5836         * po/ca.po: Update.
5837         * po/cs.po: Update.
5838         * po/da.po: Update.
5839         * po/de.po: Update.
5840         * po/el.po: Update.
5841         * po/eo.po: Update.
5842         * po/es.po: Update.
5843         * po/fi.po: Update.
5844         * po/fr.po: Update.
5845         * po/gl.po: Update.
5846         * po/hr.po: Update.
5847         * po/hu.po: Update.
5848         * po/ia.po: Update.
5849         * po/id.po: Update.
5850         * po/it.po: Update.
5851         * po/ja.po: Update.
5852         * po/ko.po: Update.
5853         * po/lt.po: Update.
5854         * po/nb.po: Update.
5855         * po/nl.po: Update.
5856         * po/pl.po: Update.
5857         * po/pt_BR.po: Update.
5858         * po/ru.po: Update.
5859         * po/rw.po: Update.
5860         * po/sk.po: Update.
5861         * po/sl.po: Update.
5862         * po/sv.po: Update.
5863         * po/tr.po: Update.
5864         * po/uk.po: Update.
5865         * po/vi.po: Update.
5866         * po/zh_CN.po: Update.
5867         * po/zh_TW.po: Update.
5869         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5870         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5871         * sysdeps/hppa/dl-irel.h: Remove #warning.
5872         * sysdeps/hppa/entry.h: Provide prototype for
5873         __canonicalize_funcptr_for_compare and cast argument.
5874         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5875         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5876         * sysdeps/hppa/sotruss-lib.c: New file.
5877         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5878         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5879         (atomic_compare_and_exchange_bool_acq): Likewise.
5880         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5881         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5883         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5884         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5885         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5887 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5889         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5890         called function in non-PIC case.
5892 2015-01-31  David S. Miller  <davem@davemloft.net>
5894         * sysdeps/sparc/sparc32/bits/atomic.h
5895         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5896         unlock not after it.
5897         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5898         volatile register usage warnings from the compiler.
5900         * sysdeps/sparc/nptl/sem_init.c: Delete.
5901         * sysdeps/sparc/nptl/sem_post.c: Delete.
5902         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5903         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5904         * sysdeps/sparc/sparc32/sem_init.c: New file.
5905         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5906         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5907         padding explicitly initialized.
5908         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5909         padding for in-semaphore spinlock.
5910         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5911         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5912         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5913         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5914         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5915         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5916         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5917         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5918         version.
5919         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5920         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5922 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5924         [BZ #17801]
5925         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5926         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5927         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5928         New.
5929         (index_AVX_Fast_Unaligned_Load): Likewise.
5930         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5931         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5932         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5933         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5934         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5935         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5936         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5937         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5938         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5940 2015-01-29  Andreas Schwab  <schwab@suse.de>
5942         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5944 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5946         [BZ #17892]
5947         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5949 2015-01-28  Martin Sebor  <msebor@redhat.com>
5951         * math/README.libm-test: Clarify. Add "How to read the test output."
5953 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5955         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5956         Define to 0.
5958 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5960         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5961         (__HAVE_64B_ATOMICS): Define to 0.
5963 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5965         [BZ #17885]
5966         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5967         value to set as new flag.
5969         [BZ #16576]
5970         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5971         and use _ARCH_PPCSQ instead.
5972         (__ieee754_sqrt): Likewise.
5973         (__ieee754_sqrtf): Likewise.
5974         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5975         _ARCH_PPCSQ is defined.
5976         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5977         fsqrt instruction.
5978         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5979         _ARCH_PPCSQ is defined.
5980         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5981         fsqrts instruction.
5982         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5984 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5986         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5987         bug (GCC BZ #64739).
5989 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5991         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5992         Mark _retval as used.
5993         (lll_futex_wake_unlock): Likewise.
5994         (lll_futex_timed_wait_requeue_pi): Likewise.
5996         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5997         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5998         register variables.
6000         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6001         libm_hidden_def.
6003         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6004         (__bswap_64): Mark as __always_inline.
6006 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6008         [BZ #15378]
6009         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6010         when none of the search directories exist.
6012 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6014         [BZ #17869]
6015         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6016         power8 in .machine directive.
6018         [BZ #17868]
6019         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6020         set dependency from opd value.
6022 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6025         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6026         architecture.
6028 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6030         [BZ #17870]
6031         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6032         with uint64_t.
6033         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6034         (uint64_t) 1.
6035         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6036         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6037         Replace 1UL with (uint64_t) 1.
6038         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6039         int with uint64_t.
6041 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6043         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6044         (if_freenameindex): Likewise.
6046         * resource/getrlimit64.c: Add missing libc_hidden_def.
6048 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6050         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6051         __label__.
6052         (_FP_FMA): Likewise.
6053         (_FP_TO_INT_ROUND): Likewise.
6054         (_FP_FROM_INT): Likewise.
6056 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6058         [BZ #16418]
6059         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6060         Make code racy and cancel safe.
6062 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6064         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6065         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6066         attribution.
6068         * pwd/tst-getpw.c: Rewrite.
6070         [BZ #17702]
6071         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6072         (modules-names): Add moddummy1 and moddummy2.
6073         ($(objpfx)tst-rec-dlopen): Define.
6074         * dlfcn/moddummy1.c: New file.
6075         * dlfcn/moddummy2.c: New file.
6076         * dlfcn/tst-rec-dlopen.c: New file.
6077         * elf/dl-cache.c (_dl_load_cache_lookup):
6078         Return char*. Copy result with alloca/strcpy/strdup.
6079         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6080         returns char*. Free cached. If not saving realname
6081         free cached.
6082         * elf/dl-open.c (dl_open_worker): Do not assert that
6083         _r_debug->r_state is RT_CONSISTENT.
6084         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6085         returns char*.
6087 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6088             Carlos O'Donell  <carlos@redhat.com>
6090         [BZ #12674]
6091         * nptl/sem_waitcommon.c: New file.
6092         * nptl/sem_wait.c: Include sem_waitcommon.c.
6093         (__sem_wait_cleanup, do_futex_wait): Remove.
6094         (__new_sem_wait): Adapt.
6095         (__new_sem_trywait): New function.
6096         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6097         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6098         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6099         (sem_timedwait): Adapt.
6100         * nptl/sem_post.c (__new_sem_post): Adapt.
6101         (futex_wake): New function.
6102         (__old_sem_post): Add release MO fence.
6103         * nptl/sem_open.c (sem_open): Adapt.
6104         * nptl/sem_init.c (__new_sem_init): Adapt.
6105         (futex_private_if_supported): New function.
6106         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6107         (__old_sem_getvalue): Add using previous code.
6108         * sysdeps/nptl/internaltypes.h: Adapt.
6109         * nptl/tst-sem13.c (do_test): Adapt.
6110         * nptl/tst-sem11.c (main): Adapt.
6111         * nptl/sem_trywait.c: Remove.
6112         * nptl/DESIGN-sem.txt: Remove.
6113         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6114         (gen-as-const-headers): Remove structsem.sym.
6115         * nptl/structsem.sym: Remove.
6116         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6117         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6118         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6119         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6120         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6121         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6122         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6123         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6124         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6125         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6126         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6127         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6128         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6129         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6130         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6131         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6132         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6133         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6134         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6135         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6136         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6137         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6139 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6141         * INSTALL: Regenerated.
6143         * po/libc.pot: Regenerated.
6145 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6146             Sandra Loosemore  <sandra@codesourcery.com>
6147             Andrew Jenner  <andrew@codesourcery.com>
6148             Joseph Myers  <joseph@codesourcery.com>
6149             Nathan Sidwell  <nathan@codesourcery.com>
6151         * NEWS: Mention new Nios II port.
6152         * sysdeps/nios2/Implies: New file.
6153         * sysdeps/nios2/Makefile: New file.
6154         * sysdeps/nios2/Subdirs: New file.
6155         * sysdeps/nios2/Versions: New file.
6156         * sysdeps/nios2/__longjmp.S: New file.
6157         * sysdeps/nios2/abort-instr.h: New file.
6158         * sysdeps/nios2/backtrace.c: New file.
6159         * sysdeps/nios2/bits/endian.h: New file.
6160         * sysdeps/nios2/bits/fenv.h: New file.
6161         * sysdeps/nios2/bits/link.h: New file.
6162         * sysdeps/nios2/bits/setjmp.h: New file.
6163         * sysdeps/nios2/bsd-_setjmp.S: New file.
6164         * sysdeps/nios2/bsd-setjmp.S: New file.
6165         * sysdeps/nios2/configure: New generated file.
6166         * sysdeps/nios2/configure.ac: New file.
6167         * sysdeps/nios2/crti.S: New file.
6168         * sysdeps/nios2/crtn.S: New file.
6169         * sysdeps/nios2/dl-init.c: New file.
6170         * sysdeps/nios2/dl-machine.h: New file.
6171         * sysdeps/nios2/dl-sysdep.h: New file.
6172         * sysdeps/nios2/dl-tls.h: New file.
6173         * sysdeps/nios2/dl-trampoline.S: New file.
6174         * sysdeps/nios2/gccframe.h: New file.
6175         * sysdeps/nios2/gmp-mparam.h: New file.
6176         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6177         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6178         * sysdeps/nios2/ldsodefs.h: New file.
6179         * sysdeps/nios2/libc-tls.c: New file.
6180         * sysdeps/nios2/libm-test-ulps: New file.
6181         * sysdeps/nios2/machine-gmon.h: New file.
6182         * sysdeps/nios2/math-tests.h: New file.
6183         * sysdeps/nios2/math_private.h: New file.
6184         * sysdeps/nios2/memusage.h: New file.
6185         * sysdeps/nios2/nptl/Makefile: New file.
6186         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6187         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6188         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6189         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6190         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6191         * sysdeps/nios2/nptl/tls.h: New file.
6192         * sysdeps/nios2/preconfigure: New file.
6193         * sysdeps/nios2/s_fma.c: New file.
6194         * sysdeps/nios2/s_fmaf.c: New file.
6195         * sysdeps/nios2/setjmp.S: New file.
6196         * sysdeps/nios2/sfp-machine.h: New file.
6197         * sysdeps/nios2/sotruss-lib.c: New file.
6198         * sysdeps/nios2/stackguard-macros.h: New file.
6199         * sysdeps/nios2/stackinfo.h: New file.
6200         * sysdeps/nios2/start.S: New file.
6201         * sysdeps/nios2/sysdep.h: New file.
6202         * sysdeps/nios2/tls-macros.h: New file.
6203         * sysdeps/nios2/tst-audit.h: New file.
6204         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6205         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6206         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6207         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6208         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6209         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6210         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6211         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6212         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6213         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6214         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6215         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6216         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6217         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6218         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6219         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6220         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6221         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6222         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6223         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6224         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6225         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6226         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6227         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6228         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6229         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6230         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6231         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6232         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6233         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6234         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6235         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6236         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6237         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6238         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6239         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6240         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6241         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6242         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6243         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6244         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6245         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6246         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6247         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6249 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6251         [BZ #17844]
6252         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6253         (getutent): Use weak_alias in non SHARED case
6254         and default_symbol_version in SHARED case.
6255         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6256         (getutent_r, pututline): Likewise.
6257         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6258         (getutid): Likewise.
6259         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6260         (getutid_r): Likewise.
6261         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6262         (getutline): Likewise.
6263         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6264         (getutline_r): Likewise.
6265         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6266         (updwtmp): Likewise.
6268 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6270         [BZ #17848]
6271         * sysdeps/s390/s390-32/memcmp.S
6272         (memcmp_g5): Rename to __memcmp_g5.
6273         * sysdeps/s390/s390-32/memcpy.S
6274         (memcpy_g5): Rename to __memcpy_g5.
6275         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6276         (memcpy_mvcle) Rename to __memcpy_mvcle.
6277         * sysdeps/s390/s390-32/memset.S
6278         (memset_g5): Rename to __memset_g5.
6279         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6280         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6281         and use prefixed functions.
6282         * sysdeps/s390/s390-32/multiarch/memcmp.S
6283         (memcmp_z196): Rename to __memcmp_z196.
6284         (memcmp_z10): Rename to __memcmp_z10.
6285         (memcmp): Set alias to __memcmp_g5.
6286         (bcmp): Set alias to __memcmp_g5.
6287         * sysdeps/s390/s390-32/multiarch/memcpy.S
6288         (memcpy_z196): Rename to __memcpy_z196.
6289         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6290         (memcpy_z10): Rename to __memcpy_z10.
6291         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6292         (memcpy): Set alias to __memcpy_g5.
6293         * sysdeps/s390/s390-32/multiarch/memset.S
6294         (memset_z196): Rename to __memset_z196.
6295         Jump to __memset_mvcle instead of memset_mvcle.
6296         (memset_z10): Rename to __memset_z10.
6297         Jump to __memset_mvcle instead of memset_mvcle.
6298         (memset_mvcle) Rename to __memset_mvcle.
6299         (memset): Set alias to __memset_g5.
6300         * sysdeps/s390/s390-64/memcmp.S
6301         (memcmp_z900): Rename to __memcmp_z900.
6302         * sysdeps/s390/s390-64/memcpy.S
6303         (memcpy_z900): Rename to __memcpy_z900.
6304         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6305         (memcpy_mvcle) Rename to __memcpy_mvcle.
6306         * sysdeps/s390/s390-64/memset.S
6307         (memset_z900): Rename to __memset_z900.
6308         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6309         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6310         and use prefixed functions.
6311         * sysdeps/s390/s390-64/multiarch/memcmp.S
6312         (memcmp_z196): Rename to __memcmp_z196.
6313         (memcmp_z10): Rename to __memcmp_z10.
6314         (memcmp): Set alias to __memcmp_z900.
6315         (bcmp): Set alias to __memcmp_z900.
6316         * sysdeps/s390/s390-64/multiarch/memcpy.S
6317         (memcpy_z196): Rename to __memcpy_z196.
6318         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6319         (memcpy_z10): Rename to __memcpy_z10.
6320         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6321         (memcpy): Set alias to __memcpy_z900.
6322         * sysdeps/s390/s390-64/multiarch/memset.S
6323         (memset_z196): Rename to __memset_z196.
6324         Jump to __memset_mvcle instead of memset_mvcle.
6325         (memset_z10): Rename to __memset_z10.
6326         Jump to __memset_mvcle instead of memset_mvcle.
6327         (memset_mvcle) Rename to __memset_mvcle.
6328         (memset): Set alias to __memset_z900.
6330 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6332         [BZ #17748]
6333         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6334         __fesetenv instead of fesetenv.
6336 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6338         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6339         macro.
6341 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6343         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6344         regression on LE.
6346         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6347         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6349         strncmp-power8 object.
6350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6351         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6352         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6353         * NEWS: Update.
6355 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6356             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6358         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6359         trailing byte check.
6361 2015-01-13  David S. Miller  <davem@davemloft.net>
6363         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6365 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6367         * login/logout.c (logout): Use memset rather than bzero.
6368         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6369         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6370         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6371         (_gethtbyaddr): Likewise.
6372         * locale/programs/simple-hash.c (bcopy): Macro removed.
6374 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6376         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6377         Add strcmp-power8 object.
6378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6379         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6380         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6381         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6382         __strcmp_power8 implementation.
6383         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6384         * NEWS: Update.
6386         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6387         Add strncpy-power8 and stpncpy-power8 objects.
6388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6389         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6390         implementations.
6391         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6392         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6393         __stpncpy_power8 implementation.
6394         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6395         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6396         __strncpy_power8 implementation.
6397         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6398         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6399         * NEWS: Update.
6401         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6402         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6403         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6405         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6406         strncat-power8 object.
6407         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6408         __strcat_power8 implementation.
6409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6410         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6411         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6412         optimized strcat for power8.
6414         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6415         strcpy-power8 and stpcpy-power8 objects.
6416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6417         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6418         implementations.
6419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6420         multiarch stpcpy implementation for POWER8.
6421         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6422         multiarch strcpy implementation for POWER8.
6423         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6424         __strcpy_power8 function.
6425         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6426         stpcpy for POWER8.
6427         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6428         strcpy for POWER8.
6429         * NEWS: Update.
6431 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6433         [BZ #16009]
6434         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6435         weights and rules. Use do_xfrm_cached if data fits in cache,
6436         do_xfrm otherwise.  Moved former main loop to...
6437         * (do_xfrm_cached): New function.
6438         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6439         find_idx, find_position and stack_push.
6440         * (find_idx): New function.
6441         * (find_position): Likewise.
6442         * localedata/sort-test.sh: Added test run for do_xfrm.
6443         * localedata/xfrm-test.c (main): Added command line option
6444         -nocache to run the test with strings that are too large for
6445         the STRXFRM cache.
6447 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6449         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6450         variable to lll_futex_wake call, not the value itself.
6452 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6454         [BZ #17803]
6455         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6456         twom64.  Adjust value to 0x1p-64L.
6457         (__scalblnl): Only return standard underflowing result for K <=
6458         -64 not K <= -63; adjust exponent for underflowing result by 64
6459         not 63.
6460         * math/libm-test.inc (scalbn_test_data): Add more tests.
6461         (scalbln_test_data): Likewise.
6463         [BZ #17834]
6464         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6465         0x1p63L.
6466         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6467         not HX.
6468         * math/libm-test.inc (scalbn_test_data): Add more tests.
6469         (scalbln_test_data): Likewise.
6471 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6472             Stefani Seibold  <stefani@seibold.net>
6474         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6475         (sysdep_routines): Add dl-vdso here, ...
6476         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6477         (sysdep_routines): ... not here.
6478         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6479         fallback when vDSO is not presented.
6480         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6481         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6482         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6483         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6484         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6485         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6486         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6487         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6488         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6489         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6490         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6491         fallback configurable symbol when vDSO is not available.
6492         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6493         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6494         be able to redefine fallback symbol when vDSO is not available.
6495         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6496         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6498 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6500         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6501         (TLS_INIT_TP): Add tm_capable initialization.
6502         (TLS_DEFINE_INIT_TP): Likewise.
6503         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6504         TCB.
6505         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6506         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6507         calculation.
6508         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6509         transactoion is lock elision is built and TCB tm_capable is set.
6510         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6512         (INTERNAL_SYSCALL_NCS): Likewise.
6513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6514         (INTERNAL_SYSCALL_NCS): Likewise.
6515         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6517         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6518         for powerpc.
6519         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6520         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6521         and remove it for 32 bits case.
6522         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6524         initialization.
6525         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6526         Disable lock elision with rdlocks if elision is not available.
6528         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6529         (sysdep_routines): Add lock elision objects.
6530         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6531         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6532         [pthread_mutex_t] (__elision): Add field.
6533         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6534         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6535         elision definitions for powerpc.
6536         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6537         implementation of lock elision for powerpc.
6538         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6539         implementation of timed lock elision for powerpc.
6540         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6541         implementation of trylock with lock elision for powerpc.
6542         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6543         implementaion of unlock for lock elision for powerpc.
6544         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6545         automatic enable lock elision for mutexes.
6546         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6547         transaction execution definitions for powerpc.
6548         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6549         definitions.
6550         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6551         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6552         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6553         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6554         * NEWS: Update.
6556 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6558         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6559         for #include of <shm-directory.h>.
6561 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6563         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6564         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6566 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6568         [BZ #17791]
6569         * NEWS: Mention bug fix.
6570         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6571         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6572         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6574 2015-01-09  Torvald Riegel <triegel@redhat.com>
6576         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6578 2015-01-09  Torvald Riegel <triegel@redhat.com>
6580         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6582 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6584         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6585         pointer and cast to uintptr_t.
6587 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6589         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6590         removed.
6591         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6593 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6595         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6596         of 0.
6598 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6600         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6601         <nptl/pthreadP.h> instead.
6602         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6604         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6605         already defined.
6606         [__SIGRTMIN] (init): Function removed.
6607         [__SIGRTMIN] (initialized): Variable removed.
6608         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6609         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6610         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6611         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6612         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6613         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6614         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6615         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6616         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6617         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6618         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6619         * sysdeps/nptl/allocrtsig.c: New file.
6620         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6621         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6622         * sysdeps/generic/testrtsig.h: File removed.
6624         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6625         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6627         * nptl/nptl-init.c (pthread_functions): Conditionalize
6628         .ptr__nptl_setxid initialization on [SIGSETXID].
6630         * sysdeps/nptl/sys/procfs.h: New file.
6631         * nptl_db/Makefile (headers): Add it.
6632         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6634         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6635         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6636         * nptl/pthread_attr_setaffinity.c: Include it.
6637         * nptl/pthread_setattr_default_np.c: Likewise.
6638         * nptl/check-cpuset.h: New file.
6640 2015-01-08  Richard Henderson  <rth@redhat.com>
6642         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6643         (CFLAGS-tst-execstack-prog.c): Likewise.
6644         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6646 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6647             Sandra Loosemore  <sandra@codesourcery.com>
6648             Andrew Jenner  <andrew@codesourcery.com>
6649             Joseph Myers  <joseph@codesourcery.com>
6650             Nathan Sidwell  <nathan@codesourcery.com>
6652         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6653         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6654         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6655         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6656         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6657         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6658         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6659         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6660         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6661         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6662         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6663         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6664         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6665         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6666         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6667         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6668         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6670 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6672         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6673         timespec struct member in syscall macro.
6674         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6675         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6676         first timeval struct member in syscall macro.
6677         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6679 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6681         [BZ #17748]
6682         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6683         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6684         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6685         __feupdateenv and define as weak alias of __feupdateenv.  Use
6686         libm_hidden_weak.
6687         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6688         libm_hidden_def.
6689         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6690         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6691         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6692         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6693         libm_hidden_def.
6694         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6695         __feupdateenv and define as weak alias of __feupdateenv.  Use
6696         libm_hidden_weak.
6697         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6698         libm_hidden_def.
6699         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6700         __feupdateenv and define as weak alias of __feupdateenv.  Use
6701         libm_hidden_weak.
6702         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6703         libm_hidden_def.
6704         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6705         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6706         (__feupdateenv): Likewise.
6707         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6708         __feupdateenv and define as weak alias of __feupdateenv.  Use
6709         libm_hidden_weak.
6710         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6711         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6712         libm_hidden_def.
6713         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6714         function.
6715         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6716         libm_hidden_def.
6717         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6718         __feupdateenv instead of feupdateenv.
6719         (default_libc_feupdateenv_test): Likewise.
6720         (libc_feresetround_ctx): Likewise.
6722 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6724         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6725         prototype.
6727 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6729         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6730         COLL_SYM in a couple of places to avoid uninitialized variable
6731         wanings on tilegx gcc 4.8.2.
6733 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6735         * sysdeps/aarch64/strcpy.S: New file.
6736         * sysdeps/aarch64/stpcpy.S: New file.
6737         * NEWS: Updated.
6739 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6741         * sysdeps/aarch64/strrchr.S: New file.
6742         * NEWS: Updated.
6744 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6746         [BZ #17658]
6747         * stdlib/setenv.c: Fix memory leak when setting large,
6748         duplicate string.
6750 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6752         [BZ #17273]
6753         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6754         and tabs from buffer before parsing fstab entry.
6755         * misc/tst-mntent.c (main): Add test for mount entry with
6756         trailing spaces and tabs.
6758 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6760         [BZ #17748]
6761         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6762         * math/fesetround.c (fesetround): Rename to __fesetround and
6763         define as weak alias of __fesetround.  Use libm_hidden_weak.
6764         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6765         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6766         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6767         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6768         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6769         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6770         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6771         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6772         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6773         __fesetround_inline.
6774         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6775         __fesetround_inline instead of __fesetround.
6776         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6777         __fesetround and define as weak alias of __fesetround.  Use
6778         libm_hidden_weak.  Call __fesetround_inline instead of
6779         __fesetround.
6780         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6781         __fesetround and define as weak alias of __fesetround.  Use
6782         libm_hidden_weak.
6783         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6784         Likewise.
6785         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6786         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6787         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6788         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6789         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6790         __fesetround and define as weak alias of __fesetround.  Use
6791         libm_hidden_weak.
6792         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6793         __fesetround instead of fesetround.
6794         (default_libc_feholdexcept_setround): Likewise.
6795         (libc_feholdsetround_ctx): Likewise.
6796         (libc_feholdsetround_noex_ctx): Likewise.
6798         [BZ #17748]
6799         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6800         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6801         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6802         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6803         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6804         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6805         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6806         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6807         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6808         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6809         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6810         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6811         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6812         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6813         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6814         libm_hidden_def.
6815         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6816         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6817         Likewise.
6818         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6819         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6820         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6821         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6822         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6823         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6824         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6825         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6826         __fesetenv instead of fesetenv.
6827         (libc_feresetround_noex_ctx): Likewise.
6828         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6829         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6830         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6831         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6832         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6833         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6834         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6835         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6836         (__feupdateenv): Likewise.
6837         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6838         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6839         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6840         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6842 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6844         [BZ #17806]
6845         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6846         addresses have been freed.
6848 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6850         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6851         and nservall.
6853 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6855         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6856         Clean up check_pf allocation pattern. addresses
6858 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6860         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6861         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6862         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6863         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6864         * nptl/pthread_join.c (pthread_join): Likewise.
6865         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6866         * sysdeps/posix/waitid.c (__waitid): Likewise.
6867         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6868         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6869         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6870         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6871         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6872         Likewise.
6873         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6874         (__libc_pread64): Likewise.
6875         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6876         (__libc_pwrite): Likewise.
6877         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6878         (__libc_pwrite64): Likewsie.
6879         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6880         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6881         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6882         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6883         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6884         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6885         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6887         Likewise.
6888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6889         (__libc_pread64): Likewise.
6890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6891         Likewise.
6892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6893         (__libc_pwrite64): Likewise.
6894         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6895         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6896         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6897         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6898         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6899         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6900         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6901         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6902         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6903         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6904         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6905         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6906         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6907         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6908         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6909         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6910         Likewise.
6912 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6914         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6915         (CFLAGS-test-double.c): Likewise.
6916         (CFLAGS-test-ldouble.c): Likewise.
6917         (CPPFLAGS-test-ifloat.c): Likewise.
6918         (CPPFLAGS-test-idouble.c): Likewise.
6919         (CPPFLAGS-test-ildoubl.c): Likewise.
6920         (CFLAGS-test-test-fenv.c): Remove variable.
6921         (CFLAGS-test-misc.c): Likewise.
6923 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6925         [BZ #17797]
6926         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6927         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6928         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6929         CLOCKS_PER_SEC == 1000000.
6930         * time/clocktest.c (main): Replace %ld with %jd and cast to
6931         intmax_t.
6933 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6935         * sysdeps/generic/unwind-resume.h: New file.
6936         * sysdeps/gnu/unwind-resume.c: Include it.
6937         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6938         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6939         argument list.
6940         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6941         global rather than static.
6942         (_Unwind_Resume): Update user.
6943         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6944         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6945         rather than static.  Add __attribute__ ((cold)).
6946         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6947         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6948         * sysdeps/arm/arm-unwind-resume.S: New file.
6949         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6950         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6951         * sysdeps/arm/Makefile [$(subdir) = csu]
6952         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6953         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6954         Add rt-arm-unwind-resume.
6955         [$(subdir) = nptl]
6956         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6957         Add pt-arm-unwind-resume.
6958         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6959         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6961 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6963         [BZ #17748]
6964         * include/fenv.h (__feholdexcept): Declare.  Use
6965         libm_hidden_proto.
6966         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6967         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6968         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6969         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6970         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6971         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6972         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6973         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6974         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6975         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6976         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6977         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6978         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6979         (feholdexcept): Likewise.
6980         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6981         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6982         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6983         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6984         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6985         __feholdexcept instead of feholdexcept.
6986         (default_libc_feholdexcept_setround): Likewise.
6988 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6990         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6991         to avoid using stl/str to align destination.
6993 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6995         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6997 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6999         [BZ #17796]
7000         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7001         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7002         Define as weak alias not strong alias.
7004 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7006         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7007         bltzal with addiupc.
7008         (RTLD_START): Ditto.
7010 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7012         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7013         for __vdso_* functions in declarations.
7014         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7015         definitions.
7016         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7017         INTERNAL_VSYSCALL): Use struct return types to check for error.
7019         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7020         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7021         function with cast from llround().
7022         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7023         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7024         Define.
7026 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7028         [BZ #17793]
7029         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7030         Define as weak alias not strong alias.
7032         [BZ #17635]
7033         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7034         ...
7035         * ctype/ctype-extn.c: ... here.
7036         (__isblank_l): Move to ...
7037         * ctype/ctype-c99_l.c: ... here.  New file.
7038         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7039         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7040         Remove variable.
7041         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7042         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7043         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7044         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7045         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7047         [BZ #17777]
7048         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7049         (posix_fadvise64): Define as weak alias not strong alias.
7050         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7051         (posix_fallocate64): Likewise.
7052         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7053         Remove variable.
7054         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7055         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7056         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7057         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7058         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7060 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7062         [BZ #16191]
7063         * NEWS: Mention bug fix.
7064         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7065         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7066         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7067         (HOST_STACK_END_ADDR): Likewise.
7069 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7071         [BZ #17748]
7072         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7073         * math/fegetround.c (fegetround): Rename to __fegetround and
7074         define as weak alias of __fegetround.  Use libm_hidden_weak.
7075         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7076         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7077         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7078         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7079         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7080         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7081         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7082         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7083         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7084         Undefine after rather than before function definition; use
7085         parentheses around function name in definition.
7086         (__fegetround): Also undefine macro after function definition.
7087         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7088         __fegetround and define as weak alias of __fegetround.  Use
7089         libm_hidden_weak.  Do not undefine as macro.
7090         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7091         Likewise.
7092         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7093         __fegetround and define as weak alias of __fegetround.  Use
7094         libm_hidden_weak.
7095         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7096         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7097         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7098         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7099         __fegetround and define as weak alias of __fegetround.  Use
7100         libm_hidden_weak.
7101         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7102         __fegetround instead of fegetround.
7104         [BZ #17782]
7105         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7106         Condition macro definition on [__USE_MISC].
7108         [BZ #17781]
7109         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7110         (struct sigaction): Change type of sa_flags field to int.
7112         [BZ #17780]
7113         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7114         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7115         __glibc_reserved0.
7117         * nptl/version.c (banner): Use single year in copyright notice.
7119         * NEWS: Update copyright dates.
7120         * catgets/gencat.c (print_version): Likewise.
7121         * csu/version.c (banner): Likewise.
7122         * debug/catchsegv.sh: Likewise.
7123         * debug/pcprofiledump.c (print_version): Likewise.
7124         * debug/xtrace.sh (do_version): Likewise.
7125         * elf/ldconfig.c (print_version): Likewise.
7126         * elf/ldd.bash.in: Likewise.
7127         * elf/pldd.c (print_version): Likewise.
7128         * elf/sotruss.sh: Likewise.
7129         * elf/sprof.c (print_version): Likewise.
7130         * iconv/iconv_prog.c (print_version): Likewise.
7131         * iconv/iconvconfig.c (print_version): Likewise.
7132         * locale/programs/locale.c (print_version): Likewise.
7133         * locale/programs/localedef.c (print_version): Likewise.
7134         * login/programs/pt_chown.c (print_version): Likewise.
7135         * malloc/memusage.sh (do_version): Likewise.
7136         * malloc/memusagestat.c (print_version): Likewise.
7137         * malloc/mtrace.pl: Likewise.
7138         * manual/libc.texinfo: Likewise.
7139         * nptl/version.c (banner): Likewise.
7140         * nscd/nscd.c (print_version): Likewise.
7141         * nss/getent.c (print_version): Likewise.
7142         * nss/makedb.c (print_version): Likewise.
7143         * posix/getconf.c (main): Likewise.
7144         * scripts/test-installation.pl: Likewise.
7145         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7147 2015-01-02  Will Newton  <will.newton@linaro.org>
7149         * sysdeps/arm/armv7/configure: Removed.
7150         * sysdeps/arm/armv7/configure.ac: Likewise.
7152 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7154         * All files with FSF copyright notices: Update copyright dates
7155         using scripts/update-copyrights.
7156         * intl/plural.c: Regenerated.
7157         * locale/programs/charmap-kw.h: Likewise.
7158         * locale/programs/locfile-kw.h: Likewise.
7160 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7162         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7164 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7166         [BZ #17748]
7167         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7168         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7169         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7170         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7171         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7172         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7173         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7174         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7175         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7176         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7177         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7178         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7179         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7180         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7181         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7182         libm_hidden_def.
7183         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7184         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7185         Likewise.
7186         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7187         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7188         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7189         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7190         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7191         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7192         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7193         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7194         __fegetenv instead of fegetenv.
7195         (libc_feholdsetround_noex_ctx): Likewise.
7197 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7199         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7200         (Elf_MIPS_ABIFlags_v0): New structure.
7201         (EF_MIPS_FP64): Define.
7202         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7203         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7204         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7205         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7206         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7207         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7208         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7209         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7210         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7211         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7212         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7213         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7214         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7215         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7216         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7217         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7218         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7219         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7220         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7221         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7222         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7223         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7224         field.
7225         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7226         EF_MIPS_FP64.
7227         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7228         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7229         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7230         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7231         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7232         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7233         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7234         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7235         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7236         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7237         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7238         record the current FP ABI extension.
7239         (mips-mode-switch): Define to show if kernel headers support mode
7240         switching.
7241         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7242         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7243         supported SYSV ABI version to 3.
7244         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7245         feature.
7247 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7248             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7250         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7251         path.
7252         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7254 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7256         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7257         __fegetround and redefine to call __fegetround.  Remove condition
7258         on [!__NO_MATH_INLINES].
7259         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7260         function.
7261         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7262         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7263         Remove macro.
7264         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7265         instead of <fenv_libc.h>.
7266         (__llrintl): Call fegetround instead of __fegetround.
7267         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7268         instead of <fenv_libc.h>.
7269         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7270         (__lrintl): Call fegetround instead of __fegetround.
7271         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7272         instead of <fenv_libc.h>.
7273         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7274         (__rintl): Call fegetround instead of __fegetround.
7276 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7278         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7279         arrays.
7281 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7283         [BZ #17775]
7284         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7285         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7286         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7288 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7290         * sysdeps/i386/tls-macros.h: Include <features.h>.
7291         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7292         (TLS_IE): Likewise.
7293         (TLS_LD): Likewise.
7294         (TLS_GD): Likewise.
7295         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7296         define for GCC >= 5.0.
7298 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7300         * math/test-fenv.c (test_single_exception, set_single_exc,
7301         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7302         feexcp_mask_test, feenable_test, fe_single_test): Add
7303         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7304         case where they are not used.
7305         * math/libm-test.inc: Likewise.
7306         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7307         unused in the absence of FP rounding/exception support.
7308         * stdio-common/tst-printf-round.c: Likewise.
7309         * stdlib/tst-strtod-round.c: Likewise.
7310         * stdlib/tst-strtod-underflow.c: Likewise.
7312 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7314         [BZ #17723]
7315         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7316         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7317         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7318         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7319         libm_hidden_weak.
7320         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7321         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7322         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7323         libm_hidden_def.
7324         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7325         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7326         libm_hidden_weak.
7327         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7328         Likewise.
7329         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7330         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7331         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7332         libm_hidden_weak.
7333         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7334         libm_hidden_def.
7335         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7336         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7337         (__feraiseexcept): Likewise.
7338         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7339         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7340         libm_hidden_weak.
7341         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7342         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7343         libm_hidden_def.
7344         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7345         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7346         Use libm_hidden_def.
7347         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7348         libm_hidden_def.
7349         (feraiseexcept): Define as weak not strong alias.  Use
7350         libm_hidden_weak.
7351         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7352         New inline function.  Factored out of ...
7353         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7354         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7355         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7356         feraiseexcept.
7357         * math/w_acos.c (__acos): Likewise.
7358         * math/w_asin.c (__asin): Likewise.
7359         * math/w_ilogb.c (__ilogb): Likewise.
7360         * math/w_j0.c (y0): Likewise.
7361         * math/w_j1.c (y1): Likewise.
7362         * math/w_jn.c (yn): Likewise.
7363         * math/w_log.c (__log): Likewise.
7364         * math/w_log10.c (__log10): Likewise.
7365         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7366         * sysdeps/aarch64/fpu/math_private.h
7367         (libc_feupdateenv_test_aarch64): Likewise.
7368         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7369         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7370         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7371         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7372         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7373         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7374         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7375         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7376         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7377         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7379 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7381         [BZ #17732]
7382         * io/test-utime.c (main): Replace %ld with %jd and cast to
7383         intmax_t.
7384         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7385         * nptl/tst-mutex5.c: Include <stdint.h>.
7386         (do_test): Replace %ld with %jd and cast to intmax_t.
7387         * posix/tst-regex.c (run_test): Likewise.
7388         (run_test_backwards): Likewise.
7389         * rt/tst-clock.c: Include <stdint.h>.
7390         (clock_test): Replace %ld with %jd and cast to intmax_t.
7391         * rt/tst-cpuclock1.c: Include <stdint.h>.
7392         (do_test): Replace %lu with %ju and cast to uintmax_t.
7393         * rt/tst-cpuclock2.c: Include <stdint.h>.
7394         (do_test): Replace %lu with %ju and cast to uintmax_t.
7395         * rt/tst-mqueue1.c: Include <stdint.h>.
7396         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7397         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7398         intmax_t.
7399         * rt/tst-mqueue4.c (do_test): Likewise.
7400         * rt/tst-timer4.c: Include <stdint.h>.
7401         (check_ts): Replace %ld with %jd and cast to intmax_t.
7402         (do_test): Likewise.
7403         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7404         and cast to intmax_t.
7405         * sysdeps/pthread/tst-timer.c (main): Likewise.
7406         * time/clocktest.c (main): Likewise.
7407         * time/tst-posixtz.c (do_test): Likewise.
7408         * timezone/tst-timezone.c (main): Likewise.
7410 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7411             H.J. Lu  <hongjiu.lu@intel.com>
7413         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7414         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7415         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7416         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7417         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7418         version if bit_Fast_Unaligned_Load is set.
7419         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7420         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7421         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7422         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7423         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7424         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7426         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7427         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7428         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7429         to 4.
7430         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7431         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7432         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7433         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7435 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7437         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7438         instead of #if to avoid a Wundef warning.
7439         * stdlib/tst-limits.c (do_test): Likewise.
7441         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7442         parallel other exception macros.
7443         (fegetenv): Convert from macro to extern inline so that it applies
7444         retroactively to inline functions already seen by the compiler.
7445         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7447         * posix/Makefile (before-compile): Use $(objpfx) for
7448         posix-conf-vars-def.h.
7450 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7452         * posix/getconf.c (main): Use size_t for type of I.
7453         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7454         NSPEC.
7456         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7457         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7458         * posix/posix-envs.def: Likewise.
7459         * sysdeps/posix/sysconf.c: Likewise.
7460         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7461         (specs): Remove array.
7462         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7463         array.
7465         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7466         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7467         (__sysconf): Use CONF_IS_* macros.
7469         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7470         ($(objpfx)posix-conf-vars-def.h): New target.
7471         * posix/posix-conf-vars.list: New file.
7472         * posix/posix-conf-vars.h: New file.
7473         * posix/confstr.c: Include posix-conf-vars.h.
7474         (confstr): Use CONF_IS_* macros.
7475         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7476         CONF_IS_* macros.
7477         * scripts/gen-posix-conf-vars.awk: New file.
7479 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7481         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7482         fegetround): Add no-op macros to avoid linknamespace issues.
7484         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7485         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7487         * sysdeps/unix/sysv/linux/tile/sysdep.h
7488         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7489         assembly-specific section to avoid a redefinition warning.
7491         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7492         long before casting to pointer to avoid a cast warning.
7494 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7496         * sysdeps/tile/tilegx/Implies: New file.
7498 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7500         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7502 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7504         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7506 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7509         not define.
7510         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7511         <kernel-features.h>.
7512         (__utimes) [__NR_utimes]: Make code unconditional.
7513         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7514         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7515         (__ASSUME_UTIMES): Do not undefine.
7516         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7517         (__ASSUME_UTIMES): Likewise.
7518         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7519         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7520         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7521         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7523 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7525         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7527 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7529         [BZ #17747]
7530         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7531         alias to weak alias for j0l, y0l.
7532         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7533         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7535         [BZ #17746]
7536         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7537         conversion.
7539 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7541         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7542         to zero if not already defined.
7544 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7546         [BZ #17724]
7547         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7548         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7549         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7550         (char *) casts added.
7551         * sysdeps/ieee754/k_standardf.c: New file.
7552         * sysdeps/ieee754/k_standardl.c: Likewise.
7553         * math/Makefile (libm-support): Remove k_standard.
7554         (libm-calls): Add k_standard.
7556 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7558         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7559         Optimize to avoid an unnecessary FPCR read.
7561 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7563         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7564         Optimize to reduce FPCR/FPSR accesses.
7566 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7568         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7569         Call libc_fetestexcept_aarch64.
7571 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7573         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7574         Call libc_fesetround_aarch64.
7576 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7578         [BZ #17733]
7579         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7580         (__bind): Do not define as weak alias.
7581         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7582         define.
7583         (__getsockname): Do not define as weak alias.
7585 2014-12-22  Will Newton  <will.newton@linaro.org>
7587         * manual/install.texi: Document that we require bison 2.7
7588         or above.
7589         * INSTALL: Regenerate.
7590         * configure.ac: Use AC_CHECK_PROG_VER instead of
7591         AC_PATH_PROG when checking for bison and check for
7592         version 2.7 or above.
7593         * configure: Regenerate.
7595 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7597         [BZ #17745]
7598         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7599         * sysdeps/tile/ffsll.c (ffsll): To here.
7601         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7603 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7605         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7606         if not defined.
7607         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7608         definition.
7609         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7610         hidden ___tls_get_addr.
7611         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7612         hidden __tls_get_addr.
7613         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7614         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7615         Likewise.
7617 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7619         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7620         _dl_init call.
7622 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7624         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7625         from "call _dl_init@PLT".
7626         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7628 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7630         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7631         guarantees.
7633 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7635         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7637 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7639         [BZ #17744]
7640         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7641         strnlen.
7643 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7645         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7646         of multu on MIPSr6.
7647         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7648         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7649         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7650         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7651         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7653 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7655         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7656         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7657         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7658         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7659         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7660         mips32r6/mips64r6.
7661         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7663 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7665         * string/strncat.c (STRNCAT): Simplify implementation.
7667 2014-12-19  David S. Miller  <davem@davemloft.net>
7669         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7670         access the quad as both a long double and as a series of 4 words.
7672         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7673         link_map->l_info array access.
7675 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7677         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7679         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7680         * math/atest-exp2.c (TIMEOUT): Likewise.
7681         * math/atest-sincos.c (TIMEOUT): Likewise.
7683 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7685         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7686         -Wno-error with -fno-builtin-lround.
7688 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7690         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7691         Contains futex constants and functions moved over from ...
7692         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7693         <lowlevellock-futex.h>.
7694         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7695         (lll_timedwait_tid): Add comments and parentheses around macro
7696         arguments.
7698 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7700         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7701         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7702         (__lll_private_flag): Remove.
7703         (lll_futex_wait): Likewise.
7704         (lll_futex_timed_wait): Likewise.
7705         (lll_futex_wake): Likewise.
7706         (lll_futex_requeue): Likewise.
7707         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7708         (__lll_timedwait_tid): Spell out argument names.
7709         (lll_timedwait_tid): Add comments and parentheses around macro
7710         arguments.
7711         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7712         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7714 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7716         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7717         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7718         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7719         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7720         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7721         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7722         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7723         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7724         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7725         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7726         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7727         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7728         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7729         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7730         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7731         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7732         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7733         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7734         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7736 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7738         * sysdeps/x86_64/x32/Makefile: New file.
7740 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7742         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7743         1L with (mp_limb_t) 1.
7745 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7747         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7748         * nptl/libc_pthread_init.c: ... here.
7749         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7750         * nptl/register-atfork.c: ... here.
7752         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7753         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7754         Use assert_perror to check its return value.
7755         (__gai_create_helper_thread): Likewise.
7757         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7759         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7761 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7763         [BZ #17725]
7764         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7765         __profil_counter.
7766         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7767         Likewise.
7768         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7769         Likewise.
7770         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7771         Likewise.
7772         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7773         (profil_counter): Likewise.
7774         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7775         (profil_counter): Likewise.
7776         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7777         Likewise.
7778         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7779         Likewise.
7780         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7781         (profil_counter): Likewise.
7782         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7783         Likewise.
7784         [!__profil_counter] (profil_counter): Define as weak alias of
7785         __profil_counter.
7786         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7787         (profil_counter): Rename to __profil_counter.
7788         [!__profil_counter] (profil_counter): Define as weak alias of
7789         __profil_counter.
7790         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7791         (profil_counter): Rename to __profil_counter.
7792         [!__profil_counter] (profil_counter): Define as weak alias of
7793         __profil_counter.
7794         * sysdeps/posix/profil.c: Update comment referring to
7795         profil_counter.
7796         (__profil): Use __profil_counter instead of profil_counter.
7797         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7798         __profil_counter.  Use __profil_counter_ushort and
7799         __profil_counter_uint in definitions.
7800         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7801         instead of profil_counter_uint and profil_counter_ushort.
7803         [BZ #17722]
7804         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7805         define as weak alias of __inet_makeaddr.
7806         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7807         as weak alias of __inet_addr.
7808         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7809         as weak alias of __inet_pton.  Use libc_hidden_weak.
7810         * include/arpa/inet.h (__inet_pton): Declare.  Use
7811         libc_hidden_proto.
7812         (inet_makeaddr): Don't use libc_hidden_proto.
7813         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7814         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7815         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7816         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7817         Remove variable.
7818         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7819         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7821 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7823         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7825 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7827         * stdio-common/bug-vfprintf-nargs.c (do_test):
7828         Cast value to intptr_t to avoid format warning
7829         for usage with PRIdPTR printing macro.
7831 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7833         * libio/tst-widetext.c (do_test):
7834         Use format type %td instead of %Zd for ptrdiff_t
7835         in order to avoid format warning.
7837 2014-12-17  Andreas Schwab  <schwab@suse.de>
7839         * nscd/mem.c (gc): Add size_t cast to match printf format.
7841 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7843         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7844         (init): Apply PTR_MANGLE to pointers before storing them.
7845         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7846         before using them.
7848 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7850         [BZ #17719]
7851         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7852         define as weak alias of __memrchr.
7853         (__memrchr): Do not define as strong alias of memrchr.
7854         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7855         Remove variable.
7856         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7857         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7858         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7860         [BZ #17717]
7861         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7862         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7863         (if_indextoname): Rename to __if_indextoname and define as weak
7864         alias of __if_indextoname.  Use libc_hidden_weak.
7865         (if_freenameindex): Rename to __if_freenameindex and define as
7866         weak alias of __if_freenameindex.
7867         (if_nameindex): Rename to __if_nameindex and define as weak alias
7868         of __if_nameindex.
7869         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7870         __if_nametoindex and define as weak alias of __if_nametoindex.
7871         Use libc_hidden_weak.
7872         (if_freenameindex): Rename to __if_freenameindex and define as
7873         weak alias of __if_freenameindex.
7874         (if_nameindex): Rename to __if_nameindex and define as weak alias
7875         of __if_nameindex.
7876         (if_indextoname): Rename to __if_indextoname and define as weak
7877         alias of __if_indextoname.  Use libc_hidden_weak.
7878         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7879         __if_nametoindex and define as weak alias of __if_nametoindex.
7880         Use libc_hidden_weak.
7881         (if_freenameindex): Rename to __if_freenameindex and define as
7882         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7883         (if_nameindex_netlink): Use __if_freenameindex instead of
7884         if_freenameindex.
7885         (if_nameindex): Rename to __if_nameindex and define as weak alias
7886         of __if_nameindex.  Use libc_hidden_weak.
7887         (if_indextoname): Rename to __if_indextoname and define as weak
7888         alias of __if_indextoname.  Use libc_hidden_weak.
7889         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7890         libc_hidden_proto.
7891         [!_ISOMAC] (__if_freenameindex): Likewise.
7892         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7893         if_nametoindex.
7894         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7895         variable.
7896         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7897         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7898         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7899         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7900         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7901         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7902         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7904         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7905         Remove variable.
7906         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7907         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7909 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7911         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7912         subscript above bounds'
7914         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7915         bounds.
7917 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7919         * libio/tst-fopenloc.c: Use test-skeleton.c.
7921         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7922         (entry): Rename to ITEM.
7923         (do_test, comp): Adjust.
7925         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7927 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7929         * string/tester.c: Include <libc-internal.h>.
7930         (test_memset): Ignore -Wmemset-transposed-args.
7932 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7934         * misc/tst-mntent2.c (do_test): Fix warning.
7936 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7938         * elf/tst-unique4lib.cc(a): Mark as used.
7940 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7942         [BZ #17630]
7943         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7944         names.
7946 2014-12-16  Allan McRae  <allan@archlinux.org>
7948         * stdio-common/Makefile (tests): Re-add bug26.
7950 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7952         [BZ #17657]
7953         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7954         static array.
7956 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7958         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7959         (__lll_lock_wait): Likewise.
7960         (__lll_timedlock_wait): Likewise.
7961         (__lll_timedwait_tid): Likewise.
7962         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7963         (__lll_robust_timedlock_wait): Likewise.
7964         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7965         (lll_cond_trylock): Likewise.
7966         (__lll_lock): Likewise.
7967         (__lll_robust_lock): Likewise.
7968         (__lll_cond_lock): Likewise.
7969         (lll_robust_cond_lock): Likewise.
7970         (__lll_timedlock): Likewise.
7971         (__lll_robust_timedlock): Likewise.
7972         (__lll_unlock): Likewise.
7973         (__lll_robust_unlock): Likewise.
7974         (lll_wait_tid): Likewise.
7975         (lll_timedwait_tid): Likewise.
7977 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7979         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7981 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7983         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7985 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7987         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7988         * stdio-common/tst-sprintf.c: Likewise.
7990 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7992         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7994 2014-12-15  Jeff Law  <law@redhat.com>
7996         [BZ #16617]
7997         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7998         on the heap.  (CVE-2012-3406)
7999         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8000         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8001         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8003 2014-12-15  Will Newton  <will.newton@linaro.org>
8005         * manual/install.texi: Bump required version of texinfo
8006         to 4.7 from 4.5.
8007         * INSTALL: Regenerated.
8008         * configure.ac: Check for makeinfo version 4.7 and above.
8009         * configure: Regenerated.
8011 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8013         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8014         PREFIX, string constant to insert between directory and name.
8015         * sysdeps/posix/shm_open.c: Update caller.
8016         * sysdeps/posix/shm_unlink.c: Likewise.
8017         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8018         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8019         (SEM_SHM_PREFIX): New macro.
8020         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8021         [$(have-thread-library) = no].
8022         * nptl/Makefile (libpthread-routines): Add shm-directory.
8023         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8024         * sysdeps/nptl/shm-directory.h: New file.
8025         * sysdeps/posix/shm-directory.c
8026         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8027         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8028         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8029         INTERNAL_SYSCALL.
8030         (__where_is_shmfs): Function removed.
8031         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8032         Variables removed.
8033         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8034         Use SHM_GET_NAME.
8035         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8037         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8038         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8039         unconditional for use inside libpthread.
8040         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8042 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8044         * nptl/pthread_getaffinity.c: New file.
8045         * nptl/pthread_setaffinity.c: New file.
8046         * nptl/pthread_getname.c: New file.
8047         * nptl/pthread_setname.c: New file.
8049         * nptl/pthread_create.c (START_THREAD_DEFN)
8050         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8052 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8053             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8055         * resolv/res_send.c (send_vc): Disable warning resplen may
8056         be used uninitialized.
8058 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8060         * nptl/tst-mutex6.c
8061         (ATTR_NULL): New define checks ATTR against NULL.
8062         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8063         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8065 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8067         [BZ #17581]
8068         * malloc/hooks.c
8069         (mem2mem_check): Revert my previous change.
8070         (malloc_check_get_size): Revert my previous change.
8071         (mem2chunk_check): Revert my previous change.
8073 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8075         * sysdeps/posix/shm-directory.c: New file.
8076         * sysdeps/posix/shm-directory.h: New file.
8077         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8078         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8079         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8080         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8081         Transmute EPERM to EACCES.
8082         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8083         from ...
8084         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8085         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8087 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8089         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8090         pointer and cast to uintptr_t.
8091         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8092         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8093         Add cast to avoid warning.
8094         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8096 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8098         * nptl/semaphore.h: Move to ...
8099         * sysdeps/pthread/semaphore.h: ... here.
8100         * Makefile (installed-headers): Change nptl/semaphore.h to
8101         sysdeps/pthread/semaphore.h.
8103 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8105         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8106         generated error format strings.
8108         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8109         -Wformat-extra-args warnings for scanf formats.
8110         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8111         test of zero-length format (duh).
8112         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8113         corner-case scanf format test.
8114         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8115         generated fprintf format string.
8116         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8117         corner-case sprintf format tests.
8118         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8119         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8120         -Wformat-extra-args warnings throughout.
8121         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8122         (CFLAGS-scanf4.c): Likewise.
8123         (CFLAGS-scanf7.c): Likewise.
8124         (CFLAGS-tst-sprintf.c): Likewise.
8125         (CFLAGS-tst-printf.c): Likewise.
8126         (CFLAGS-tst-printfsz.c): Likewise.
8128 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8130         * include/cpio.h: New file.
8131         * include/fmtmsg.h: Likewise.
8133         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8134         corresponding format argument to size_t.
8135         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8136         arguments.
8137         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8138         corresponding format argument to size_t.
8139         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8140         arguments.
8141         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8142         corresponding format argument to size_t.
8143         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8144         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8145         (CFLAGS-tst-mbswcs2.c): Likewise.
8146         (CFLAGS-tst-mbswcs3.c): Likewise.
8147         (CFLAGS-tst-mbswcs4.c): Likewise.
8148         (CFLAGS-tst-mbswcs5.c): Likewise.
8149         (CFLAGS-tst-trans.c): Likewise
8151 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8153         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8154         rather than assuming they won't contain any '%'s.
8156 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8158         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8159         inhibit_loop_to_libcall to avoid recursive calls.
8160         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8161         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8163 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8165         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8166         prototype.
8168 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8170         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8171         integer value instead of boolean.
8173 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8175         * malloc/malloc.c: Fix powerof2 check.
8177 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8179         * locale/programs/locfile.h (maybe_swap_uint32):
8180         Remove inline and add unused attribute.
8182 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8184         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8185         Truncating assembler expression to a .long expression.
8187 2014-12-11  Andreas Schwab  <schwab@suse.de>
8189         * elf/rtld.c (struct map_args): Constify str member.
8190         (do_preload): Constify fname argument.
8192 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8194         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8195         constants definition.
8197 2014-12-11  Andreas Schwab  <schwab@suse.de>
8199         [BZ #16657]
8200         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8201         FORCE_ELISION instead of DO_ELISION.
8202         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8203         Remove.
8204         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8205         Likewise.
8207         * iconvdata/gconv-modules: Remove duplicate entry.
8209 2014-12-11  Will Newton  <will.newton@linaro.org>
8211         Merge gettext 0.19.3 into intl/.
8213         This involves a number of cosmetic changes to comments
8214         and ANSI function definitions and prototypes throughout
8215         all the files. The gettext copyright header is used but
8216         with the date ranges taken from the glibc copy.
8218         * NEWS: Add gettext merge to 2.21.
8219         * intl/bindtextdom.c: Switch to gettext copyright.
8220         Use ANSI definitions and prototypes.
8221         Use gl_* locking primitives rather than __libc_* ones.
8222         Use __builtin_expect rather than __glibc_likely/unlikely.
8223         * intl/dcgettext.c: Switch to gettext copyright.
8224         Use ANSI definitions and prototypes.
8225         * intl/dcigettext.c: Switch to gettext copyright.
8226         Use ANSI definitions and prototypes.
8227         (INTDIV0_RAISES_SIGFPE): New define.
8228         Use gl_* locking primitives rather than __libc_* ones.
8229         Include eval-plural.h instead of plural-eval.c.
8230         Use __builtin_expect rather than __glibc_likely/unlikely.
8231         * intl/dcngettext.c: Switch to gettext copyright.
8232         Use ANSI definitions and prototypes.
8233         * intl/dgettext.c: Likewise.
8234         * intl/dngettext.c: Likewise.
8235         * intl/plural-eval.c: Renamed to...
8236         * intl/eval-plural.h: ...this.
8237         * intl/explodename.c: Switch to gettext copyright.
8238         Use ANSI definitions and prototypes.
8239         (_nl_explode_name): Use strchr instead of __rawmemchr.
8240         * intl/finddomain.c: Switch to gettext copyright.
8241         Use ANSI definitions and prototypes.
8242         Use gl_* locking primitives rather than __libc_* ones.
8243         (_nl_find_domain): Use malloc rather than alloca for
8244         allocation of temporary locale name.
8245         * intl/gettext.c: Switch to gettext copyright.
8246         Use ANSI definitions and prototypes.
8247         * intl/gettextP.h: Switch to gettext copyright.
8248         Use ANSI definitions and prototypes.
8249         Use gl_* locking primitives rather than __libc_* ones.
8250         * intl/gmo.h: Switch to gettext copyright.
8251         (struct sysdep_string): Move struct segment_pair outside of
8252         struct definition.
8253         * intl/hash-string.c: Use ANSI definitions and prototypes.
8254         * intl/hash-string.h: Switch to gettext copyright.
8255         Use ANSI definitions and prototypes.
8256         * intl/l10nflist.c: Switch to gettext copyright.
8257         Use ANSI definitions and prototypes.
8258         (_nl_normalize_codeset): Avoid integer overflow.
8259         * intl/loadinfo.h: Switch to gettext copyright.
8260         Use ANSI definitions and prototypes.
8261         (LIBINTL_DLL_EXPORTED): New define.
8262         (PATH_SEPARATOR): New define.
8263         * intl/loadmsgcat.c: Switch to gettext copyright.
8264         * intl/localealias.c: Switch to gettext copyright.
8265         Use ANSI definitions and prototypes.
8266         (_nl_expand_alias): Use PATH_SEPARATOR.
8267         * intl/ngettext.c: Switch to gettext copyright.
8268         Use ANSI definitions and prototypes.
8269         * intl/plural-exp.c: Likewise.
8270         * intl/plural-exp.h: Switch to gettext copyright.
8271         Use ANSI definitions and prototypes.
8272         (struct expression): Move definition of enum operator outside
8273         of struct definition.
8274         * intl/plural.c: Regenerate.
8275         * intl/plural.y: Switch to gettext copyright.
8276         Use ANSI definitions and prototypes.
8277         Port to bison 3.0.
8278         * intl/textdomain.c: Switch to gettext copyright.
8279         Use ANSI definitions and prototypes.
8280         Use gl_* locking primitives rather than __libc_* ones.
8282 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8284         * debug/warning-nop.c: Add used atrribute.
8286 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8288         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8290         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8291         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8292         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8294 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8295             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8297         [BZ #17634]
8298         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8299         Undefine after defining function.  Define as weak alias of
8300         __wcschr.  Use libc_hidden_weak.
8301         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8302         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8303         (libc_hidden_def): Also define __GI___wcschr alias.
8304         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8305         __wcschr and define as weak alias of __wcschr.
8306         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8307         __wcschr.
8308         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8309         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8310         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8311         libc_hidden_weak.  Do not use libc_hidden_def.
8312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8313         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8314         __GI___wcschr alias.
8315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8316         [IS_IN (libc)] (wcschr): Define as macro expanding to
8317         __redirect_wcschr.
8318         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8319         [IS_IN (libc)] (__wcschr_power6): Likewise.
8320         [IS_IN (libc)] (__wcschr_power7): Likewise.
8321         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8322         instead of wcschr.
8323         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8324         __libc_wcschr.
8325         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8326         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8327         __wcschr and define as weak alias of __wcschr.  Use
8328         libc_hidden_builtin_def.
8329         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8330         as weak alias of __wcschr.  Use libc_hidden_weak.
8331         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8332         wcschr.
8333         * time/era.c (_nl_init_era_entries): Likewise.
8334         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8335         variable.
8336         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8337         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8339 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8341         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8342         format for long int variable.
8344 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8346         [BZ #10672]
8347         * manual/search.texi: (Array Sort Function): Remove claim how to make
8348         qsort stable.
8350 2014-12-10  Andreas Schwab  <schwab@suse.de>
8352         [BZ #12847]
8353         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8354         user-controlled locks.
8356 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8358         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8359         register.
8361 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8363         * configure.ac (--disable-werror): New configure option.
8364         (enable_werror): New AC_SUBST.
8365         * configure: Regenerated.
8366         * config.make.in (enable-werror): New variable.
8367         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8368         -Wno-error=undef.
8369         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8370         * manual/install.texi (Configuring and compiling): Document
8371         --disable-werror.
8372         * INSTALL: Regenerated.
8373         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8374         (CFLAGS-tst-chk2.c): Likewise.
8375         (CFLAGS-tst-chk3.c): Likewise.
8376         (CFLAGS-tst-chk4.cc): Likewise.
8377         (CFLAGS-tst-chk5.cc): Likewise.
8378         (CFLAGS-tst-chk6.cc): Likewise.
8379         (CFLAGS-tst-lfschk1.c): Likewise.
8380         (CFLAGS-tst-lfschk2.c): Likewise.
8381         (CFLAGS-tst-lfschk3.c): Likewise.
8382         (CFLAGS-tst-lfschk4.cc): Likewise.
8383         (CFLAGS-tst-lfschk5.cc): Likewise.
8384         (CFLAGS-tst-lfschk6.cc): Likewise.
8386         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8387         (main): Disable -Wdeprecated-declarations around calls to
8388         register_printf_function.
8390         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8391         (do_test): Disable -Wdiv-by-zero around some calls to
8392         fwrite_unlocked and fread_unlocked.
8394         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8395         (DIAG_POP_NEEDS_COMMENT): Likewise.
8396         (_DIAG_STR1): Likewise.
8397         (_DIAG_STR): Likewise.
8398         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8399         * stdio-common/bug21.c: Include <libc-internal.h>.
8400         (do_test): Disable -Wformat around call to sscanf.
8401         * stdio-common/scanf14.c: Include <libc-internal.h>.
8402         (main): Disable -Wformat around some calls to scanf functions.
8404 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8406         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8408 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8410         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8411         stack variable alignment.
8413 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8415         [BZ #17682]
8416         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8417         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8418         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8419         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8420         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8421         __getrlimit instead of getrlimit.
8422         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8423         __gettimeofday instead of gettimeofday.
8424         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8425         Likewise.
8426         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8427         Likewise.
8428         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8429         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8430         Remove variable.
8431         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8432         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8434 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8436         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8437         for wide-character tests.
8439 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8441         * io/openat64.c: #include <libc-internal.h>
8442         (__openat64): Prototypify.  Use ignore_value on MODE.
8443         * io/openat.c: Likewise.
8444         * misc/reboot.c: #include <libc-internal.h>
8445         (reboot): Prototypify.  Use ignore_value on HOWTO.
8446         * misc/ptrace.c: #include <libc-internal.h>
8447         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8449 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8451         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8452         XPG4, UNIX98 and XOPEN2K.
8453         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8454         Remove variable.
8455         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8457 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8459         * libio/fileops.c: Use ISO C style for function definitions.
8460         * libio/iofopen.c: Likewise.
8461         * libio/wfileops.c: Likewise.
8463         [BZ #17653]
8464         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8465         offset on EOF.
8466         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8467         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8468         (fgets_func): Function pointer to fgets and fgetws.
8469         (do_ftell_test): Add test to verify ftell value after read
8470         EOF.
8471         (do_test): Set fgets_func.
8473         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8474         O_TRUNC flag for w and w+ modes.
8475         (do_rewind_test): Likewise.
8476         (do_ftell_test): Likewise.
8477         (do_write_test): Likewise.
8479         [BZ #17647]
8480         * libio/fileops.c (do_ftell): Seek only when there are
8481         unflushed writes.
8482         * libio/wfileops.c (do_ftell_wide): Likewise.
8483         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8484         test case.
8485         (do_one_test): Call it.
8487 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8489         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8490         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8491         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8492         Remove variable.
8493         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8494         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8495         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8497 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8499         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8500         Remove variable.
8501         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8503         [BZ #17668]
8504         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8505         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8506         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8507         __freeifaddrs.  Use libc_hidden_weak.
8508         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8509         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8510         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8511         __freeifaddrs.  Use libc_hidden_weak.
8512         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8513         __getifaddrs and define as weak alias of __getifaddrs.  Use
8514         libc_hidden_weak.
8515         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8516         __freeifaddrs.  Use libc_hidden_weak.
8517         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8518         Remove variable.
8519         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8520         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8522 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8524         [BZ #17601]
8525         * sysdeps/mips/start.S (__start): Use indirect jump to call
8526         __libc_start_main.
8528 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8530         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8532         * nptl/tst-mutex1.c: Include <stdbool.h>.
8533         [!ATTR] (ATTR_NULL): New macro.
8534         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8535         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8536         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8538         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8539         to char *.
8541         [BZ #17665]
8542         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8543         Change conditional to [__USE_MISC].
8545         [BZ #17664]
8546         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8547         fgets_unlocked.
8548         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8549         __fgets_unlocked.
8550         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8551         fgets_unlocked.
8552         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8553         Remove variable.
8554         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8555         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8556         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8557         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8558         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8559         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8560         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8561         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8562         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8564         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8566 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8569         Remove strpbrk objects.
8570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8571         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8572         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8573         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8574         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8575         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8577         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8578         Remove strcspn objects.
8579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8580         (__libc_ifunc_impl_list): Remove strcspn implementation.
8581         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8582         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8583         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8584         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8586         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8587         Remove strspn objetcs.
8588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8589         (__libc_ifunc_impl_list): Remove strspn implementation.
8590         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8591         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8592         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8593         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8595 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8597         [BZ #17581]
8598         * malloc/hooks.c
8599         (mem2mem_check): Add a terminator to the chain of checking blocks.
8600         (malloc_check_get_size): Use it here.
8601         (mem2chunk_check): Ditto.
8603 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8605         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8606         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8608 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8610         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8612         * nptl/nptl-init.c: Include libc-internal.h.
8613         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8615         * elf/ldconfig.c (search_dir): Expand comment.
8617 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8619         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8620         variable.
8621         (linknamespace-symlist-stdlibs-tests): Likewise.
8622         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8623         instead of $(objpfx)symlist-stdlibs.
8624         (linknamespace-libs-isoc): New variable.
8625         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8626         (linknamespace-libs-ISO): New variable.
8627         (linknamespace-libs-ISO99): Likewise.
8628         (linknamespace-libs-ISO11): Likewise.
8629         (linknamespace-libs-XPG3): Likewise.
8630         (linknamespace-libs-XPG4): Likewise.
8631         (linknamespace-libs-POSIX): Likewise.
8632         (linknamespace-libs-UNIX98): Likewise.
8633         (linknamespace-libs-XOPEN2K): Likewise.
8634         (linknamespace-libs-POSIX2008): Likewise.
8635         (linknamespace-libs-XOPEN2K8): Likewise.
8636         ($(objpfx)symlist-stdlibs): Replace by
8637         $(linknamespace-symlist-stdlibs-tests).  Use
8638         $(linknamespace-libs-$*) as set of libraries.
8639         ($(linknamespace-header-tests)): Update dependencies.  Use
8640         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8641         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8642         * conform/linknamespace.pl: Remove comment about considering
8643         definitions of symbols from irrelevant libraries.
8645 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8647         [BZ #13862]
8648         * elf/dl-tls.c: Include <atomic.h>.
8649         (oom): Remove #ifdef SHARED/#endif.
8650         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8651         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8652         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8653         big enough.
8654         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8655         * nptl/Makefile (tests): Add tst-stack4.
8656         (modules-names): Add tst-stack4mod.
8657         ($(objpfx)tst-stack4): New.
8658         (tst-stack4mod.sos): Likewise.
8659         ($(objpfx)tst-stack4.out): Likewise.
8660         ($(tst-stack4mod.sos)): Likewise.
8661         (clean): Likewise.
8662         * nptl/tst-stack4.c: New file.
8663         * nptl/tst-stack4mod.c: Likewise.
8665 2014-11-27  J. Brown  <jb999@gmx.de>
8667         * sysdeps/x86/bits/string.h: Add recent CPUs.
8669 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8671         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8672         sigblock.
8674         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8675         feof.
8677         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8678         variable.
8680 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8682         * nscd/connections.c: Include libc-internal.h because of macro
8683         usage ignore_value.
8685 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8687         * string/bits/string3.h (__warn_memset_zero_len): Don't
8688         declare for gcc newer than 5.0.
8689         (memset): Don't test for zero-length __LEN for gcc newer than
8690         5.0.
8692 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8694         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8695         size_t for %zu format.
8697         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8698         difference, not %ju.
8700 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8702         * include/libc-internal.h (ignore_value): New macro.
8703         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8704         with ignore_value.
8706         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8707         definition.
8709         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8710         pthread_cleanup_push to void *.
8712         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8713         Undefine.
8715         [BZ #16619]
8716         [BZ #16740]
8717         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8718         instead of 1L << 52.
8720         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8721         * libio/bug-rewind2.c (do_test): Likewise.
8723         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8724         * debug/test-strcpy_chk-ifunc.c: Likewise.
8725         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8726         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8727         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8728         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8729         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8730         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8731         * Rules [$(multi-arch) = no] (tests): Do not filter out
8732         $(tests-ifunc).
8733         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8734         * debug/Makefile (tests-ifunc): Remove variable.
8735         (tests): Do not add $(tests-ifunc).
8736         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8737         (tests): Do not add $(tests-ifunc).
8738         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8739         [TEST_IFUNC]: Remove conditionals.
8740         * string/test-string.h (TEST_IFUNC): Remove macro.
8741         [TEST_IFUNC]: Remove conditionals.
8743         * string/test-strchr.c [!WIDE] (L): New macro.
8744         [WIDE] (L): Likewise.
8745         (check1): Use CHAR instead of char.  Use L on string and character
8746         constants.
8748 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8750         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8751         tests.
8752         * sysdeps/powerpc/bits/atomic.h
8753         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8754         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8755         (atomic_exchange_and_add_acq): Likewise.
8756         (atomic_exchange_and_add_rel): Likewise.
8757         * sysdeps/powerpc/powerpc32/bits/atomic.h
8758         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8759         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8760         * sysdeps/powerpc/powerpc64/bits/atomic.h
8761         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8762         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8764 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8766         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8767         Change synchronization of __sched_fifo_min_prio and
8768         __sched_fifo_max_prio.
8769         * nptl/pthread_mutexattr_getprioceiling.c
8770         (pthread_mutexattr_getprioceiling): Likewise.
8771         * nptl/pthread_mutexattr_setprioceiling.c
8772         (pthread_mutexattr_setprioceiling): Likewise.
8773         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8774         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8775         Likewise.
8777 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8779         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8780         void.
8782 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8784         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8785         third argument const.
8787 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8789         fnmatch: work around GCC compiler warning bug with uninit var
8790         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8791         This works around a bug with x86-64 GCC 4.9.2 and earlier
8792         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8793         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8794         used uninitialized in this function [-Wmaybe-uninitialized]".
8796 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8798         * posix/bug-regex31.c (main): Return RES not 0.
8800 2014-11-25  Anton Blanchard <anton@samba.org>
8802         * sysdeps/powerpc/bits/atomic.h
8803         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8805 2014-11-24  Sterling Augustine  <saugustine@google.com>
8807         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8809 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8811         [BZ #17608]
8812         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8814 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8816         [BZ #17633]
8817         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8818         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8819         variable.
8820         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8821         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8823 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8825         * string/strncpy.c (strncpy): Improve performance by using memset.
8827 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8829         * string/strcpy.c (strcpy):
8830         Improve performance by using strlen and memcpy.
8832 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8834         * string/strcoll_l.c (get_next_seq): __always_inline.
8835         * string/strcoll_l.c (do_compare): __always_inline.
8837 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8839         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8840         defined.
8841         * include/mqueue.h: Likewise.
8842         * include/stdlib.h: Likewise.
8844         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8845         (get_null_defines): Adjust.
8846         * sunrpc/Makefile: Adjust comment.
8847         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8848         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8849         (CFLAGS-interp.c): Likewise.
8850         (CFLAGS-ldconfig.c): Likewise.
8851         (CPPFLAGS-.os): Likewise.
8852         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8853         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8854         * extra-modules.mk (extra-modules.mk): Likewise.
8855         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8856         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8857         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8858         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8859         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8860         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8861         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8862         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8863         * iconvdata/Makefile (CPPFLAGS): Likewise.
8864         (cpp-srcs-left): Add libof for all iconvdata routines.
8865         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8866         * include/assert.h: Likewise.
8867         * include/ctype.h: Likewise.
8868         * include/errno.h: Likewise.
8869         * include/libc-symbols.h: Likewise.
8870         * include/math.h: Likewise.
8871         * include/netdb.h: Likewise.
8872         * include/resolv.h: Likewise.
8873         * include/stdio.h: Likewise.
8874         * include/stdlib.h: Likewise.
8875         * include/string.h: Likewise.
8876         * include/sys/stat.h: Likewise.
8877         * include/wctype.h: Likewise.
8878         * intl/l10nflist.c: Likewise.
8879         * libidn/idn-stub.c: Likewise.
8880         * libio/libioP.h: Likewise.
8881         * nptl/libc_multiple_threads.c: Likewise.
8882         * nptl/pthreadP.h: Likewise.
8883         * posix/regex_internal.h: Likewise.
8884         * resolv/res_hconf.c: Likewise.
8885         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8886         * sysdeps/arm/memmove.S: Likewise.
8887         * sysdeps/arm/sysdep.h: Likewise.
8888         * sysdeps/generic/_itoa.h: Likewise.
8889         * sysdeps/generic/symbol-hacks.h: Likewise.
8890         * sysdeps/gnu/errlist.awk: Likewise.
8891         * sysdeps/gnu/errlist.c: Likewise.
8892         * sysdeps/i386/i586/memcpy.S: Likewise.
8893         * sysdeps/i386/i586/memset.S: Likewise.
8894         * sysdeps/i386/i686/memcpy.S: Likewise.
8895         * sysdeps/i386/i686/memmove.S: Likewise.
8896         * sysdeps/i386/i686/mempcpy.S: Likewise.
8897         * sysdeps/i386/i686/memset.S: Likewise.
8898         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8899         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8900         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8901         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8902         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8903         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8904         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8905         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8906         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8908         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8909         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8910         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8911         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8912         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8913         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8914         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8915         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8916         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8917         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8918         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8919         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8920         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8921         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8922         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8923         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8924         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8925         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8926         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8927         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8928         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8929         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8930         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8931         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8932         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8933         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8934         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8935         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8936         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8937         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8938         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8939         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8940         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8941         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8942         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8943         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8944         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8945         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8946         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8947         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8948         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8949         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8950         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8951         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8952         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8953         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8954         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8955         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8956         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8957         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8958         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8959         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8960         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8961         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8962         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8963         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8964         * sysdeps/posix/closedir.c: Likewise.
8965         * sysdeps/posix/opendir.c: Likewise.
8966         * sysdeps/posix/readdir.c: Likewise.
8967         * sysdeps/posix/rewinddir.c: Likewise.
8968         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8969         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8970         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8971         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8972         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8979         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8980         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8981         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8982         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8983         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8984         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8985         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8986         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8987         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8988         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8989         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8990         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8991         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8992         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8993         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8994         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8995         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8996         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9003         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9004         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9005         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9006         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9007         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9008         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9009         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9010         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9011         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9012         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9013         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9014         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9015         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9016         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9017         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9018         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9019         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9021         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9022         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9024         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9025         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9026         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9027         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9028         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9029         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9030         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9031         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9032         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9033         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9034         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9035         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9036         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9037         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9038         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9039         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9040         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9041         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9042         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9043         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9044         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9045         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9046         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9047         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9048         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9049         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9050         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9051         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9052         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9053         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9054         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9055         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9056         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9057         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9058         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9059         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9060         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9061         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9062         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9063         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9064         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9065         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9066         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9067         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9068         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9069         * sysdeps/unix/alpha/sysdep.S: Likewise.
9070         * sysdeps/unix/alpha/sysdep.h: Likewise.
9071         * sysdeps/unix/make-syscalls.sh: Likewise.
9072         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9073         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9074         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9075         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9076         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9077         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9078         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9079         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9080         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9081         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9082         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9083         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9084         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9085         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9086         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9087         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9088         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9089         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9090         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9091         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9092         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9093         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9094         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9095         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9096         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9097         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9098         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9101         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9102         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9106         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9108         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9109         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9110         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9111         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9112         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9113         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9114         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9115         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9116         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9117         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9118         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9119         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9120         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9122         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9123         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9124         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9125         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9126         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9127         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9128         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9130         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9131         * sysdeps/x86_64/memcpy.S: Likewise.
9132         * sysdeps/x86_64/memmove.c: Likewise.
9133         * sysdeps/x86_64/memset.S: Likewise.
9134         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9135         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9136         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9137         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9138         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9139         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9141         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9142         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9143         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9144         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9145         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9146         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9147         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9148         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9149         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9150         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9151         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9152         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9153         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9154         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9155         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9156         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9157         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9158         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9159         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9160         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9161         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9162         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9163         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9164         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9165         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9166         * sysdeps/x86_64/strcmp.S: Likewise.
9168         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9170         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9171         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9172         * elf/rtld-Rules: Likewise.
9173         * elf/setup-vdso.h: Likewise.
9174         * include/assert.h: Likewise.
9175         * include/bits/stdlib-float.h: Likewise.
9176         * include/errno.h: Likewise.
9177         * include/sys/stat.h: Likewise.
9178         * include/unistd.h: Likewise.
9179         * sysdeps/aarch64/setjmp.S: Likewise.
9180         * sysdeps/alpha/setjmp.S: Likewise.
9181         * sysdeps/arm/__longjmp.S: Likewise.
9182         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9183         * sysdeps/arm/setjmp.S: Likewise.
9184         * sysdeps/arm/sysdep.h: Likewise.
9185         * sysdeps/generic/_itoa.h: Likewise.
9186         * sysdeps/generic/dl-sysdep.h: Likewise.
9187         * sysdeps/generic/ldsodefs.h: Likewise.
9188         * sysdeps/i386/dl-tls.h: Likewise.
9189         * sysdeps/i386/setjmp.S: Likewise.
9190         * sysdeps/m68k/setjmp.c: Likewise.
9191         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9192         * sysdeps/mach/hurd/opendir.c: Likewise.
9193         * sysdeps/posix/getcwd.c: Likewise.
9194         * sysdeps/posix/opendir.c: Likewise.
9195         * sysdeps/posix/profil.c: Likewise.
9196         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9197         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9198         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9199         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9200         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9201         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9202         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9203         * sysdeps/s390/dl-tls.h: Likewise.
9204         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9205         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9206         * sysdeps/sh/sh3/setjmp.S: Likewise.
9207         * sysdeps/sh/sh4/setjmp.S: Likewise.
9208         * sysdeps/unix/alpha/sysdep.h: Likewise.
9209         * sysdeps/unix/arm/sysdep.S: Likewise.
9210         * sysdeps/unix/i386/sysdep.S: Likewise.
9211         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9212         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9213         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9214         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9215         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9216         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9217         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9218         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9219         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9220         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9221         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9222         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9223         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9226         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9227         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9228         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9229         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9230         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9231         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9232         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9234         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9235         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9238         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9239         * sysdeps/x86_64/setjmp.S: Likewise.
9241         * include/math.h: Use IS_IN instead of IS_IN_libm.
9242         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9243         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9244         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9245         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9246         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9247         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9248         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9249         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9250         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9251         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9252         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9253         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9254         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9255         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9256         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9257         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9258         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9259         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9260         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9261         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9262         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9263         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9264         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9265         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9266         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9267         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9268         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9269         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9270         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9271         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9272         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9273         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9274         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9276         Likewise.
9277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9278         Likewise.
9279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9280         Likewise.
9281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9282         Likewise.
9283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9284         Likewise.
9285         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9286         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9287         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9288         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9289         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9290         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9296         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9297         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9298         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9299         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9300         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9301         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9302         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9303         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9304         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9305         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9306         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9308         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9309         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9311         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9313         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9314         * nptl/pthreadP.h: Likewise.
9315         * nptl_db/structs.def: Likewise.
9316         * sysdeps/arm/sysdep.h: Likewise.
9317         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9318         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9319         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9320         * sysdeps/unix/alpha/sysdep.h: Likewise.
9321         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9322         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9323         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9324         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9325         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9326         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9327         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9328         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9329         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9330         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9331         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9332         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9333         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9334         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9339         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9342         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9343         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9344         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9345         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9346         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9348         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9349         * nptl/pthreadP.h: Likewise.
9350         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9351         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9352         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9353         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9354         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9355         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9356         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9357         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9358         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9359         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9360         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9361         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9363         Likewise.
9364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9365         Likewise.
9366         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9368         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9371         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9372         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9373         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9375         * dlfcn/dladdr.c: Use IS_IN.
9376         * dlfcn/dladdr1.c: Likewise.
9377         * dlfcn/dlclose.c: Likewise.
9378         * dlfcn/dlerror.c: Likewise.
9379         * dlfcn/dlinfo.c: Likewise.
9380         * dlfcn/dlmopen.c: Likewise.
9381         * dlfcn/dlopen.c: Likewise.
9382         * dlfcn/dlsym.c: Likewise.
9383         * dlfcn/dlvsym.c: Likewise.
9385         * include/ifaddrs.h: Use IS_IN.
9386         * inet/check_pf.c: Likewise.
9387         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9388         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9390         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9391         IS_IN_ldconfig.
9392         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9393         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9395         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9396         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9397         IS_IN (libc).
9399         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9401         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9402         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9403         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9404         * include/libc-symbols.h (IS_IN_LIB): New macro.
9405         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9406         * include/netdb.h: Likewise.
9407         * include/stap-probe.h: Remove all uses of IN_LIB.
9409         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9410         instead of IN_MODULE.
9411         * include/libc-symbols.h (IN_MODULE): Define using
9412         MODULE_NAME.
9413         (PASTE_NAME, PASTE_NAME1): New macros.
9414         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9415         of IN_LIB.
9416         (STAP_PROBE_ASM): Likewise.
9418 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9420         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9421         __mach_init in dlopened libc.
9423 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9425         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9426         * sysdeps/arm/preconfigure: Regenerate.
9428 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9430         * nptl/pthread_create.c (__pthread_create_2_1): Set
9431         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9432         when copying values from IATTR into PD.
9434 2014-11-21  Will Newton  <will.newton@linaro.org>
9435             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9437         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9438         Refactor inline-asm.  Also add comment.
9440         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9441         ElfW macro instead of hardcoded Elf64 types.
9442         (la_aarch64_gnu_pltenter): Likewise.
9443         * sysdeps/aarch64/dl-machine.h
9444         (elf_machine_runtime_setup): Use ElfW(Addr).
9446         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9447         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9448         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9449         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9450         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9451         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9452         (R_AARCH64_TLS_DTPMOD): This.
9453         (R_AARCH64_TLS_DTPREL64): Rename to ...
9454         (R_AARCH64_TLS_DTPREL): This.
9455         (R_AARCH64_TLS_TPREL64): Rename to ...
9456         (R_AARCH64_TLS_TPREL): This.
9457         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9458         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9459         R_AARCH64_TLS_TPREL64.
9460         (elf_machine_rela): Likewise.
9462 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9464         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9465         by setting it to 0.  64b atomics are not supported currently.
9467 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9469         [BZ #16469]
9470         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9471         search domain names.
9473 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9475         [BZ #16469]
9476         * NEWS: Update.
9477         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9478         trailing dot.
9479         * posix/tst-getaddrinfo5.c: New.
9480         * posix/Makefile (tests): Add it.
9482 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9484         [BZ #14498]
9485         * NEWS: Fixed.
9486         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9487         after parsing line but before break_if_match.
9488         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9489         if there is a protocol mismatch.
9491 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9493         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9494         because the potential race is on the user-supplied stream.
9496 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9498         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9499         string literal if not passed a buffer.
9500         * manual/job.texi (ctermid): Update reasoning, note deviation
9501         from posix, suggest mtasurace when not passed a buffer, for
9502         future non-preliminary safety notes.
9504 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9506         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9507         of not passing it a buffer.
9508         Reported by Peng Haitao.
9510 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9512         * manual/Makefile ($(objpfx)stamp-summary): Require
9513         check-safety.sh to pass.
9514         * manual/check-safety.sh: Wish for verification that every
9515         @deftypefn and @deftypefun is followed by a @safety remark.
9517 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9519         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9521         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9522         PTHREAD_CANCEL_ASYNCHRONOUS.
9523         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9524         send SIGCANCEL.
9526         * nptl/default-sched.h: New file.
9527         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9528         * nptl/pthread_create.c: Include it.
9529         (__pthread_create_2_1): Use collect_default_sched instead of making
9530         Linux syscalls here directly.
9532 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9534         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9535         __pthread_once): Use C11 atomics.
9537 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9539         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9541 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9543         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9544         atomic_thread_fence_acquire, atomic_thread_fence_release,
9545         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9546         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9547         atomic_compare_exchange_weak_relaxed,
9548         atomic_compare_exchange_weak_acquire,
9549         atomic_compare_exchange_weak_release,
9550         atomic_exchange_acquire, atomic_exchange_release,
9551         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9552         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9553         atomic_fetch_and_acquire,
9554         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9556 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9558         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9559         USE_ATOMIC_COMPILER_BUILTINS): Define.
9560         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9561         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9562         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9563         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9564         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9565         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9566         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9567         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9568         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9569         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9570         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9572         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9574         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9576         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9578         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9580         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9582         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9584         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9585         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9586         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9588         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9589         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9590         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9591         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9592         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9593         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9594         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9595         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9596         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9598         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9601 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9603         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9604         the sched_priority value here.  It was already checked when the user
9605         called pthread_attr_setschedparam.
9607         * nptl/tst-bad-schedattr.c: New file.
9608         * nptl/Makefile (tests): Add it.
9610 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9611             Florian Weimer  <fweimer@redhat.com>
9612             Joseph Myers  <joseph@codesourcery.com>
9613             Adam Conrad  <adconrad@0c3.net>
9614             Andreas Schwab  <schwab@suse.de>
9615             Brooks  <bmoses@google.com>
9617         [BZ #17625]
9618         * wordexp-test.c (__dso_handle): Add prototype.
9619         (__register_atfork): Likewise.
9620         (__app_register_atfork): New function.
9621         (registered_forks): New global.
9622         (register_fork): New function.
9623         (test_case): Add 3 new tests for WRDE_CMDSUB.
9624         (main): Call __app_register_atfork.
9625         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9626         fork count is non-zero fail the test.
9627         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9628         is set.
9629         (parse_dollars): Remove check for WRDE_NOCMD.
9630         (parse_dquote): Likewise.
9632 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9634         * Makeconfig (built-modules): List non-library modules to be
9635         built.
9636         (module-cppflags): Include libc-modules.h for
9637         everything except shlib-versions.v.i.
9638         (CPPFLAGS): Use it.
9639         (before-compile): Add libc-modules.h.
9640         ($(common-objpfx)libc-modules.h,
9641         $(common-objpfx)libc-modules.stmp): New targets.
9642         (common-generated): Add libc-modules.h and libc-modules.stmp.
9643         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9644         * include/libc-symbols.h: Don't include libc-modules.h.
9645         * include/libc-modules.h: Remove file.
9646         * scripts/gen-libc-modules.awk: New script to generate
9647         libc-modules.h.
9648         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9649         Depend on libc-modules.stmp.
9651         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9653         * Makeconfig (in-module): Get value of libof set for the
9654         translation unit.
9655         (CPPFLAGS): Use $(in-module).
9656         * Makerules: Don't suffix routine names for nonlib.
9657         * include/libc-modules.h: New file.
9658         * include/libc-symbols.h: Include libc-modules.h
9659         (IS_IN): New macro to replace IS_IN_* macros.
9660         * elf/Makefile: Set libof-* for each routine.
9661         * elf/rtld-Rules: Likewise.
9662         * extra-modules.mk: Likewise.
9663         * iconv/Makefile: Likewise.
9664         * iconvdata/Makefile: Likewise.
9665         * locale/Makefile: Likewise.
9666         * malloc/Makefile: Likewise.
9667         * nss/Makefile: Likewise.
9668         * sysdeps/gnu/Makefile: Likewise.
9669         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9670         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9671         * sysdeps/s390/s390-64/Makefile: Likewise.
9672         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9673         CPPFLAGS for nscd instead of nonlib.
9675 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9677         * nptl/createthread.c: New file.
9679         * nptl/createthread.c: Moved ...
9680         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9682         * nptl/createthread.c: Add proper top-line comment.
9683         (do_clone): Folded into ...
9684         (create_thread): ... here.  Take new arguments STOPPED_START and
9685         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9686         increment __nptl_threads, do event-reporting logic, do
9687         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9688         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9689         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9690         just send SIGCANCEL.
9691         * nptl/pthread_create.c: Forward-declare create_thread before
9692         including createthread.c.
9693         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9694         declaration, and new macro START_THREAD_SELF to replace argument.
9695         Remove return statement.
9696         (report_thread_creation): New function.
9697         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9698         synchronization logic, and __nptl_nthreads increment here, around
9699         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9700         PD->parent_cancelhandling here, before create_thread.  When
9701         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9702         __deallocate_stack, and ENOMEM translation here.
9704 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9706         [BZ #17616]
9707         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9708         (mptwo): Rename to __mptwo.
9709         (__inv): Use __mptwo instead of mptwo.
9710         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9711         (mptwo): Rename to __mptwo.
9712         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9713         of mpone and __mptwo instead of mptwo.
9714         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9715         instead of mpone.
9716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9717         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9718         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9719         of mpone and __mptwo instead of mptwo.
9720         (__mpranred): Use __mpone instead of mpone.
9721         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9722         variable.
9723         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9724         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9725         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9726         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9727         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9728         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9729         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9730         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9731         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9732         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9733         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9734         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9735         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9736         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9737         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9738         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9739         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9740         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9741         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9743 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9745         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9746         replace BSD Handler xref with BSD Signal Handling.
9748 2014-11-17  Richard Henderson  <rth@redhat.com>
9750         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9751         (_FP_PACK_RAW_2): Remove.
9752         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9753         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9754         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9755         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9756         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9757         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9758         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9759         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9760         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9761         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9762         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9763         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9764         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9765         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9766         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9767         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9769 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9771         * signal/signal.h [__USE_MISC]
9772         (struct sigvec): Remove type.
9773         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9774         (sigvec): Remove declaration.
9775         * sysdeps/posix/sigvec.c: Moved ...
9776         * signal/sigvec.c: ... here, replacing old file.
9777         (struct sigvec): New type, copied from old signal.h definition.
9778         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9779         (__sigvec): Convert definition to prototype.
9780         (sigvec): Replace weak_alias with compat_symbol.
9781         * signal/Versions (libc: GLIBC_2.21): New version set.
9782         * include/signal.h: Remove __sigvec declaration.
9783         * sysdeps/unix/bsd/sigvec.c: Remove file.
9784         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9785         * manual/signal.texi (BSD Handler): Remove subsection.
9786         Move siginterrupt up to ...
9787         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9788         (Blocking in BSD): Fold subsection into its parent.
9789         * NEWS: Mention sigvec removal.
9791 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9793         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9794         (DLA_FMS): Make definition conditional only on [__FMA4__].
9795         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9796         definition.
9798         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9799         Make definition conditional only on [PROF].
9800         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9801         definition.
9802         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9803         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9805         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9806         !__GNUC__].
9807         * include/signal.h (__sigpause): Move declaration above call to
9808         libc_hidden_proto.
9809         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9810         variable.
9811         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9812         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9814 2014-11-14  David S. Miller  <davem@davemloft.net>
9816         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9817         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9819 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9821         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9822         * configure: Regenerated.
9823         * manual/install.texi (Tools for Compilation): Document a
9824         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9825         compiler verified to work.
9826         * INSTALL: Regenerated.
9828         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9829         redeclare with asm name.
9830         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9831         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9832         including <string.h>.
9833         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9834         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9835         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9836         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9837         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9838         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9839         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9841 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9843         * stdlib/strtol.c (__strtol): Use prototype definition.
9845         [BZ #17594]
9846         * stdlib/strtol.c (SYM__): New macro.
9847         (SYM__1): Likewise.
9848         (__strtol): Likewise.
9849         (strtol): Rename to __strtol and define as weak alias of
9850         __strtol.  Use libc_hidden_weak.
9852 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9854         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9855         Use numbered labels in inline assembly.
9857 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9859         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9860         Add setjmp LIBC_PROBE.
9861         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9862         Likewise.
9863         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9864         Add longjmp, longjmp_target LIBC_PROBE.
9865         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9866         Likewise.
9868 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9870         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9871         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9872         to get rid of unused variable warning.
9874 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9876         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9877         Check for unwind_backtrace ==  NULL only in SHARED case.
9878         (__backchain_backtrace): Compile only in SHARED case.
9879         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9880         Likewise.
9881         (__backchain_backtrace): Declare as static.
9883 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9885         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9886         (__libc_multiple_threads_ptr): Variable moved ...
9887         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9889 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9891         * conform/GlibcConform.pm: New file.
9892         * conform/conformtest.pl: Use GlibcConform module.
9893         * conform/linknamespace.pl: New file.
9894         * conform/list-header-symbols.pl: Likewise.
9895         * conform/Makefile (linknamespace-symlists-base): New variable.
9896         (linknamespace-symlists-tests): Likewise.
9897         (linknamespace-header-base): Likewise.
9898         (linknamespace-header-tests): Likewise.
9899         (tests-special): Add new tests.
9900         ($(linknamespace-symlists-tests)): New rule.
9901         (linknamespace-libs): New variable.
9902         ($(objpfx)symlist-stdlibs): New rule.
9903         ($(linknamespace-header-tests)): Likewise.
9904         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9905         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9906         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9907         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9908         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9909         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9910         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9911         (test-xfail-ISO/math.h/linknamespace): Likewise.
9912         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9913         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9914         (test-xfail-ISO/time.h/linknamespace): Likewise.
9915         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9916         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9917         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9918         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9919         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9920         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9921         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9922         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9923         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9924         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9925         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9926         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9927         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9928         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9929         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9930         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9931         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9932         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9933         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9934         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9935         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9936         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9937         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9938         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9939         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9940         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9941         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9942         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9943         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9944         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9945         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9946         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9947         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9948         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9949         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9950         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9951         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9952         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9953         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9954         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9955         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9956         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9957         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9958         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9959         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9960         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9961         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9962         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9963         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9964         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9965         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9966         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9967         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9968         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9969         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9970         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9971         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9972         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9973         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9974         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9975         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9976         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9977         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9978         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9979         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9980         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9981         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9982         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9983         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9984         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9985         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9986         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9987         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9988         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9989         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9990         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9991         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9992         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9993         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9994         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9995         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9996         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9997         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9998         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9999         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10000         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10001         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10002         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10003         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10004         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10005         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10006         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10007         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10008         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10009         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10010         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10011         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10012         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10013         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10014         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10015         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10016         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10017         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10018         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10019         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10020         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10021         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10022         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10023         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10024         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10025         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10026         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10027         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10028         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10029         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10030         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10031         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10032         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10033         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10034         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10035         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10036         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10037         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10038         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10039         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10040         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10041         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10042         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10043         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10044         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10045         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10046         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10047         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10048         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10049         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10050         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10051         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10052         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10053         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10054         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10055         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10056         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10057         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10058         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10059         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10060         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10061         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10062         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10063         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10064         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10066         [BZ #17589]
10067         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10068         of fgets_unlocked.
10070         [BZ #17585]
10071         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10072         (memmem): Rename to __memmem and define as weak alias of
10073         __memmem.  Use libc_hidden_weak.
10074         (__memmem): Use libc_hidden_def.
10075         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10076         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10077         memmem.
10079         [BZ #17582]
10080         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10081         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10082         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10083         and define as weak alias of __fgets_unlocked.  Use
10084         libc_hidden_weak.
10085         (__fgets_unlocked): Use libc_hidden_def.
10086         * include/stdio.h (__fgets_unlocked): Declare.  Use
10087         libc_hidden_proto.
10088         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10089         __fgets_unlocked instead of fgets_unlocked.
10090         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10091         (GET_NPROCS_CONF_PARSER): Likewise.
10092         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10093         (GET_NPROCS_CONF_PARSER): Likewise.
10095         [BZ #17574]
10096         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10097         weak alias of __wmemset.  Use libc_hidden_weak.
10098         (__wmemset): Use libc_hidden_def.
10099         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10100         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10101         of wmemset.
10103         [BZ #17573]
10104         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10105         with asm name __mempcpy.
10106         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10108         [BZ #17572]
10109         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10110         and define as weak alias of __rawmemchr.
10111         (__rawmemchr): Do not define as strong alias of rawmemchr.
10113         [BZ #17571]
10114         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10115         alias of __qsort_r.
10116         (qsort): Call __qsort_r instead of qsort_r.
10117         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10118         (__qsort_r): Declare.  Call libc_hidden_proto.
10119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10120         instead of qsort_r.
10121         * nscd/gai.c (__qsort_r): Define to qsort_r.
10122         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10123         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10124         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10126         [BZ #17570]
10127         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10128         define as weak alias of __malloc_info.
10130         [BZ #17584]
10131         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10132         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10133         (__rewinddir): Use libc_hidden_def.
10134         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10135         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10136         (__rewinddir): Use libc_hidden_def.
10137         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10138         weak alias of __rewinddir.  Don't use libc_hidden_def.
10139         (__rewinddir): Use libc_hidden_def.
10140         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10141         (__rewinddir): Use libc_hidden_proto.
10142         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10143         rewinddir.
10144         (__getcwd): Use __rewinddir instead of rewinddir.
10146         [BZ #17583]
10147         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10148         alias of __fileno.  Use libc_hidden_weak.
10149         (__fileno): Use libc_hidden_def.
10150         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10151         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10152         alias of __ftello.
10153         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10154         __ftello.
10155         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10156         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10157         libc_hidden_def.
10158         (fread_unlocked): Don't use libc_hidden_ver.
10159         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10160         and define as weak alias of __fread_unlocked.  Don't use
10161         libc_hidden_def.
10162         (__fread_unlocked): Use libc_hidden_def.
10163         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10164         (ftello): Don't use libc_hidden_proto.
10165         (__ftello): Declare.  Use libc_hidden_proto.
10166         (fread_unlocked): Don't use libc_hidden_proto.
10167         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10168         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10169         and __ftello instead of fileno, fread_unlocked and ftello.
10171 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10173         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10174         GOT12.
10175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10176         Likewise.
10177         (_dl_start_user): Likewise.
10178         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10180 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10181             Siddhesh Poyarekar  <siddhesh@redhat.com>
10183         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10184         Move argv and envp down instead of moving argc up.
10185         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10187 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10189         [BZ #17506]
10190         * test-skeleton.c (main): Return successful if one of
10191         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10192         * string/tst-strcoll-overflow.c: Define expected status.
10194 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10196         [BZ #17475]
10197         * locale/iso-639.def: Define Bhili and Tulu language codes.
10199 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10201         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10203 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10205         [BZ #17555]
10206         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10208 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10210         * configure.ac: Updated check of minimal required version to
10211         2.22.
10212         * manual/install.texi (Tools for Compilation): Updated version
10213         number.
10214         * configure: Regenerated.
10215         * INSTALL: Likewise.
10217 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10219         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10220         __tls_get_addr.
10222 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10224         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10225         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10226         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10227         libc_hidden_weak.
10228         (waitpid): Define as alias of __waitpid.
10229         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10230         __waitpid.
10231         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10232         libc_hidden_weak.
10233         (waitpid): Define as alias of __waitpid.
10234         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10235         __libc_waitpid alias.
10236         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10237         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10238         Likewise.
10239         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10240         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10241         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10242         alias.
10243         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10244         __waitpid.
10245         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10246         libc_hidden_weak.
10247         (waitpid): Define as alias of __waitpid.
10249 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10251         * manual/llio.texi: Add comment that write safety has been
10252         fixed in Linux.
10254         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10255         (localplt-build-dso): Add elf/ld.so.
10256         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10257         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10258         and free for ld.so.
10259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10260         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10262         Likewise.
10263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10264         Likewise.
10265         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10266         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10267         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10268         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10269         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10270         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10271         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10272         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10273         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10274         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10275         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10277 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10279         [BZ #14132]
10280         * include/libc-symbols.h (INTUSE): Remove macro.
10281         (INTDEF): Likewise.
10282         (INTVARDEF): Likewise.
10283         (_INTVARDEF): Likewise.
10284         (INTDEF2): Likewise.
10285         (INTVARDEF2): Likewise.
10286         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10287         rtld_hidden_def instead of INTVARDEF.
10288         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10289         (_dl_starting_up_internal): Remove declaration.
10290         (_dl_starting_up): Use rtld_hidden_proto.
10291         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10292         declaration.
10293         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10294         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10295         _dl_starting_up.
10296         * elf/dl-writev.h (_dl_writev): Likewise.
10297         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10298         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10299         _dl_starting_up_internal.
10301 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10303         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10304         test-skeleton.c.
10306 2014-11-05  Will Newton  <will.newton@linaro.org>
10308         * benchtests/Makefile: (bench-malloc): Add malloc thread
10309         scalability benchmark.
10310         * benchtests/bench-malloc-threads.c: New file.
10312 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10314         * sysdeps/aarch64/strchrnul.S: New file.
10316 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10318         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10319         definition.
10320         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10321         Likwise.
10322         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10323         Likewise.
10324         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10325         Likewise.
10326         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10327         Likewise.
10328         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10329         Likewise.
10331 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10333         * catgets/test-gencat.c: Use test-skeleton.c.
10334         * catgets/tst-catgets.c: Likewise.
10335         * csu/tst-empty.c: Likewise.
10336         * elf/tst-audit2.c: Likewise.
10337         * elf/tst-global1.c: Likewise.
10338         * elf/tst-pathopt.c: Likewise.
10339         * elf/tst-piemod1.c: Likewise.
10340         * elf/tst-tls10.c: Likewise.
10341         * elf/tst-tls11.c: Likewise.
10342         * elf/tst-tls12.c: Likewise.
10343         * gnulib/tst-gcc.c: Likewise.
10344         * iconvdata/tst-e2big.c: Likewise.
10345         * iconvdata/tst-loading.c: Likewise.
10346         * iconv/tst-iconv1.c: Likewise.
10347         * iconv/tst-iconv2.c: Likewise.
10348         * inet/test-inet6_opt.c: Likewise.
10349         * inet/tst-gethnm.c: Likewise.
10350         * inet/tst-network.c: Likewise.
10351         * inet/tst-ntoa.c: Likewise.
10352         * intl/tst-codeset.c: Likewise.
10353         * intl/tst-gettext2.c: Likewise.
10354         * intl/tst-gettext3.c: Likewise.
10355         * intl/tst-ngettext.c: Likewise.
10356         * intl/tst-translit.c: Likewise.
10357         * io/test-stat.c: Likewise.
10358         * libio/test-fmemopen.c: Likewise.
10359         * libio/tst-freopen.c: Likewise.
10360         * libio/tst-sscanf.c: Likewise.
10361         * libio/tst-ungetwc1.c: Likewise.
10362         * libio/tst-ungetwc2.c: Likewise.
10363         * libio/tst-widetext.c: Likewise.
10364         * localedata/tst-ctype.c: Likewise.
10365         * localedata/tst-digits.c: Likewise.
10366         * localedata/tst-leaks.c: Likewise.
10367         * localedata/tst-mbswcs1.c: Likewise.
10368         * localedata/tst-mbswcs2.c: Likewise.
10369         * localedata/tst-mbswcs3.c: Likewise.
10370         * localedata/tst-mbswcs4.c: Likewise.
10371         * localedata/tst-mbswcs5.c: Likewise.
10372         * localedata/tst-setlocale.c: Likewise.
10373         * localedata/tst-trans.c: Likewise.
10374         * localedata/tst-wctype.c: Likewise.
10375         * localedata/tst-xlocale1.c: Likewise.
10376         * login/tst-grantpt.c: Likewise.
10377         * malloc/tst-calloc.c: Likewise.
10378         * malloc/tst-malloc.c: Likewise.
10379         * malloc/tst-mallocstate.c: Likewise.
10380         * malloc/tst-mcheck.c: Likewise.
10381         * malloc/tst-mtrace.c: Likewise.
10382         * malloc/tst-obstack.c: Likewise.
10383         * math/atest-exp2.c: Likewise.
10384         * math/atest-exp.c: Likewise.
10385         * math/atest-sincos.c: Likewise.
10386         * math/test-matherr.c: Likewise.
10387         * math/test-misc.c: Likewise.
10388         * math/test-powl.c: Likewise.
10389         * math/tst-definitions.c: Likewise.
10390         * misc/tst-dirname.c: Likewise.
10391         * misc/tst-efgcvt.c: Likewise.
10392         * misc/tst-fdset.c: Likewise.
10393         * misc/tst-hsearch.c: Likewise.
10394         * misc/tst-mntent2.c: Likewise.
10395         * nptl/tst-sem7.c: Likewise.
10396         * nptl/tst-sem8.c: Likewise.
10397         * nptl/tst-sem9.c: Likewise.
10398         * nss/test-netdb.c: Likewise.
10399         * posix/tst-fnmatch.c: Likewise.
10400         * posix/tst-getlogin.c: Likewise.
10401         * posix/tst-gnuglob.c: Likewise.
10402         * posix/tst-mmap.c: Likewise.
10403         * pwd/tst-getpw.c: Likewise.
10404         * resolv/tst-inet_ntop.c: Likewise.
10405         * rt/tst-timer.c: Likewise.
10406         * stdio-common/test-fseek.c: Likewise.
10407         * stdio-common/test-popen.c: Likewise.
10408         * stdio-common/test-vfprintf.c: Likewise.
10409         * stdio-common/tst-cookie.c: Likewise.
10410         * stdio-common/tst-fileno.c: Likewise.
10411         * stdio-common/tst-gets.c: Likewise.
10412         * stdio-common/tst-obprintf.c: Likewise.
10413         * stdio-common/tst-perror.c: Likewise.
10414         * stdio-common/tst-sprintf2.c: Likewise.
10415         * stdio-common/tst-sprintf3.c: Likewise.
10416         * stdio-common/tst-sprintf.c: Likewise.
10417         * stdio-common/tst-swprintf.c: Likewise.
10418         * stdio-common/tst-tmpnam.c: Likewise.
10419         * stdio-common/tst-unbputc.c: Likewise.
10420         * stdio-common/tst-wc-printf.c: Likewise.
10421         * stdlib/tst-environ.c: Likewise.
10422         * stdlib/tst-fmtmsg.c: Likewise.
10423         * stdlib/tst-limits.c: Likewise.
10424         * stdlib/tst-rand48-2.c: Likewise.
10425         * stdlib/tst-rand48.c: Likewise.
10426         * stdlib/tst-random2.c: Likewise.
10427         * stdlib/tst-random.c: Likewise.
10428         * stdlib/tst-strtol.c: Likewise.
10429         * stdlib/tst-strtoll.c: Likewise.
10430         * stdlib/tst-tls-atexit.c: Likewise.
10431         * stdlib/tst-xpg-basename.c: Likewise.
10432         * string/test-ffs.c: Likewise.
10433         * string/tst-bswap.c: Likewise.
10434         * string/tst-inlcall.c: Likewise.
10435         * string/tst-strtok.c: Likewise.
10436         * string/tst-strxfrm.c: Likewise.
10437         * sysdeps/x86_64/tst-audit10.c: Likewise.
10438         * sysdeps/x86_64/tst-audit3.c: Likewise.
10439         * sysdeps/x86_64/tst-audit4.c: Likewise.
10440         * sysdeps/x86_64/tst-audit5.c: Likewise.
10441         * time/tst-ftime_l.c: Likewise.
10442         * time/tst-getdate.c: Likewise.
10443         * time/tst-mktime3.c: Likewise.
10444         * time/tst-mktime.c: Likewise.
10445         * time/tst-posixtz.c: Likewise.
10446         * time/tst-strptime2.c: Likewise.
10447         * time/tst-strptime3.c: Likewise.
10448         * wcsmbs/tst-btowc.c: Likewise.
10449         * wcsmbs/tst-mbrtowc.c: Likewise.
10450         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10451         * wcsmbs/tst-wchar-h.c: Likewise.
10452         * wcsmbs/tst-wcpncpy.c: Likewise.
10453         * wcsmbs/tst-wcrtomb.c: Likewise.
10454         * wcsmbs/tst-wcsnlen.c: Likewise.
10455         * wcsmbs/tst-wcstof.c: Likewise.
10457 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10459         [BZ #14132]
10460         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10461         INTDEF.
10462         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10463         declaration.
10464         (_dl_mcount): Use rtld_hidden_proto.
10465         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10466         _dl_mcount.
10467         * elf/rtld.c (_rtld_global_ro): Likewise.
10469         [BZ #14132]
10470         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10471         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10472         of _dl_init_internal.
10473         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10474         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10475         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10476         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10477         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10478         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10479         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10480         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10481         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10482         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10483         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10484         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10485         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10486         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10487         * sysdeps/tile/dl-start.S (_start): Likewise.
10488         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10489         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10491         [BZ #14132]
10492         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10493         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10494         (rtld_progname): Make macro definition unconditional.
10495         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10496         INTDEF.
10497         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10498         (dl_main): Likewise.
10499         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10500         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10501         instead of _dl_argv_internal.
10502         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10503         __GI__dl_argv instead of INTUSE(_dl_argv).
10504         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10505         __GI__dl_argv instead of _dl_argv_internal.
10507         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10508         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10509         macro.
10510         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10511         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10512         New macro.
10513         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10514         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10515         macro.
10516         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10517         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10519 2014-11-04  Andreas Schwab  <schwab@suse.de>
10521         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10523 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10525         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10526         mtvsrd instruction in binary form.
10528 2014-11-03  Andreas Schwab  <schwab@suse.de>
10530         [BZ #17522]
10531         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10532         for less than MB_LEN_MAX use a local buffer of that size.
10533         * libio/tst-fputws.c: New file.
10534         * libio/Makefile (tests): Add tst-fputws.
10536 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10538         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10539         the size of the fpu_fr.fpu_dregs[] array.
10541 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10543         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10544         (__nanosleep): Do not define as alias.
10545         (nanosleep): Define as alias of __nanosleep.
10546         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10547         __libc_nanosleep name.
10549 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10551         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10552         install.texi in comment.
10554 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10556         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10557         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10558         ... add here and use lwsync or sync ...
10559         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10560         ... and add here using lwsync.
10562 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10564         * elf/dl-machine-reject-phdr.h: New file.
10565         * elf/dl-load.c: #include that.
10566         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10567         if that returned true.
10569 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10571         [BZ #17496]
10572         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10573         gen-as-const-headers chunk.  Add a big scare comment after the last
10574         safe place to touch before-compile.
10576 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10578         * manual/install.texi (Tools for Compilation): Update autoconf
10579         version requirements.
10580         * INSTALL: Regenerated.
10582         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10583         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10584         (__libc_pselect): Likewise.
10586         [BZ #14138]
10587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10592 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10594         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10595         correct barrier instruction.
10596         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10597         Likewise.
10598         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10599         Likewise.
10601 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10603         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10604         after defining inlines.  Instead, just use parens to defeat macro
10605         expansion of __isctype in its declaration.
10607 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10609         * include/sys/uio.h (__libc_readv): Remove declaration.
10610         (__libc_writev): Likewise.
10611         * misc/readv.c (__libc_readv): Rename to __readv.
10612         (__readv): Do not define as alias.
10613         (readv): Define as alias of __readv.
10614         * misc/writev.c (__libc_writev): Rename to __writev.
10615         (__writev): Do not define as alias.
10616         (writev): Define as alias of __writev.
10617         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10618         (__readv): Do not define as alias.
10619         (readv): Define unconditionally as alias of __readv.
10620         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10621         (__writev): Do not define as alias.
10622         (writev): Define unconditionally as alias of __writev.
10623         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10624         name.
10625         (writev): Do not define __libc_writev name.
10627 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10629         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10630         (convert_charseq): New function, broken out of ...
10631         (use_from_charmap): ... here.  Call it.
10632         (use_to_charmap): Use convert_charseq and free instead of duplicating
10633         its code with a variable-length stack struct.
10635 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10637         * include/fcntl.h (__libc_creat): Remove declaration.
10638         * io/creat.c (__libc_creat): Rename to creat.
10639         (creat): Do not define as alias.
10640         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10641         of creat instead of __libc_creat.
10642         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10643         to creat.
10644         (creat): Do not define as alias.
10645         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10646         __libc_creat.
10647         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10648         __libc_creat name.
10649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10650         Likewise.
10652 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10654         * manual/llio.texi: Add comments discussing why write() may be
10655         considered MT-unsafe on Linux.
10657 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10659         * dl-load.c (local_strdup): Remove.
10660         (expand_dynamic_string_token): Use __strdup.
10661         (decompose_rpath): Likewise.
10662         (_dl_map_object): Likewise.
10664 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10666         [BZ #14132]
10667         * sysdeps/generic/unwind-dw2-fde.c
10668         (__register_frame_info_bases_internal): Do not declare.
10669         (__register_frame_info_table_bases_internal): Likewise.
10670         (__deregister_frame_info_bases_internal): Likewise.
10671         (__register_frame_info_bases): Declare and use hidden_proto before
10672         definition.  Use hidden_def instead of INTDEF.
10673         (__register_frame_info_table_bases): Likewise.
10674         (__deregister_frame_info_bases): Likewise.
10675         (__register_frame_info): Do not use INTUSE.
10676         (__register_frame): Likewise.
10677         (__register_frame_info_table): Likewise.
10678         (__register_frame_table): Likewise.
10679         (__deregister_frame_info): Likewise.
10680         (__deregister_frame): Likewise.
10682 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10684         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10685         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10686         not undefine.
10687         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10688         Likewise.
10689         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10690         Likewise.
10692 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10694         [BZ #14138]
10695         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10696         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10697         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10698         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10699         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10700         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10701         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10702         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10703         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10704         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10705         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10706         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10707         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10708         syscall.
10709         (setfsuid): Likewise.
10710         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10711         (setfsuid): Likewise.
10712         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10713         (setfsuid): Likewise.
10714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10715         Likewise.
10716         (setfsuid): Likewise.
10717         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10718         (setfsuid): Likewise.
10719         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10720         Likewise.
10721         (setfsuid): Likewise.
10723 2014-10-27  Andreas Schwab  <schwab@suse.de>
10725         [BZ #17501]
10726         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10727         check for Slow_SSE4_2 feature bit.
10728         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10729         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10730         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10731         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10733 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10735         * configure.ac: Validate compiler version with a empirical test of
10736         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10737         $CC -v output.
10738         * configure: Regenerated.
10740         * inet/htons.c (htons): Prototypify.
10741         * inet/htonl.c (htonl): Likewise.
10743 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10745         * string/strncat.c (strncat): Improve performance by using strlen.
10747 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10749         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10751 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10753         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10754         Call libc_fetestexcept_aarch64.
10756 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10758         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10759         Call libc_feholdexcept_aarch64.
10761 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10763         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10764         Call get_rounding_mode.
10766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10768         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10769         Simplify logic.
10771 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10773         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10774         Simplify logic.
10776 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10778         [BZ #14138]
10779         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10780         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10781         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10782         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10783         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10784         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10785         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10786         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10787         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10788         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10789         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10790         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10791         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10792         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10793         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10794         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10795         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10796         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10797         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10798         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10799         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10800         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10801         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10802         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10803         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10804         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10805         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10806         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10807         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10808         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10809         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10810         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10811         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10812         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10813         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10814         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10815         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10816         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10817         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10818         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10819         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10820         syscall.
10821         (geteuid): Likewise.
10822         (getgid): Likewise.
10823         (getuid): Likewise.
10824         (getresgid): Likewise.
10825         (getresuid): Likewise.
10826         (getgroups): Likewise.
10827         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10828         (geteuid): Likewise.
10829         (getgid): Likewise.
10830         (getuid): Likewise.
10831         (getresgid): Likewise.
10832         (getresuid): Likewise.
10833         (getgroups): Likewise.
10834         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10835         (geteuid): Likewise.
10836         (getgid): Likewise.
10837         (getuid): Likewise.
10838         (getresgid): Likewise.
10839         (getresuid): Likewise.
10840         (getgroups): Likewise.
10841         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10842         Likewise.
10843         (geteuid): Likewise.
10844         (getgid): Likewise.
10845         (getuid): Likewise.
10846         (getresgid): Likewise.
10847         (getresuid): Likewise.
10848         (getgroups): Likewise.
10849         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10850         (geteuid): Likewise.
10851         (getgid): Likewise.
10852         (getuid): Likewise.
10853         (getresgid): Likewise.
10854         (getresuid): Likewise.
10855         (getgroups): Likewise.
10856         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10857         Likewise.
10858         (geteuid): Likewise.
10859         (getgid): Likewise.
10860         (getuid): Likewise.
10861         (getgroups): Likewise.
10863         [BZ #14138]
10864         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10865         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10866         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10867         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10868         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10869         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10870         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10871         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10872         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10873         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10874         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10875         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10876         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10877         __chown.
10878         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10879         (lchown): Likewise.
10880         (fchown): Likewise.
10881         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10882         Likewise.
10883         (lchown): Likewise.
10884         (fchown): Likewise.
10885         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10886         (lchown): Likewise.
10887         (fchown): Likewise.
10888         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10889         Likewise.
10890         (lchown): Likewise.
10891         (fchown): Likewise.
10893 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10895         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10896         Simplify logic.
10898 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10900         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10901         Cleanup logic.
10903 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10905         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10906         Remove unused include.
10908 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10910         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10911         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10912         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10913         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10915 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10916             Helge Deller <deller@gmx.de>
10918         [BZ #17508]
10919         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10920         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10921         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10923 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10925         [BZ #14132]
10926         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10927         Remove macro definition.
10928         (__ashrdi3_v_glibc20): Likewise.
10929         (__lshrdi3_v_glibc20): Likewise.
10930         (__cmpdi2_v_glibc20): Likewise.
10931         (__ucmpdi2_v_glibc20): Likewise.
10932         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10933         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10934         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10935         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10936         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10937         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10939 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10941         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10942         old GNU extension [0] syntax.
10943         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10944         alloca rather than an array member with variable length.
10945         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10946         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10947         (parse_opt): ... here.  Likewise use alloca there.
10948         Validate the -i argument before checking for rootness.
10949         (send_shutdown): New function, broken out of ...
10950         (parse_opt): ... here.
10952 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10954         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10955         macro to get at the _rt_local_ro field.
10956         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10957         ([PIC] case) or _dl_hwcap ([!PIC] case).
10958         * sysdeps/arm/setjmp.S: Likewise.
10960         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10961         * sysdeps/arm/configure.ac: New check to define it.
10962         * sysdeps/arm/configure: Regenerated.
10963         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10964         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10965         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10966         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10967         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10968         Use move/movt pair instead of a load.
10969         (LDST_GLOBAL): Macro removed.
10970         (LDR_GLOBAL): New macro replaces it.
10971         (LDR_HIDDEN): New macro.
10972         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10973         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10975         * setjmp/tst-setjmp-static.c: New file.
10976         * setjmp/Makefile (tests): Add it.
10977         (tests-static): New variable.
10979 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10981         [BZ #17485]
10982         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10984 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10986         [BZ #14132]
10987         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10989 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10991         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10993 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10995         * io/fts.c (dirent_not_directory): New function.
10996         (fts_build): Call it.
10998 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11000         * nptl/version.c (__nptl_main): Use normal __write rather than
11001         INTERNAL_SYSCALL.
11002         (banner): Update copyright years.
11004         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11005         gettimeofday.
11006         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11007         * nptl/pthread_cond_timedwait.c: Likewise.
11008         * nptl/pthread_mutex_timedlock.c: Likewise.
11009         * nptl/sem_timedwait.c: Likewise.
11011         * sysdeps/nptl/bits/libc-lock.h
11012         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11013         (__libc_lock_init_recursive): Return void, not 0.
11014         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11015         (__libc_rwlock_init): Likewise.
11016         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11018 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11020         [BZ #15215]
11021         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11022         (__pthread_once_slow): ... here.
11023         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11024         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11026 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11028         [BZ #15215]
11029         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11030         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11031         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11032         * nptl/pthread_once.c (__pthread_once): Likewise.
11033         Update comments.
11035 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11037         [BZ #14138]
11038         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11039         name.
11040         (writev): Use __libc_writev as strong name.
11041         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11042         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11044 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11046         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11048         * sysdeps/i386/nptl/tls.h
11049         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11050         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11051         New macros.
11052         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11053         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11054         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11055         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11056         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11057         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11059         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11060         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11061         on [__NR_futex].
11062         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11063         broken out of ...
11064         (__pthread_mutex_init): ... here.  Call it.
11065         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11066         Conditionalize PI cases on [__NR_futex].
11067         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11068         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11069         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11071         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11072         conditional on [SIGSETXID].
11073         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11074         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11075         is defined.  Likewise for SIGSETXID.
11076         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11077         Conditionalize definitions on [SIGSETXID].
11078         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11079         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11080         unblocking on [SIGCANCEL].
11082         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11083         [__NR_set_robust_list].
11085 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11087         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11088         (do_compare): Likewise.
11090 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11092         [BZ #15884]
11093         * string/strcoll_l.c: Don't include stdio.h.
11094         (coll_seq): Remove members idxarr and rulearr.
11095         (get_next_seq_cached): Remove function.
11096         (get_next_seq): Likewise.
11097         (get_next_seq_nocache): Rename to get_next_seq.
11098         (do_compare): Remove function.
11099         (do_compare_nocache): Rename to do_compare.
11100         (STRCOLL): Remove weight and rules cache.
11102 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11104         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11105         * sysdeps/arm/sfp-machine.h: ... to here.
11106         * sysdeps/arm/Implies: Remove arm/soft-fp.
11108 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11110         * conform/data/sys/utsname.h-data (*_t): Allow.
11111         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11112         [POSIX] (WEXITED): Do not expect constant.
11113         [POSIX] (WSTOPPED): Likewise.
11114         [POSIX] (WNOHANG): Likewise.
11115         [POSIX] (WNOWAIT): Likewise.
11116         [POSIX] (siginfo_t): Do not expect type or elements.
11117         [POSIX] (pid_t): Do not expect type.
11118         [POSIX] (signal.h): Do not allow header.
11119         [POSIX] (sys/resource.h): Likewise.
11120         [POSIX] (si_*): Do not allow pattern.
11121         [POSIX] (W*): Likewise.
11122         [POSIX] (P_*): Likewise.
11123         [POSIX] (BUS_*): Likewise.
11124         [POSIX] (CLD_*): Likewise.
11125         [POSIX] (FPE_*): Likewise.
11126         [POSIX] (ILL_*): Likewise.
11127         [POSIX] (POLL_*): Likewise.
11128         [POSIX] (SEGV_*): Likewise.
11129         [POSIX] (SI_*): Likewise.
11130         [POSIX] (TRAP_*): Likewise.
11131         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11132         variable.
11134 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11136         [BZ #12926]
11137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11138         infinite loop when __recvmsg returns 0.
11140 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11142         * CANCEL-FCT-WAIVE: Remove file.
11143         * CANCEL-FILE-WAIVE: Likewise.
11145         [BZ #14132]
11146         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11147         instead of INTVARDEF.
11148         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11149         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11150         rtld_hidden_data_def instead of INTVARDEF.
11151         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11152         * elf/dl-deps.c (expand_dst): Likewise.
11153         * elf/dl-load.c (_dl_dst_count): Likewise.
11154         (_dl_dst_substitute): Likewise.
11155         (decompose_rpath): Likewise.
11156         (_dl_init_paths): Likewise.
11157         (open_path): Likewise.
11158         (_dl_map_object): Likewise.
11159         * elf/rtld.c (dl_main): Likewise.
11160         (process_dl_audit): Likewise.
11161         (process_envvars): Likewise.
11162         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11163         Remove declaration.
11164         (__libc_enable_secure): Use rtld_hidden_proto.
11166 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11168         * elf/dl-load.c
11169         (add_path): New function broken out of _dl_rtld_di_serinfo.
11170         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11172 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11174         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11175         parentheses around macro arguments.
11176         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11177         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11178         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11179         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11180         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11181         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11182         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11183         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11184         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11185         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11186         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11187         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11188         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11189         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11190         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11191         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11192         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11193         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11194         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11195         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11196         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11197         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11198         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11199         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11201         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11202         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11203         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11205         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11206         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11207         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11208         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11209         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11210         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11211         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11212         Likewise.
11213         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11214         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11216         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11217         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11220         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11221         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11222         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11223         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11224         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11225         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11226         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11228         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11230         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11232         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11233         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11234         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11235         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11236         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11237         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11238         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11239         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11240         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11241         (_FP_FRAC_SRS_1): Likewise.
11242         (_FP_FRAC_CLZ_1): Likewise.
11243         (_FP_MUL_MEAT_1_imm): Likewise.
11244         (_FP_MUL_MEAT_1_wide): Likewise.
11245         (_FP_MUL_MEAT_1_hard): Likewise.
11246         (_FP_SQRT_MEAT_1): Likewise.
11247         (_FP_FRAC_ASSEMBLE_1): Likewise.
11248         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11249         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11250         (__FP_CLZ_2): Likewise.
11251         (_FP_MUL_MEAT_2_wide): Likewise.
11252         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11253         (_FP_MUL_MEAT_2_gmp): Likewise.
11254         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11255         (_FP_SQRT_MEAT_2): Likewise.
11256         (_FP_FRAC_ASSEMBLE_2): Likewise.
11257         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11258         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11259         (_FP_FRAC_CLZ_4): Likewise.
11260         (_FP_MUL_MEAT_4_wide): Likewise.
11261         (_FP_MUL_MEAT_4_gmp): Likewise.
11262         (_FP_SQRT_MEAT_4): Likewise.
11263         (_FP_FRAC_ASSEMBLE_4): Likewise.
11264         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11265         * soft-fp/op-common.h (_FP_CMP): Likewise.
11266         (_FP_CMP_EQ): Likewise.
11267         (_FP_CMP_UNORD): Likewise.
11268         (_FP_TO_INT): Likewise.
11269         (_FP_FROM_INT): Likewise.
11270         [!__FP_CLZ] (__FP_CLZ): Likewise.
11271         (_FP_DIV_HELP_imm): Likewise.
11272         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11273         Likewise.
11274         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11276         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11277         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11278         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11279         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11280         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11281         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11282         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11283         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11285         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11286         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11287         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11288         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11289         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11290         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11291         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11292         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11293         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11294         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11296         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11297         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11298         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11299         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11300         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11301         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11302         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11303         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11304         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11305         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11306         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11307         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11308         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11309         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11310         (FP_UNPACK_RAW_SP): Likewise.
11311         (FP_PACK_RAW_S): Likewise.
11312         (FP_PACK_RAW_SP): Likewise.
11313         (FP_UNPACK_S): Likewise.
11314         (FP_UNPACK_SP): Likewise.
11315         (FP_UNPACK_SEMIRAW_S): Likewise.
11316         (FP_UNPACK_SEMIRAW_SP): Likewise.
11317         (FP_PACK_S): Likewise.
11318         (FP_PACK_SP): Likewise.
11319         (FP_PACK_SEMIRAW_S): Likewise.
11320         (FP_PACK_SEMIRAW_SP): Likewise.
11321         (_FP_SQRT_MEAT_S): Likewise.
11322         (FP_CMP_S): Likewise.
11323         (FP_CMP_EQ_S): Likewise.
11324         (FP_CMP_UNORD_S): Likewise.
11325         (FP_TO_INT_S): Likewise.
11326         (FP_FROM_INT_S): Likewise.
11328         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11330         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11331         (FP_EX_INVALID_IMZ): Likewise.
11332         (FP_EX_INVALID_IMZ_FMA): Likewise.
11333         (FP_EX_INVALID_ISI): Likewise.
11334         (FP_EX_INVALID_ZDZ): Likewise.
11335         (FP_EX_INVALID_IDI): Likewise.
11336         (FP_EX_INVALID_SQRT): Likewise.
11337         (FP_EX_INVALID_CVI): Likewise.
11338         (FP_EX_INVALID_VC): Likewise.
11339         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11340         "invalid" exceptions.
11341         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11342         (_FP_ADD_INTERNAL): Likewise.
11343         (_FP_MUL): Likewise.
11344         (_FP_FMA): Likewise.
11345         (_FP_DIV): Likewise.
11346         (_FP_CMP_CHECK_NAN): Likewise.
11347         (_FP_SQRT): Likewise.
11348         (_FP_TO_INT): Likewise.
11349         (FP_EXTEND): Likewise.
11351 2014-10-09  Allan McRae  <allan@archlinux.org>
11353         * po/fr.po: Update French translation from translation project.
11355 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11357         [BZ #14132]
11358         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11359         of INTDEF.
11360         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11361         (__cxa_atexit): Use libc_hidden_proto.
11362         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11364         [BZ #14132]
11365         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11366         declaration.
11367         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11368         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11369         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11370         [!_ISOMAC] (__iswctype_internal): Likewise.
11371         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11372         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11373         alias.
11374         (fcntl): Remove __fcntl_internal alias.
11375         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11376         __connect_internal alias.
11377         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11378         Likewise.
11380         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11381         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11382         FP_DENORM_ZERO.
11383         (_FP_CHECK_FLUSH_ZERO): New macro.
11384         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11385         (_FP_CMP): Likewise.
11386         (_FP_CMP_EQ): Likewise.
11387         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11388         FP_DENORM_ZERO.
11389         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11390         (FP_TRUNC): Likewise.
11392         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11393         treated as invalid conversion, not as normal exponent.
11395         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11396         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11397         (_FP_CMP_EQ): Likewise.
11398         (_FP_CMP_UNORD): Likewise.
11399         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11400         (FP_CMP_EQ_D): Likewise.
11401         (FP_CMP_UNORD_D): Likewise.
11402         * soft-fp/extended.h (FP_CMP_E): Likewise.
11403         (FP_CMP_EQ_E): Likewise.
11404         (FP_CMP_UNORD_E): Likewise.
11405         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11406         (FP_CMP_EQ_Q): Likewise.
11407         (FP_CMP_UNORD_Q): Likewise.
11408         * soft-fp/single.h (FP_CMP_S): Likewise.
11409         (FP_CMP_EQ_S): Likewise.
11410         (FP_CMP_UNORD_S): Likewise.
11411         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11412         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11413         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11414         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11415         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11416         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11417         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11418         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11419         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11420         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11421         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11422         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11423         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11424         to FP_CMP_Q.
11425         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11426         FP_CMP_Q.
11427         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11428         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11429         FP_CMP_EQ_Q.
11430         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11431         FP_CMP_Q.
11432         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11433         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11434         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11435         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11436         FP_CMP_EQ_Q.
11437         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11438         FP_CMP_Q.
11439         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11440         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11441         FP_CMP_EQ_Q.
11442         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11443         FP_CMP_Q.
11444         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11445         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11446         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11447         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11448         FP_CMP_EQ_Q.
11450         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11451         a subnormal result, set the underflow exception if trapping on
11452         underflow is enabled.
11453         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11454         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11455         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11456         redefine to 0.
11457         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11458         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11459         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11460         * soft-fp/extendxftf2.c (__extendxftf2): Use
11461         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11463         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11464         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11465         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11466         FP_HANDLE_EXCEPTIONS.
11467         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11468         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11469         FP_HANDLE_EXCEPTIONS.
11470         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11471         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11472         FP_HANDLE_EXCEPTIONS.
11473         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11474         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11475         FP_HANDLE_EXCEPTIONS.
11477 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11479         [BZ #14132]
11480         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11481         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11482         use INTUSE.
11483         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11484         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11485         Remove alias.
11486         (__adjtimex): Define using libc_hidden_ver.
11487         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11488         Remove declaration.
11489         (ntp_gettime): Call __adjtimex directly.
11490         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11491         Remove declaration.
11492         (ntp_gettimex): Call __adjtimex directly.
11493         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11494         __adjtimex_internal alias.
11496 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11498         [BZ #17460]
11499         * nscd/nscd.c (more_help): Rewrite list of tables collection
11500         using xstrdup and asprintf.
11502         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11504 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11505             Roland McGrath  <roland@hack.frob.com>
11507         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11508         (do_lookup_unique): ... local function 'enter' here; update callers.
11510 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11512         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11513         compat_symbol calls on [SHARED].
11514         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11515         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11516         Remove.
11517         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11518         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11519         (oldsetrlimit): Remove.
11520         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11522         (lchown): New syscall entry.
11523         (oldsetrlimit): Remove.
11524         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11525         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11526         (oldsetrlimit): Remove.
11527         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11529         [BZ #14138]
11530         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11531         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11532         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11533         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11534         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11535         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11536         (fchown): Likewise.
11537         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11538         (fchown): Likewise.
11539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11540         Likewise.
11542 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11544         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11545         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11546         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11547         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11548         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11549         Likewise.
11550         (__old_sem_post): Likewise.
11552 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11554         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11555         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11556         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11557         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11558         Use INLINE_VSYSCALL macro.
11559         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11560         __vdso_clock_gettime.
11561         * sysdeps/unix/sysv/linux/tile/init-first.c
11562         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11563         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11564         __vdso_clock_gettime.
11566         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11567         to set up frame more cleanly.
11569         * sysdeps/tile/memcmp.c: New file.
11571         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11573         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11574         * sysdeps/tile/tilegx/strcasestr.c: New file.
11575         * sysdeps/tile/tilegx/strnlen.c: New file.
11576         * sysdeps/tile/tilegx/strstr.c: New file.
11578         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11580 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11582         * nptl/tst-setuid3.c: Write errors to stdout.
11584 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11586         * elf/dl-deps.c
11587         (preload): New functions broken out of _dl_map_object_deps.
11588         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11590 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11592         [BZ #14138]
11593         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11594         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11596 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11598         * sysdeps/mips/strcmp.S: New.
11600 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11602         [BZ #14138]
11603         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11604         (linkat): Likewise.
11605         (mkdirat): Likewise.
11606         (readlinkat): Likewise.
11607         (renameat): Likewise.
11608         (symlinkat): Likewise.
11609         (unlinkat): Likewise.
11610         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11611         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11612         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11613         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11614         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11615         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11616         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11618 2014-09-30  Will Newton  <will.newton@linaro.org>
11620         * math/math.h: Define long double math functions if
11621         _LIBC_TEST is defined.
11622         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11624         * localedata/Makefile: Move assignment to tests-special
11625         into an ifdef testing run-built-tests.
11626         * timezone/Makefile: Likewise.
11628 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11630         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11631         with $(BASH) not $(SHELL).
11633 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11634             Matthew LeGendre  <legendre1@llnl.gov>
11636         [BZ #17411]
11637         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11638         l_reloc_result.
11640 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11642         * stdio-common/printf_fp.c
11643         (hack_digit): New function, broken out of ...
11644         (__printf_fp): ... local function here.  Update call sites.
11645         hack_digit now takes an additional parameter that is a pointer
11646         to a struct of the referenced locals.  Those locals moved inside
11647         the struct and references updated.
11649 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11651         * aclocal.m4: Require autoconf 2.69.
11652         * configure: Regenerated.
11653         * sysdeps/aarch64/configure: Likewise.
11654         * sysdeps/alpha/configure: Likewise.
11655         * sysdeps/arm/armv7/configure: Likewise.
11656         * sysdeps/arm/configure: Likewise.
11657         * sysdeps/ia64/configure: Likewise.
11658         * sysdeps/mach/configure: Likewise.
11659         * sysdeps/mips/configure: Likewise.
11660         * sysdeps/s390/configure: Likewise.
11661         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11664         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11665         file.
11666         * sysdeps/ia64/configure.ac: Likewise.
11668 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11671         specify symbol version for ld.so.  Do not include entry for
11672         libpthread.
11673         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11674         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11675         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11677         [BZ #14171]
11678         * Makeconfig [$(build-shared) = yes]
11679         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11680         makefiles.
11681         [$(build-shared) = yes && $(soversions.mk-done) = t]
11682         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11683         [$(build-shared) = yes && $(soversions.mk-done) = t]
11684         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11685         to Makerules.
11686         [$(build-shared) = yes && $(soversions.mk-done) = t]
11687         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11688         here.
11689         [$(build-shared) = yes && $(soversions.mk-done) = t]
11690         (common-generated): Don't append gnu/lib-names.h and
11691         gnu/lib-names.stmp here.
11692         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11693         (lib-names-h-abi): New variable.
11694         [$(build-shared) = yes && $(soversions.mk-done) = t]
11695         (lib-names-stmp-abi): Likewise.
11696         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11697         abi-variants] (before-compile): Append
11698         $(common-objpfx)$(lib-names-h-abi).
11699         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11700         abi-variants] (common-generated): Append gnu/lib-names.h.
11701         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11702         abi-variants] (install-others-nosubdir): Depend on
11703         $(inst_includedir)/$(lib-names-h-abi).
11704         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11705         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11706         [$(build-shared) = yes && $(soversions.mk-done) = t]
11707         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11708         [$(build-shared) = yes && $(soversions.mk-done) = t]
11709         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11710         [$(build-shared) = yes && $(soversions.mk-done) = t]
11711         (common-generated): Append $(lib-names-h-abi) and
11712         $(lib-names-stmp-abi).
11713         * scripts/lib-names.awk: Do not handle multi being set.
11714         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11715         Remove variable.
11716         (abi-lp64_be-ld-soname): Likewise.
11717         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11718         Likewise.
11719         (abi-hard-ld-soname): Likewise.
11720         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11721         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11722         Remove variable.
11723         (abi-o32_hard-ld-soname): Likewise.
11724         (abi-o32_soft_2008-ld-soname): Likewise.
11725         (abi-o32_hard_2008-ld-soname): Likewise.
11726         (abi-n32_soft-ld-soname): Likewise.
11727         (abi-n32_hard-ld-soname): Likewise.
11728         (abi-n32_soft_2008-ld-soname): Likewise.
11729         (abi-n32_hard_2008-ld-soname): Likewise.
11730         (abi-n64_soft-ld-soname): Likewise.
11731         (abi-n64_hard-ld-soname): Likewise.
11732         (abi-n64_soft_2008-ld-soname): Likewise.
11733         (abi-n64_hard_2008-ld-soname): Likewise.
11734         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11735         Likewise.
11736         (abi-64-v2-ld-soname): Likewise.
11737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11738         ld.so entries.
11739         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11740         variable.
11741         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11742         entry.
11743         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11744         variable.
11745         (abi-64-ld-soname): Likewise.
11746         (abi-x32-ld-soname): Likewise.
11747         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11748         entry.
11749         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11751 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11753         [BZ #14138]
11754         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11755         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11756         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11757         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11758         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11759         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11760         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11761         syscall entry for GLIBC_2.2 symbol version.
11762         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11763         Likewise.
11764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11765         (setrlimit): Likewise.
11766         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11767         Likewise.
11769 2014-09-23  Will Newton  <will.newton@linaro.org>
11771         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11772         _LINUX_ARM_SYSDEP_H include guard too.
11773         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11774         define.
11776 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11778         * sysdeps/unix/sysv/linux/eventfd.c:
11779         Make first argument unsigned.
11780         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11781         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11783 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11785         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11786         * socket/sys/socket.h: Likewise
11787         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11789 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11791         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11793 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11795         * time/tst-ftime.c: New test.
11796         * time/Makefile (tests): Add tst-ftime.
11798 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11800         * soft-fp/extended.h: Fix comment formatting.
11801         * soft-fp/op-1.h: Likewise.
11802         * soft-fp/op-2.h: Likewise.
11803         * soft-fp/op-4.h: Likewise.
11804         * soft-fp/op-8.h: Likewise.
11805         * soft-fp/op-common.h: Likewise.
11806         * soft-fp/soft-fp.h: Likewise.
11808         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11810 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11812         [BZ #6652]
11813         * Makeconfig (soversions-default-setname): Remove variable.
11814         ($(common-objpfx)soversions.i): Don't pass default_setname to
11815         soversions.awk.
11816         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11817         oldest_abi to abi-versions.awk.
11818         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11819         * config.make.in (oldest-abi): Remove variable.
11820         * configure.ac (--enable-oldest-abi): Remove configure option.
11821         * configure: Regenerated.
11822         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11823         text.
11824         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11825         * scripts/soversions.awk: Do not handle default_setname variable.
11826         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11827         variable.
11828         * sysdeps/mach/hurd/configure: Regenerated.
11829         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11830         variable.
11831         * sysdeps/unix/sysv/linux/configure: Regenerated.
11833 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11835         * elf/Makefile (CFLAGS-interp.c): Remove.
11836         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11837         path string.
11838         * elf/interp.c: Include generated runtime-linker.h
11840         * Makerules (lib%.so): Don't include $(+interp) in
11841         prerequisites.
11842         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11843         * dlfcn/eval.c: Remove file.
11845         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11846         macros.
11848         [BZ #17266]
11849         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11850         4.2 and newer.
11852         [BZ #17370]
11853         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11855 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11856             Jakub Jelinek  <jakub@redhat.com>
11858         [BZ #17266]
11859         * libio/stdio.h: Check definition of __fortify_function
11860         instead of __extern_always_inline to include bits/stdio2.h.
11861         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11862         check if __extern_always_inline is defined.
11863         [__USE_MISC || __USE_XOPEN]: Likewise.
11864         [__USE_ISOC99] Likewise.
11865         * misc/sys/cdefs.h (__fortify_function): Define only if
11866         __extern_always_inline is defined.
11867         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11868         __extern_always_inline and __extern_inline only for g++-4.3
11869         and newer or a compatible gcc.
11871 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11873         [BZ #17371]
11874         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11875         last change to handle zero prefix length.
11877 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11879         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11880         _SC_REGEX_VERSION.
11882         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11883         _POSIX_RAW_SOCKETS.
11885 2014-09-13  Allan McRae  <allan@archlinux.org>
11887         * po/ru.po: Update Russian translation from translation project.
11889 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11891         * locale/programs/locale.c (show_locale_vars): Inline local function
11892         into its sole call site.  Clean up some style nits.
11893         (print_item): New function, broken out of ...
11894         (show_info): ... local function here.  Clean up style nits.
11896         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11897         out of ...
11898         (set_class_defaults): ... local function set_default here.
11899         Define set_default as a macro locally to pass constant parameters.
11900         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11901         rather than a shared local.
11903         * stdlib/rpmatch.c (try): New function, broken out of ...
11904         (rpmatch): ... local function here.  Also, prototypify definition.
11906 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11908         * scripts/soversions.awk: Do not handle configuration names.
11909         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11910         vendor and os variables to soversions.awk.
11911         * configure.ac: Do not modify gnu-* host_os.
11912         * configure: Regenerated
11913         * shlib-versions: Remove first column with configuration names.
11914         * nptl/shlib-versions: Likewise.
11915         * nptl_db/shlib-versions: Likewise.
11916         * sysdeps/hppa/shlib-versions: Likewise.
11917         * sysdeps/m68k/shlib-versions: Likewise.
11918         * sysdeps/mach/hurd/shlib-versions: Likewise.
11919         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11920         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11921         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11922         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11923         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11924         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11925         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11926         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11928         Likewise.
11929         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11930         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11931         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11932         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11933         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11934         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11935         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11936         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11939         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11941         Regenerated.
11942         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11944         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11946         * shlib-versions: Remove OS-specific entries.  Moved to files in
11947         sysdeps.
11948         * sysdeps/mach/hurd/shlib-versions: New file.
11949         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11951         * nptl/shlib-versions: Remove architecture-specific entries.
11952         Moved to files in sysdeps.
11953         * shlib-versions: Likewise.
11954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11955         file.
11956         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11957         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11958         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11959         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11961         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11962         (UDP_NO_CHECK6_RX): Likewise.
11964 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11966         * sysdeps/posix/sysconf.c (__sysconf): Spell
11967         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11969 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11971         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11972         loading.
11973         * iconv/Versions (__gconv_transliterate): Export for use from
11974         gconv modules.
11975         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11976         (struct __gconv_trans_data, __gconv_trans_fct,
11977         __gconv_trans_context_fct, __gconv_trans_query_fct,
11978         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11979         definitions.
11980         (struct __gconv_step_data): Remove __trans member.
11981         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11982         longer hidden.  Remove unused trans_data argument.
11983         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11984         (__gconv_translit_find): Remove declaration.
11985         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11986         prototype.
11987         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11988         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11989         trans_data argument.  Add hidden definition.
11990         (__gconv_translit_find): Remove.
11991         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11992         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11993         * iconv/skeleton.c: Remove transliteration initialization.
11994         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11995         __gconv_step_data initialization.
11996         * libio/iofwide.c (__libio_translit_): Remove.
11997         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11998         * wcsmbs/btowc.c (__btowc): Likewise.
11999         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12000         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12001         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12002         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12003         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12004         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12005         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12006         * wcsmbs/wctob.c (wctob): Likewise.
12008 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12010         [BZ #16194]
12011         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12012         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12013         register usage.
12014         * sysdeps/x86/Makefile: Adjust.
12016 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12017             Roland McGrath  <roland@hack.frob.com>
12019         * locale/weight.h: Add include guard.
12020         (findidx): Make static rather than auto; take new parameters
12021         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12022         * locale/weightwc.h: Likewise.
12023         * posix/fnmatch_loop.c
12024         (FCT): Change type of EXTRA from int32_t to wint_t.
12025         Don't include either header inside the function.
12026         Call FINDIDX rather than findidx, and pass new arguments.
12027         #undef FINDIDX at the end of the file.
12028         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12029         FINDIDX before including fnmatch_loop.c for the non-wide version.
12030         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12031         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12032         for the wide version.
12033         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12034         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12035         Pass new arguments to findidx.
12036         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12037         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12038         Don't #include it inside the function.  Pass new arguments to findidx.
12039         * posix/regex_internal.h
12040         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12041         (re_string_elem_size_at): Don't #include it inside the function.
12042         Pass new arguments to findidx.
12043         * string/strcoll_l.c: #include WEIGHT_H at top level.
12044         (get_next_seq): Don't #include it inside the function.
12045         Pass new arguments to findidx.
12046         (get_next_seq_nocache): Likewise.
12047         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12048         (STRXFRM): Don't #include it inside the function.
12049         Pass new arguments to findidx.
12051 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12053         [BZ #17344]
12054         * malloc/malloc.c (unlink): Turn asserts into a call to
12055         malloc_printerr.
12057 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12059         [BZ #17370]
12060         * libio/wfileops (do_ftell_wide): Free OUT.
12062 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12064         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12066 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12068         [BZ #17363]
12069         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12070         group if the current group is empty.
12072 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12074         * benchtests/bench-memset.c (test_main): Add more test from size
12075         from 32 to 512 bytes.
12076         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12077         Add POWER8 memset object.
12078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12079         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12080         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12081         implementation.
12082         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12083         Likewise.
12084         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12085         multiarch POWER8 memset optimization.
12086         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12087         POWER8 memset optimization.
12089         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12090         Remove bzero multiarch objects.
12091         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12092         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12093         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12094         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12095         Remove define.
12096         [__bzero]: Redefine to specific name.
12097         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12098         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12099         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12100         define.
12101         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12102         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12104 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12106         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12107         warnings into errors.
12109         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12110         __cxa_thread_atexit_impl prototype.
12112 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12114         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12115         Fix capitalization of error message.
12117 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12119         * sysdeps/mips/preconfigure: Modify ABI tests.
12121 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12123         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12125 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12126             Carlos O'Donell  <carlos@systemhalted.org>
12128         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12129         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12130         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12131         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12132         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12133         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12134         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12135         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12136         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12137         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12138         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12139         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12140         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12141         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12142         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12143         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12144         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12145         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12146         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12147         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12148         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12149         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12150         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12151         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12152         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12153         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12154         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12155         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12156         Deconditionalize the code that was previously under [RESET_PID].
12157         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12158         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12159         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12160         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12161         include sysdep.h.
12163 2014-09-08  Allan McRae  <allan@archlinux.org>
12165         * version.h (RELEASE): Set to "development".
12166         (VERSION): Set to "2.20.90"
12168 2014-09-07  Allan McRae  <allan@archlinux.org
12170         * version.h (RELEASE): Set to "stable".
12171         (VERSION): Set to "2.20"
12172         * include/features.h (__GLIBC_MINOR__): Set to 20.
12174         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12175         Liebler.
12177         * po/ko.po: Update Korean translation from translation project.
12179 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12181         [BZ #17354]
12182         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12183         macro for handling signed relocations.
12185 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12187         [BZ #17325]
12188         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12189         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12190         assert.
12191         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12192         * iconvdata/ibm935.c (BODY): Likewise.
12193         * iconvdata/ibm937.c (BODY): Likewise.
12194         * iconvdata/ibm939.c (BODY): Likewise.
12195         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12196         assert.
12197         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12198         script.
12199         * iconvdata/run-iconv-test.sh: New test loop for checking for
12200         decoder crashers.
12202 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12204         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12205         libm_hidden_ver.
12207 2014-09-01  Allan McRae  <allan@archlinux.org>
12209         * po/eo.po: Update Esperanto translation from translation project.
12211         * po/ca.po: Update Catalan translation from translation project.
12213 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12215         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12216         __proc_dostop call.
12218 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12220         [BZ #17319]
12221         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12222         to call set_thread_area instead of hand written asm.
12223         (__NR_set_thread_area): Removed define.
12224         (TLS_FLAG_WRITABLE): Likewise.
12225         (__ASSUME_SET_THREAD_AREA): Remove check.
12226         (TLS_EBX_ARG): Remove define.
12227         (TLS_LOAD_EBX): Likewise.
12229 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12231         Simplify atomicity of socket creation in bind.
12233         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12234         looking up the name after linking the file.
12236 2014-08-27  Allan McRae  <allan@archlinux.org>
12238         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12240 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12242         [BZ #17187]
12243         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12244         trans_compare, open_translit, __gconv_translit_find):
12245         Remove module loading code.
12247 2014-08-26  Allan McRae  <allan@archlinux.org>
12249         * po/vi.po: Update Vietnamese translation from translation project.
12251         * po/uk.po: Update Ukrainian translation from translation project.
12253         * po/fr.po: Update French translation from translation project.
12255         * po/ru.po: Update Russian translation from translation project.
12257         * po/pl.po: Update Polish translation from translation project.
12259         * po/cs.po: Update Czech translation from translation project.
12261         * po/de.po: Update German translation from translation project.
12263         * po/bg.po: Update Bulgarian translation from translation project.
12265         * po/sv.po: Update Sweedish translation from translation project.
12267         * po/nl.po: Update Dutch translation from translation project.
12269         * po/es.po: Update Spanish translation from translation project.
12271 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12273         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12275         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12276         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12277         (CPPFLAGS-iconvconfig): Likewise.
12278         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12280         * include/libc-symbols.h: Remove unnecessary check for
12281         NOT_IN_libc.
12282         * nptl/pthreadP.h: Likewise.
12283         * sysdeps/aarch64/setjmp.S: Likewise.
12284         * sysdeps/alpha/setjmp.S: Likewise.
12285         * sysdeps/arm/sysdep.h: Likewise.
12286         * sysdeps/i386/setjmp.S: Likewise.
12287         * sysdeps/m68k/setjmp.c: Likewise.
12288         * sysdeps/posix/getcwd.c: Likewise.
12289         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12290         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12291         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12292         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12293         * sysdeps/sh/sh3/setjmp.S: Likewise.
12294         * sysdeps/sh/sh4/setjmp.S: Likewise.
12295         * sysdeps/unix/alpha/sysdep.h: Likewise.
12296         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12297         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12298         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12299         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12304         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12306         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12307         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12309         * sysdeps/x86_64/setjmp.S: Likewise.
12311 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12313         [BZ #17263]
12314         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12315         <stdint.h>.
12316         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12317         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12319 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12321         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12323         [BZ #17262]
12324         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12325         and __x86_64__ when disabling x87 inline functions.
12327 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12329         [BZ #17259]
12330         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12331         asm statement with __cpuid_count.
12333 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12335         * configure.ac: Change __ehdr_start code to dereference the struct.
12336         Run readelf on the output to look for relocations.
12337         * configure: Regenerated.
12339 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12341         [BZ #17261]
12342         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12343         value to 0.
12344         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12346 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12348         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12350 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12352         [BZ #16892]
12353         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12354         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12356 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12358         * malloc/malloc.c: Fix typo in comment.
12360 2014-08-09  Allan McRae  <allan@archlinux.org>
12362         * Regenerate libc.po.
12364 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12366         * intl/tst-gettext2.sh: Check every lang file for creation.
12368 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12370         * sysdeps/aarch64/fpu/math_private.h
12371         (libc_feholdsetround_noex_aarch64_ctx): New function.
12373 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12375         * sysdeps/arm/armv6/strcpy.S (strcpy):
12376         Fix performance issue in misaligned cases.
12378 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12380         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12381         Move definition from termios.h.
12382         (struct termio): Likewise.
12383         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12384         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12385         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12386         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12387         Likewise.
12388         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12389         Move definition to ioctl-types.h
12390         (struct termio): Likewise.
12391         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12392         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12393         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12394         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12395         Likewise.
12397 2014-08-05  Richard Henderson  <rth@redhat.com>
12399         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12400         exceptions.
12401         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12402         Add fraiseexcpt.
12403         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12404         Use __feraiseexcept.
12405         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12406         Protect libm symbols with IS_IN_libm.
12408         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12410 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12412         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12414 2014-08-04  Will Newton  <will.newton@linaro.org>
12416         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12417         file.
12419 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12421         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12422         variants for each function.
12424 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12426         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12427         appended ...
12428         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12429         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12430         appended ...
12431         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12432         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12433         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12434         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12435         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12436         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12437         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12438         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12439         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12440         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12441         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12442         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12443         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12444         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12445         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12446         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12447         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12448         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12449         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12450         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12451         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12452         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12453         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12454         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12455         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12456         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12457         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12458         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12459         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12460         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12461         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12462         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12463         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12464         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12465         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12466         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12467         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12468         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12469         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12470         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12471         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12472         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12473         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12474         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12475         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12476         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12477         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12478         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12479         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12480         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12481         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12482         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12483         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12484         Update #include.
12485         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12486         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12488 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12490         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12491         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12492         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12493         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12494         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12495         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12497 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12499         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12500         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12501         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12502         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12504 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12506         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12507         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12508         (__libc_vfork): Define function under this name.
12509         (__vfork): Define as an alias.
12510         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12511         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12513 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12515         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12516         that was previously under [RESET_PID].
12517         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12519 2014-08-04  Andreas Schwab  <schwab@suse.de>
12521         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12523 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12525         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12526         (main): Likewise.
12528 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12530         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12532 2014-08-01  Richard Henderon  <rth@redhat.com>
12534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12535         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12536         typo in exact zero test.
12537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12538         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12539         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12541 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12543         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12544         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12545         * sysdeps/arm/sysdep.h: ... here.
12546         [!__ASSEMBLER__]: Include <stdint.h>.
12548 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12550         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12551         (HAVE_WCTYPE_H): Likewise.
12552         (HAVE_ISWCTYPE): Likewise.
12553         (ENABLE_NLS): Likewise.
12554         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12555         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12557         * posix/regex_internal.c: Check if DEBUG is defined and is
12558         set.
12560         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12561         (HAVE_MBSRTOWCS): Likewise.
12562         * posix/fnmatch.c: Include string.h unconditionally.
12564 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12566         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12567         reversal.
12569 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12571         * sysdeps/generic/safe-fatal.h: New file.
12572         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12573         * nptl/forward.c: Include it.
12574         (__pthread_unwind): Use __safe_fatal as default action, rather
12575         than a bogus use of INTERNAL_SYSCALL that could never work.
12577         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12578         * configure.ac (libc_cv_builtin_trap): New test.
12579         * configure: Regenerated.
12580         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12581         (ABORT_INSTRUCTION): Define using __builtin_trap.
12583         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12584         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12585         * sysdeps/nptl/nptl-signals.h: New file.
12586         * nptl/pthreadP.h: Include <nptl-signals.h>.
12588 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12590         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12591         (ONE_DIRECTION): Define.
12592         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12593         (ONE_DIRECTION): Define.
12594         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12595         (ONE_DIRECTION): Define.
12597 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12599         * sysdeps/s390/Makefile: Delete file.
12600         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12601         * sysdeps/s390/__longjmp.c: Delete file.
12602         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12603         Remove fields __flags and __reserved.
12604         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12605         and add versioning.
12606         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12607         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12608         * sysdeps/s390/rtld-setjmp.S: Likewise.
12609         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12610         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12611         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12612         * sysdeps/s390/s390-32/setjmp.S: ... here.
12613         Add versioning.
12614         (__sigsetjmp): Remove setting __flags field.
12615         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12616         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12617         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12618         * sysdeps/s390/s390-64/setjmp.S: ... here.
12619         Add versioning.
12620         (__sigsetjmp): Remove setting __flags field.
12621         * sysdeps/s390/setjmp.S: Delete file.
12622         * sysdeps/s390/sigjmp.c: Likewise.
12623         * sysdeps/s390/v1-longjmp.c: Likewise.
12624         * sysdeps/s390/v1-setjmp.h: Likewise.
12625         * sysdeps/s390/v1-sigjmp.c: Likewise.
12626         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12627         Remove v1-longjmp_chk.
12628         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12629         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12630         Include debug/longjmp_chk.c and add versioning.
12631         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12632         Include nptl/pt-longjmp.c and add versioning.
12633         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12634         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12635         Include __longjmp.c.
12636         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12637         Move to ...
12638         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12639         (__getcontext): Remove setting __flags field.
12640         Add versioning.
12641         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12642         Don't restore upper high grps.
12643         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12644         Likewise.
12645         (__swapcontext): Remove setting uc_flags field.
12646         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12647         Delete file.
12648         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12649         Include __longjmp.c.
12650         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12651         Move to ...
12652         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12653         (__getcontext): Remove setting __flags field.
12654         Add versioning.
12655         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12656         (__swapcontext): Remove setting uc_flags field.
12657         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12658         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12659         Remove fields uc_high_gprs and __reserved.
12660         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12661         New file with reverted content.
12662         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12663         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12664         Regenerated.
12665         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12666         Regenerated.
12668 2014-07-31  Andreas Schwab  <schwab@suse.de>
12670         * config.h.in (HAVE_IFUNC): Define to 0.
12671         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12672         definedness.
12674 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12677         memmove-avx-unaligned, memcpy-avx-unaligned and
12678         mempcpy-avx-unaligned.
12679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12680         Add tests for AVX memcpy functions.
12681         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12682         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12683         memcpy_chk.
12684         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12685         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12686         memmove_chk.
12687         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12688         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12689         mempcpy_chk.
12690         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12691         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12692         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12694 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12696         [BZ #17213]
12697         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12698         powerpc64le.
12700 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12702         [BZ #16839]
12703         * manual/llio.texi: Add section about open file description locks.
12704         * manual/examples/ofdlocks.c: Example of open file description
12705         lock usage.
12706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12707         F_OFD_SETLK, and F_OFD_SETLKW.
12709 2014-07-23  Allan McRae  <allan@archlinux.org>
12711         * po/es.po: Update Spanish translation from translation project.
12713 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12715         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12717 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12719         [BZ #17078]
12720         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12721         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12722         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12724 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12726         [BZ #17088]
12727         * math/fesetenv.c (__fesetenv)
12728         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12729         * math/feupdateenv.c (__feupdateenv)
12730         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12732         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12733         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12734         (__ASSUME_SOCKETCALL): Do not define.
12736         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12737         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12738         (__ASSUME_SOCKETCALL): Do not define.
12739         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12740         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12741         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12742         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12743         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12744         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12745         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12746         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12748         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12749         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12750         (__ASSUME_SOCKETCALL): Do not define.
12751         (__ASSUME_IPC64): Define unconditionally.
12752         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12753         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12754         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12755         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12756         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12757         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12758         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12759         Likewise.
12761         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12762         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12763         (__ASSUME_SOCKETCALL): Do not define.
12764         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12765         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12766         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12767         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12768         (__ASSUME_REQUEUE_PI): Define unconditionally.
12769         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12770         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12771         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12772         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12773         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12774         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12776         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12777         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12778         (__ASSUME_SOCKETCALL): Do not define.
12779         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12780         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12781         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12782         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12783         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12784         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12786         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12787         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12788         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12789         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12790         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12791         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12792         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12793         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12794         (__ASSUME_GETCPU_SYSCALL): Likewise.
12796         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12797         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12798         cases for individual architectures.
12799         * sysdeps/gnu/configure: Regenerated.
12800         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12801         LIBC_SLIBDIR_RTLDDIR.
12802         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12803         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12804         LIBC_SLIBDIR_RTLDDIR.
12805         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12807         LIBC_SLIBDIR_RTLDDIR.
12808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12809         Regenerated.
12810         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12811         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12812         file.
12813         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12814         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12815         file.
12816         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12817         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12818         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12819         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12821         * sysdeps/aarch64/shlib-versions: Move to ...
12822         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12823         * sysdeps/alpha/shlib-versions: Move to ...
12824         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12825         * sysdeps/arm/shlib-versions: Move to ...
12826         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12827         * sysdeps/hppa/shlib-versions: Move all contents except for
12828         libgcc_s entry to ...
12829         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12830         entry from ...
12831         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12832         * sysdeps/ia64/shlib-versions: Move to ...
12833         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12834         entry from ...
12835         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12836         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12837         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12838         * sysdeps/microblaze/shlib-versions: Move to ...
12839         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12840         * sysdeps/mips/shlib-versions: Move to ...
12841         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12842         entry from ...
12843         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12844         * sysdeps/tile/shlib-versions: Move to ...
12845         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12846         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12847         from ...
12848         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12849         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12850         entry from ...
12851         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12853 2014-07-17  Will Newton  <will.newton@linaro.org>
12855         * sysdeps/arm/bits/atomic.h
12856         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12857         (__arch_compare_and_exchange_bool_16_int): Likewise.
12858         (__arch_compare_and_exchange_bool_64_int): Likewise.
12860         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12861         into an #else block.
12863 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12865         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12866         just Linux configurations.  Test empirically that the compiler sets
12867         __ARM_EABI__, rather than using the tuple to decide.
12868         * sysdeps/arm/preconfigure: Regenerated.
12869         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12870         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12871         contents appended ...
12872         * sysdeps/arm/configure.ac: ... here.
12873         * sysdeps/arm/configure: Regenerated.
12875 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12877         * nptl/pthread_kill.c: New file.
12878         * nptl/pthread_sigmask.c: New file.
12879         * nptl/pthread_sigqueue.c: New file.
12881         * sysdeps/nptl/lowlevellock.h: New file.
12882         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12883         * sysdeps/nptl/lowlevellock-futex.h: New file.
12885         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12886         Remove dead declarations.
12888 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12890         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12891         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12892         config-cflags-avx2.
12893         * sysdeps/x86_64/configure.ac: Likewise.
12894         * sysdeps/i386/configure: Regenerated.
12895         * sysdeps/x86_64/configure: Likewise.
12896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12897         memset-avx2 only if config-cflags-avx2 is yes.
12898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12899         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12900         defined.
12901         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12902         only if HAVE_AVX2_SUPPORT is defined.
12903         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12905 2014-07-14  Alan Modra  <amodra@gmail.com>
12907         [BZ #17153]
12908         * elf/elf.h (DT_PPC64_NUM): Correct value.
12909         * NEWS: Add to fixed bug list.
12911 2014-07-13  Jim Meyering  <meyering@fb.com>
12913         [BZ 17150]
12914         regex: don't deref NULL upon heap allocation failure
12915         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12916         failure in one more place.
12917         To trigger the segfault, configure grep -with-included-regex,
12918         build it, and run these commands:
12919         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12921 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12923         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12925 2014-07-11  Richard Henderson  <rth@redhat.com>
12927         * sysdeps/aarch64/libm-test-ulps: Update.
12929 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12931         [BZ #17135]
12932         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12933         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12934         (__nptl_setxid): Initialize error member.  Call
12935         __nptl_setxid_error.
12936         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12937         * nptl/descr.h (struct xid_command): Add error member.
12938         * nptl/tst-setuid3.c: New file.
12939         * nptl/Makefile (tests): Add it.
12941 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12943         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12944         New define.
12945         (__lll_trylock): Use __lll_base_trylock.
12946         (__lll_cond_trylock): Likewise.
12948 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12950         * nptl/pthread_create.c (start_thread): Use atomic_or and
12951         lll_futex_wake directly rather than lll_robust_dead.
12952         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12953         (lll_robust_dead): Macro removed.
12954         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12955         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12956         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12957         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12958         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12959         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12960         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12961         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12962         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12963         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12964         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12965         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12966         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12967         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12968         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12970         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12971         Use atomic_compare_and_exchange_val_acq directly rather than
12972         lll_robust_trylock.
12973         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12974         (__lll_robust_trylock, lll_robust_trylock): Removed.
12975         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12976         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12977         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12978         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12979         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12980         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12981         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12982         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12983         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12984         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12985         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12986         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12987         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12988         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12990 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12992         * manual/locale.texi (Locale Names): New section documenting
12993         locale name syntax.  Adjust menu and node chaining accordingly.
12994         (Choosing Locale): Reference Locale Names, Locale Categories.
12995         Mention setting LC_ALL=C.  Reflect that name syntax is now
12996         documented.
12997         (Locale Categories): New section title.  Reference Locale Names.
12998         LC_ALL is an environment variable, but not a category.
12999         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13000         description, now in Locale Name.  Reference that section.  Locale
13001         name syntax is now documented.
13003 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13005         [BZ #17137]
13006         * locale/findlocale.c (name_present, valid_locale_name): New
13007         functions.
13008         (_nl_find_locale): Use the loc_name variable to store name
13009         candidates.  Call name_present and valid_locale_name to check and
13010         validate locale names.  Return an error if the locale is invalid.
13012 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13014         * locale/setlocale.c (setlocale): Use strdup for allocating
13015         composite name copy.
13017 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13019         Sync up with gnulib.
13020         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13021         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13022         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13023         and _GL_ARG_NONNULL.
13024         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13025         [!_LIBC]: Include code for Windows and Cygwin.
13026         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13027         Include prototype for int strerror_r.
13028         [!_LIBC] (is_open): New function.
13029         (flush_stdout): New function.
13030         (print_errno_message): Use it.
13031         (error): Likewise.
13032         (error_at_line): Likewise.
13033         (error_tail) Add function attribute macros.  Use
13034         __builtin_expect.
13036         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13038         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13040         * io/ftw.c: Include sys/param.h unconditionally.
13042         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13044         [BZ #17125]
13045         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13046         libc_freeres_ptr.
13047         (freecache): New function to free CACHE on exit.
13049         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13050         initialization.
13052 2014-07-09  David S. Miller  <davem@davemloft.net>
13054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13056         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13057         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13058         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13059         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13060         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13061         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13062         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13063         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13064         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13065         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13066         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13067         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13068         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13070 2014-07-09  Andreas Schwab  <schwab@suse.de>
13072         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13073         output.
13074         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13075         (do_test): Likewise.
13077         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13079 2014-07-09  Will Newton  <will.newton@linaro.org>
13081         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13082         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13083         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13084         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13085         * sysdeps/hppa/start.S (_start): Likewise.
13087 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13089         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13091         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13092         defined.
13094 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13096         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13097         after checking that it is non-NULL.
13099         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13101 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13103         * sysdeps/powerpc/memmove.c: Remove file.
13104         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13105         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13106         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13107         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13108         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13109         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13110         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13111         string memmove instead of removed powerpc one.
13113         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13114         [weak_alias]: Fix compiler warning due trailing data.
13115         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13116         [weak_alias]: Likewise.
13117         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13118         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13121         (__libc_ifunc_impl_list): Add memmove functions.
13123 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13125         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13126         Remove code.
13127         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13128         Likewise
13129         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13130         Likewise
13131         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13132         Likewise
13133         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13134         Likewise
13135         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13136         Likewise
13137         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13138         Likewise
13139         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13140         Likewise
13141         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13142         Likewise
13143         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13144         Likewise
13145         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13146         Likewise
13147         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13148         Likewise
13149         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13150         Likewise
13151         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13152         Likewise
13153         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13154         Likewise
13155         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13156         Likewise
13157         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13158         Likewise
13160 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13162         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13163         to avoid alignment traps in non-cacheable memory.
13164         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13167         multiarch objects.
13168         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13169         file: multiarch power7 memmove.
13170         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13171         multiarch default memmove.
13172         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13173         multiarch memove for powerpc32/power4.
13175         * string/bcopy.c: Use full path to include memmove.c.
13176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13177         multiarch objects.
13178         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13179         bcopy for powerpc64.
13180         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13181         bcopy for powerpc64.
13182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13183         and memmove implementations.
13184         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13185         optimized multiarch memmove for POWER7/powerpc64.
13186         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13187         default multiarch memmove for powerpc64.
13188         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13189         multiarch for powerpc64.
13190         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13191         for POWER7/powerpc64.
13192         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13193         memmove for POWER7/powerpc64.
13195         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13196         glibc default one.
13198         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13199         __ELF_NATIVE_CLASS equal to 64.
13201 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13203         * sysdeps/nptl/lowlevellock.h: File removed.
13205         * NEWS: NPTL is no longer an add-on!
13206         * nptl/internaltypes.h: Moved ...
13207         * sysdeps/nptl/internaltypes.h: ... here.
13208         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13209         * sysdeps/nptl/fork.c: Likewise.
13210         * sysdeps/nptl/gai_misc.h: Likewise.
13211         * sysdeps/nptl/librt-cancellation.c: Likewise.
13212         * sysdeps/nptl/jmp-unwind.c: Likewise.
13213         * sysdeps/nptl/setxid.h: Likewise.
13214         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13215         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13216         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13217         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13218         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13219         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13220         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13221         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13222         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13223         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13224         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13225         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13226         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13227         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13228         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13229         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13230         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13231         * nptl/Makeconfig: Moved ...
13232         * sysdeps/nptl/Makeconfig: ... here.
13233         * nptl/configure: File removed.
13234         * nptl/ANNOUNCE: File removed.
13235         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13236         * sysdeps/unix/sysv/linux/configure: Regenerated.
13238         * nptl/Makefile (routines): Add libc_pthread_init,
13239         libc_multiple_threads, register-atfork and unregister-atfork.
13240         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13241         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13242         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13243         pthread-pi-defines.sym, structsem.sym.
13244         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13245         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13246         [$(subdir) = nptl] (tests): Add tst-setgetname.
13247         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13248         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13249         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13250         [!LIBC_SIGACTION]: Remove aliases.
13251         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13252         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13253         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13254         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13255         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13256         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13257         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13258         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13259         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13260         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13261         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13262         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13263         __libc_allocate_rtsig_private.
13264         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13265         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13266         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13267         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13268         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13269         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13270         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13271         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13272         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13273         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13274         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13275         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13276         * nptl/internaltypes.h: ... here.
13277         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13278         * sysdeps/nptl/jmp-unwind.c: ... here.
13279         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13280         * nptl/libc-lowlevellock.c: ... here.
13281         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13282         * nptl/libc_multiple_threads.c: ... here.
13283         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13284         * nptl/libc_pthread_init.c: ... here.
13285         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13286         * nptl/lowlevelbarrier.sym: ... here.
13287         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13288         * nptl/lowlevelcond.sym: ... here.
13289         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13290         * nptl/lowlevellock.c: ... here.
13291         * nptl/lowlevellock.h: Moved ...
13292         * sysdeps/nptl/lowlevellock.h: ... here.
13293         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13294         * nptl/lowlevelrobustlock.c: ... here.
13295         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13296         * nptl/lowlevelrobustlock.sym: ... here.
13297         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13298         * nptl/lowlevelrwlock.sym: ... here.
13299         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13300         * nptl/pt-fork.c: ... here.
13301         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13302         * nptl/pthread-pi-defines.sym: ... here.
13303         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13304         * nptl/pthread_attr_getaffinity.c: ... here.
13305         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13306         * nptl/pthread_attr_setaffinity.c: ... here.
13307         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13308         * nptl/pthread_mutex_cond_lock.c: ... here.
13309         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13310         Update #include.
13311         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13312         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13313         * nptl/pthread_once.c: ... here, replacing old file.
13314         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13315         * nptl/pthread_yield.c: ... here.
13316         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13317         * nptl/register-atfork.c: ... here.
13318         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13319         * nptl/sem_post.c: ... here.
13320         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13321         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13322         * nptl/sem_timedwait.c: ... here.
13323         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13324         * nptl/sem_trywait.c: ... here.
13325         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13326         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13327         * nptl/sem_wait.c: ... here.
13328         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13329         * nptl/structsem.sym: ... here.
13330         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13331         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13332         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13333         * nptl/unregister-atfork.c: ... here.
13334         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13335         * nptl/unwindbuf.sym: ... here.
13336         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13337         * sysdeps/nptl/fork.c: ... here.
13338         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13339         * sysdeps/nptl/fork.h: ... here.
13340         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13341         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13342         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13343         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13344         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13345         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13346         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13347         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13348         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13349         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13350         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13351         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13352         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13353         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13354         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13355         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13356         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13357         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13358         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13359         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13360         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13361         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13362         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13363         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13364         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13365         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13366         * sysdeps/unix/sysv/linux/raise.c: ... here.
13367         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13368         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13369         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13370         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13371         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13372         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13373         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13374         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13375         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13376         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13377         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13378         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13379         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13380         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13381         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13383 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13385         * sysdeps/generic/memcopy.h: Add comment for
13386         MEMCPY_OK_FOR_FWD_MEMMOVE.
13388 2014-07-04  Will Newton  <will.newton@linaro.org>
13390         * string/memchr.c: Merge from gnulib.
13391         [_LIBC]: Remove conditionals.
13392         (__ptr_t): Remove define.
13393         (LONG_MAX_32_BITS): Likewise.
13394         (LONG_MAX): Likewise.
13395         (MEMCHR): Use ANSI prototype and optimize algorithm.
13397         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13399 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13401         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13402         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13404         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13405         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13406         in a bare environment with no <stdlib.h> installed.
13407         * sysdeps/nptl/configure: Regenerated.
13409         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13411         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13412         AC_EGREP_CPP for kernel header checks, so they only succeed if
13413         including <linux/version.h> actually works right.
13414         * sysdeps/unix/sysv/linux/configure: Regenerated.
13416         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13417         value so it's not diagnosed as unused.
13419         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13420         thing) with "ifeq ($(subdir),rt)".
13422 2014-07-03  Richard Henderson  <rth@redhat.com>
13424         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13425         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13426         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13428         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13429         (math_force_eval): New.
13431         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13432         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13434         * sysdeps/alpha/fpu/s_round.c: Remove file.
13435         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13437         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13438         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13439         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13440         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13441         (_dl_start, print_statistics): Likewise.
13442         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13443         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13445         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13446         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13447         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13448         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13449         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13450         (HP_SMALL_TIMING_AVAIL): Define.
13451         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13452         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13453         (HP_SMALL_TIMING_AVAIL): Define.
13454         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13455         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13457         * sysdeps/aarch64/hp-timing.h: New file.
13459         * sysdeps/generic/hp-timing.h: Remove dead comment.
13460         * sysdeps/generic/hp-timing-common.h: New file.
13461         * sysdeps/alpha/hp-timing.h: Include it.
13462         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13463         * sysdeps/i386/i686/hp-timing.h: Likewise.
13464         * sysdeps/ia64/hp-timing.h: Likewise.
13465         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13466         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13467         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13468         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13469         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13470         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13471         (hp_timing_t): New.
13473         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13474         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13475         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13476         * elf/rtld.c (_dl_start_final): Likewise.
13477         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13478         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13479         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13480         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13481         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13482         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13483         (HP_TIMING_DIFF_INIT): Remove.
13484         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13485         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13486         (HP_TIMING_DIFF_INIT): Remove.
13487         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13488         * sysdeps/i386/i686/hp-timing.c: Remove file.
13489         * sysdeps/x86_64/hp-timing.c: Remove file.
13490         * sysdeps/ia64/hp-timing.c: Remove file.
13491         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13492         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13493         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13494         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13496         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13497         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13498         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13499         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13500         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13501         (HP_TIMING_ACCUM): Remove.
13502         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13503         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13504         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13506         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13507         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13508         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13509         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13510         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13511         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13512         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13513         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13515         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13517 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13519         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13521 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13523         Sync up with gettext.
13524         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13525         [_MSC_VER]: Include malloc.h
13526         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13527         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13528         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13529         TEMP_FAILURE_RETRY.  Cast return of alloca.
13530         [!_LIBC] Call gl_rwlock_init.
13531         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13533 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13535         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13536         before checking its value.
13538 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13540         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13542         * debug/memcpy_chk.c: Don't include pagecopy.h.
13543         * debug/mempcpy_chk.c: Likewise.
13544         * string/memcpy.c: Likewise.
13545         * string/memmove.c: Likewise.
13546         * sysdeps/powerpc/memmove.c: Likewise.
13547         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13548         definition of PAGE_COPY_FWD_MAYBE here...
13549         * sysdeps/generic/pagecopy.h: ... from here.
13550         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13552 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13553             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13555         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13557         optimizations.
13558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13559         (__libc_ifunc_impl_list): Likewise.
13560         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13561         multiarch strcat for PPC64.
13562         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13563         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13565 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13567         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13569 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13571         * intl/loadmsgcat.c: Remove declaration of
13572         get_sysdep_segment_value.
13573         (get_sysdep_segment_value): Use ISO C style.
13574         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13575         semicolon.  Fix typo and formatting in comment.
13576         (_nl_unload_domain): Use ISO C style.
13578         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13580 2014-07-02  Will Newton  <will.newton@linaro.org>
13582         * malloc/obstack.c: Merge from gnulib master.
13583         [HAVE_CONFIG_H]: Remove conditional code.
13584         [!_LIBC]: Include config.h.
13585         [!ELIDE_CODE]: Don't include inttypes.h, include
13586         stdint.h unconditionally.
13587         (print_and_abort): Mark as _Noreturn.
13588         (_obstack_allocated_p): Mark as __attribute_pure__.
13589         (obstack_free): Rename to __obstack_free.
13590         [!__attribute__]: Remove conditional code.
13591         * malloc/obstack.h: Merge from gnulib master.
13592         [__cplusplus]: Move conditional down.
13593         [!__attribute_pure__]: Define __attribute_pure__ here
13594         if it is not already defined.
13595         (_obstack_memory_used): Mark as __attribute_pure__.
13596         [!__obstack_free]: Define as obstack_free.
13597         [__GNUC__]: Remove check for ancient NeXT gcc.
13599 2014-07-02  Will Newton  <will.newton@linaro.org>
13600             Paul Eggert  <eggert@cs.ucla.edu>
13602         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13604 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13606         * resolv/gethnamaddr.c: Add comment warning that the file is
13607         not maintained.
13609 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13611         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13612         entries.
13614         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13615         entry for aio_cancel and aio_cancel64.
13616         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13617         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13618         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13619         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13620         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13621         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13622         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13623         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13624         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13625         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13626         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13627         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13628         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13630 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13632         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13633         * nptl/pthread_mutex_lock.c: Likewise.
13634         * nptl/pthread_mutex_timedlock.c: Likewise.
13635         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13637 2014-07-01  Richard henderson  <rth@redhat.com>
13639         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13640         (__isnan, __isnanl): Remove.
13641         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13643         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13645 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13647         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13649 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13651         * resolv/nss_dns/dns-host.c (getanswer_r)
13652         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13654 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13656         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13657         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13658         undefine.
13659         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13660         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13662 2014-07-01  Roland McGrath <roland@hack.frob.com>
13664         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13665         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13667         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13668         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13670         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13671         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13672         ... here.
13673         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13674         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13676         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13677         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13678         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13679         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13681         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13682         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13683         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13684         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13685         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13686         Moved ...
13687         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13688         ... here.
13689         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13690         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13691         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13692         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13693         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13694         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13695         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13696         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13697         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13698         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13699         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13700         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13701         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13702         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13703         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13704         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13705         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13706         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13707         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13708         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13709         ... here.
13710         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13711         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13712         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13713         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13714         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13715         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13716         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13717         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13719 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13721         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13722         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13723         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13724         Add sysdep.
13726 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13730 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13732         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13733         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13735         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13737         * sysdeps/arm/libm-test-ulps: Regenerated.
13739 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13740             Roland McGrath <roland@hack.frob.com>
13742         * test-skeleton.c (signal_handler): Kill the whole process group
13743         before killing the child individually.
13744         (main): Report any failure on `setpgid'.
13746 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13748         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13749         from _TLS_H to _ARM_NPTL_TLS_H.
13750         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13751         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13753 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13755         [BZ #16539]
13756         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13757         (__expm1l): Return argument unchanged when small but not
13758         subnormal.
13760         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13761         include macro name.
13762         (_FP_UNPACK_RAW_1_P): Likewise.
13763         (_FP_PACK_RAW_1): Likewise.
13764         (_FP_PACK_RAW_1_P): Likewise.
13765         (_FP_MUL_MEAT_1_wide): Likewise.
13766         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13767         (_FP_MUL_MEAT_1_hard): Likewise.
13768         (_FP_DIV_MEAT_1_imm): Likewise.
13769         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13770         (_FP_DIV_MEAT_1_udiv): Likewise.
13771         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13772         (_FP_UNPACK_RAW_2): Likewise.
13773         (_FP_UNPACK_RAW_2_P): Likewise.
13774         (_FP_PACK_RAW_2): Likewise.
13775         (_FP_PACK_RAW_2_P): Likewise.
13776         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13777         (_FP_MUL_MEAT_2_wide): Likewise.
13778         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13779         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13780         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13781         (_FP_MUL_MEAT_2_gmp): Likewise.
13782         (_FP_DIV_MEAT_2_udiv): Likewise.
13783         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13784         (_FP_FRAC_SRL_4): Likewise.
13785         (_FP_FRAC_SRST_4): Likewise.
13786         (_FP_FRAC_SRS_4): Likewise.
13787         (_FP_UNPACK_RAW_4): Likewise.
13788         (_FP_UNPACK_RAW_4_P): Likewise.
13789         (_FP_PACK_RAW_4): Likewise.
13790         (_FP_PACK_RAW_4_P): Likewise.
13791         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13792         (_FP_MUL_MEAT_4_wide): Likewise.
13793         (_FP_MUL_MEAT_4_gmp): Likewise.
13794         (umul_ppppmnnn): Likewise.
13795         (_FP_DIV_MEAT_4_udiv): Likewise.
13796         (__FP_FRAC_ADD_4): Likewise.
13797         (__FP_FRAC_SUB_3): Likewise.
13798         (__FP_FRAC_SUB_4): Likewise.
13799         (__FP_FRAC_DEC_3): Likewise.
13800         (__FP_FRAC_DEC_4): Likewise.
13801         (__FP_FRAC_ADDI_4): Likewise.
13802         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13803         (_FP_FRAC_SRL_8): Likewise.
13804         (_FP_FRAC_SRS_8): Likewise.
13806         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13807         include macro name.
13808         (FP_UNPACK_RAW_EP): Likewise.
13809         (FP_PACK_RAW_E): Likewise.
13810         (FP_PACK_RAW_EP): Likewise.
13811         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13812         (_FP_ISSIGNAN): Likewise.
13813         (_FP_ADD_INTERNAL): Likewise.
13814         (_FP_FMA): Likewise.
13815         (_FP_CMP): Likewise.
13816         (_FP_SQRT): Likewise.
13817         (_FP_TO_INT): Likewise.
13818         (_FP_FROM_INT): Likewise.
13819         (FP_EXTEND): Likewise.
13820         (_FP_DIV_MEAT_N_loop): Likewise.
13822 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13824         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13825         throughout.
13827 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13829         [BZ #17097]
13830         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13831         result with correct sign in case of exponents that produce
13832         overflow except for X very close to 1.
13834 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13836         mktime: merge #if/#ifdef usage from glibc
13837         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13838         as that works with both Glibc's and Gnulib's style.
13839         See thread starting at Siddhesh Poyarekar's bug report at:
13840         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13842 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13844         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13845         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13846         * sysdeps/tile/tilegx/memmove.c: Remove file.
13848 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13850         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13851         abi-name definition.
13852         * scripts/soversions.awk: Do not handle or generate ABI lines.
13853         * shlib-versions: Remove ABI entries.
13854         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13855         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13857 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13860         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13861         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13862         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13864         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13866         Moved ...
13867         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13868         ... here.
13869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13870         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13872         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13873         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13874         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13876         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13878         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13880         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13882         Moved ...
13883         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13885         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13887         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13889         Moved ...
13890         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13892         Moved ...
13893         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13895         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13897         Moved ...
13898         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13900         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13902         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13904         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13906         Moved ...
13907         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13909         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13910         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13911         Moved ...
13912         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13914         Moved ...
13915         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13917         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13918         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13919         Moved ...
13920         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13921         ... here.
13922         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13923         Identical file removed.
13924         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13925         Moved ...
13926         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13928         Identical file removed.
13929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13930         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13932         Moved ...
13933         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13934         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13935         Identical file removed.
13936         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13937         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13938         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13939         Identical file removed.
13940         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13941         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13942         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13943         Identical file removed.
13944         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13945         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13947         Identical file removed.
13948         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13949         Moved ...
13950         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13951         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13952         Identical file removed.
13953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13954         Moved ...
13955         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13957         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13959         Identical file removed.
13960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13961         Moved ...
13962         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13963         ... here.
13964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13965         Identical file removed.
13966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13967         Moved ...
13968         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13970         Identical file removed.
13971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13972         Moved ...
13973         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13974         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13975         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13977         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13979         Moved ...
13980         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13981         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13982         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13984         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13985         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13986         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13987         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13988         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13990 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13992         [BZ #17092]
13993         * nscd/nscd.c (monitor_child): Return exit status of child
13994         instead of return value from wait syscall.
13996 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13998         * configure.ac (libc_commonpagesize): Remove variable.
13999         (libc_relro_required): Likewise.
14000         (libc_cv_z_relro): Remove configure test.
14001         * configure: Regenerated.
14002         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14003         variable.
14004         (libc_relro_required): Likewise.
14005         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14006         (libc_relro_required): Likewise.
14007         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14008         (libc_relro_required): Likewise.
14009         * sysdeps/arm/preconfigure: Regenerated.
14010         * sysdeps/ia64/preconfigure: Remove file.
14011         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14012         variable.
14013         (libc_relro_required): Likewise.
14015         [BZ #16561]
14016         [BZ #16562]
14017         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14018         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14019         recompute overflowing results in original rounding mode.
14020         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14021         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14022         recompute overflowing results in original rounding mode.
14023         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14024         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14025         recompute overflowing results in original rounding mode.
14026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14027         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14028         recompute overflowing results in original rounding mode.
14029         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14030         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14031         recompute overflowing results in original rounding mode.
14032         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14033         (libc_feholdsetround_ctx): New macro.
14034         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14035         * sysdeps/i386/fpu/libm-test-ulps: Update.
14036         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14038 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14040         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14041         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14042         corresponding .cpsetup call.
14044 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14046         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14047         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14048         * sysdeps/arm/Makefile [$(subdir) = csu]
14049         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14050         (static-only-routines): Add aeabi_read_tp here.
14051         (shared-only-routines): Add libc-aeabi_read_tp here.
14052         (CFLAGS-libc-start.c): Add -fexceptions here.
14053         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14054         (sysdep_routines, static-only-routines, shared-only-routines):
14055         Don't add to these here.
14056         (CFLAGS-libc-start.c): Likewise.
14058         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14059         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14060         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14061         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14062         * sysdeps/arm/Makefile [$(subdir) = rt]
14063         (librt-sysdep_routines, librt-shared-only-routines):
14064         Append rt-aeabi_unwind_cpp_pr1 here.
14065         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14066         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14067         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14068         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14069         Append nptl-aeabi_unwind_cpp_pr1 here.
14070         (tests): Filter out tst-cleanupx4 here.
14071         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14072         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14073         Don't do those here.
14075 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14077         * scripts/list-sources.sh: Do not handle ports specially.
14079 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14081         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14082         * sysdeps/arm/feupdateenv.c: Likewise.
14084         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14086 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14088         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14089         trailing whitespace removed.
14090         * scripts/config.guess: Update to version 2014-03-23.
14091         * scripts/config.sub: Update to version 2014-05-01
14092         * scripts/install-sh: Update to version 2013-12-25.23.
14093         * scripts/move-if-change: Update from gnulib.
14095 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14097         * debug/memmove_chk.c: Remove pagecopy.h include.
14099 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14101         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14102         identical to gnulib mktime.
14104 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14106         * configure.ac: Do not test for machine being rs6000.  Do not test
14107         for powerpc*-*soft.
14108         * configure: Regenerated.
14110         [BZ #11505]
14111         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14112         test.
14113         * configure: Regenerated.
14114         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14115         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14116         Remove configure test.
14117         * sysdeps/arm/configure: Regenerated.
14118         * sysdeps/nptl/configure.ac: Do not check
14119         libc_cv_asm_cfi_directives.
14120         * sysdeps/nptl/configure: Regenerated.
14121         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14122         * sysdeps/x86_64/nptl/configure: Remove generated file.
14123         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14124         unconditional.
14125         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14127 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14129         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14130         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14131         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14132         it is defined.
14134         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14135         instead of whether it is defined.
14136         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14137         * sysdeps/hppa/dl-machine.h: Likewise.
14138         * sysdeps/ia64/dl-machine.h: Likewise.
14139         * sysdeps/m68k/dl-machine.h: Likewise.
14140         * sysdeps/microblaze/dl-machine.h: Likewise.
14141         * sysdeps/mips/dl-machine.: Likewise.
14142         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14143         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14144         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14145         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14146         * sysdeps/sh/dl-machine.h: Likewise.
14147         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14148         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14149         * sysdeps/tile/dl-machine.h: Likewise.
14150         * sysdeps/x86_64/dl-machine.h: Likewise.
14152         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14153         code.
14154         (verify_persistent_db): Likewise.
14156 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14159         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14161         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14163         Moved ...
14164         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14165         ... here.
14166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14167         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14169         Identical file removed.
14170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14171         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14173         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14175         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14177         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14179         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14181         Moved ...
14182         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14184         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14186         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14188         Moved ...
14189         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14191         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14193         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14195         Identical file removed.
14196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14197         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14199         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14201         Moved ...
14202         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14203         ... here.
14204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14207         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14209         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14211         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14213         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14215         Moved ...
14216         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14218         Moved ...
14219         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14221         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14223         Moved ...
14224         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14226         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14228         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14229         folded into ...
14230         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14231         * sysdeps/unix/sysv/linux/s390/Versions
14232         (libpthread: GLIBC_2.19): New version set.
14233         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14234         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14235         (librt: GLIBC_2.3.3): New version set.
14236         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14237         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14238         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14239         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14240         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14241         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14242         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14243         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14244         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14245         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14246         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14247         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14248         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14249         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14250         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14251         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14252         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14253         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14254         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14255         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14256         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14257         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14258         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14259         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14260         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14261         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14262         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14263         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14264         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14265         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14266         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14267         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14268         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14269         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14270         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14271         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14272         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14273         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14274         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14275         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14276         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14278         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14280         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14282         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14283         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14284         (__libc_vfork): Define the function under this name.
14285         [!NOT_IN_libc] (__vfork): Make this an alias.
14286         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14288         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14289         (__libc_vfork): Define the function under this name.
14290         [!NOT_IN_libc] (__vfork): Make this an alias.
14291         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14292         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14293         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14295         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14296         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14298         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14299         code that was previously under [RESET_PID].
14300         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14301         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14304         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14305         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14306         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14307         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14308         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14309         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14310         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14311         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14312         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14313         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14314         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14315         Moved ...
14316         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14317         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14318         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14319         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14320         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14321         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14322         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14323         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14324         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14325         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14326         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14327         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14328         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14329         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14330         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14331         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14332         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14333         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14334         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14335         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14336         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14337         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14338         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14339         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14340         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14341         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14342         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14343         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14344         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14346 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14348         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14349         that was previously under [RESET_PID].
14350         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14352 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14354         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14355         not undefine and redefine.
14356         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14357         [O_CLOEXEC]: Make code unconditional.
14358         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14359         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14360         <kernel-features.h>.
14361         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14362         conditional variable definition.
14363         (shm_open) [O_CLOEXEC]: Make code unconditional.
14364         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14365         code.
14367         * configure.ac (USE_REGPARMS): Don't define here.
14368         * configure: Regenerated.
14369         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14370         * sysdeps/i386/configure: Regenerated.
14372         * nptl/createthread.c: Don't include kernel-features.h.
14373         * nptl/pthread_cancel.c: Likewise.
14374         * nptl/pthread_condattr_setclock.c: Likewise.
14375         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14376         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14377         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14378         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14379         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14380         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14381         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14384         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14385         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14386         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14387         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14388         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14389         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14390         * nscd/gai.c: Likewise.
14391         * nss/nss_db/db-open.c: Likewise.
14392         * sysdeps/generic/ldsodefs.h: Likewise.
14393         * sysdeps/sh/nptl/tls.h: Likewise.
14394         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14395         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14396         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14397         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14398         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14399         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14400         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14401         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14402         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14403         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14404         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14405         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14406         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14407         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14408         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14409         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14410         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14411         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14412         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14413         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14415         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14416         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14417         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14418         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14419         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14420         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14422         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14423         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14424         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14425         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14426         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14427         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14428         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14429         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14430         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14431         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14432         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14433         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14434         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14435         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14436         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14437         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14438         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14439         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14440         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14441         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14442         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14443         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14444         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14445         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14446         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14447         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14448         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14449         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14450         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14451         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14474         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14475         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14476         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14477         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14478         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14479         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14480         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14481         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14482         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14483         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14484         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14485         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14486         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14487         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14488         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14489         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14490         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14491         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14492         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14493         * sysdeps/unix/sysv/linux/system.c: Likewise.
14494         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14495         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14496         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14497         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14498         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14499         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14500         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14502         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14503         * configure: Regenerated.
14504         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14506         * configure.ac (base_machine): Do not set specially for particular
14507         machines here.
14508         * configure: Regenerated.
14509         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14510         settings from configure.ac.
14511         * sysdeps/i386/preconfigure: New file.
14512         * sysdeps/s390/preconfigure: Likewise.
14513         * sysdeps/sh/preconfigure: Likewise.
14514         * sysdeps/sparc/preconfigure: Likewise.
14516 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14518         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14519         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14520         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14521         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14522         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14523         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14524         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14525         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14526         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14527         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14528         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14529         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14530         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14531         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14532         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14533         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14534         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14535         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14536         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14538         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14539         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14540         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14541         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14542         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14543         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14544         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14545         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14546         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14547         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14548         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14549         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14550         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14551         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14552         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14553         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14554         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14555         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14556         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14557         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14558         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14559         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14560         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14561         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14562         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14563         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14564         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14565         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14566         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14567         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14568         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14569         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14570         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14571         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14572         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14573         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14574         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14575         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14578         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14580         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14582         Moved ...
14583         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14584         ... here.
14585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14586         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14588         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14590         Moved ...
14591         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14593         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14595         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14597         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14599         Moved ...
14600         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14602         Moved ...
14603         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14605         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14607         Moved ...
14608         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14610         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14612         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14614         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14616         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14618         Moved ...
14619         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14620         ... here.
14621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14622         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14624         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14626         Moved ...
14627         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14629         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14631         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14633         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14635         Moved ...
14636         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14638         Moved ...
14639         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14641         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14643         Moved ...
14644         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14646         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14648         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14650 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14652         * timezone/checktab.awk: Update from tzcode 2014e.
14653         * timezone/private.h: Likewise.
14654         * timezone/tzfile.h: Likewise.
14655         * timezone/zdump.c: Likewise.
14656         * timezone/zic.c: Likewise.
14658         * sysdeps/unix/sysv/linux/kernel-features.h
14659         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14660         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14661         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14662         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14663         Remove conditional code.
14665 2014-06-25  Will Newton  <will.newton@linaro.org>
14667         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14668         (_dl_arm_cap_flags): Add HWCAP2 values.
14669         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14670         (_DL_HWCAP_COUNT): Increase to 37.
14671         (_DL_HWCAP_LAST): New define.
14672         (_DL_HWCAP2_LAST): New define.
14673         (_dl_procinfo): Add support for printing
14674         AT_HWCAP2 entries.
14675         (_dl_string_hwcap): Use _dl_hwcap_string.
14677 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14681 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14683         * README: Do not mention ports directory.
14685         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14686         Remove macro.
14687         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14688         <kernel-features.h>.
14689         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14690         conditional variable definition.
14691         (__futimes): Update comment.
14692         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14693         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14695         [BZ #16560]
14696         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14697         arguments close to 0.
14698         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14699         Likewise.
14700         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14701         Likewise.
14702         * math/auto-libm-test-in: Add more tests of exp10.
14703         * math/auto-libm-test-out: Regenerated.
14704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14706         * sysdeps/unix/sysv/linux/kernel-features.h
14707         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14708         * sysdeps/unix/sysv/linux/readv.c: Do not include
14709         <kernel-features.h>.
14710         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14711         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14712         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14713         unconditional.
14714         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14715         conditional code.
14716         * sysdeps/unix/sysv/linux/writev.c: Do not include
14717         <kernel-features.h>.
14718         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14719         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14720         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14721         unconditional.
14722         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14723         conditional code.
14725 2014-06-25  Will Newton  <will.newton@linaro.org>
14727         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14728         comment changes throughout the file.  Remove checks
14729         for HAVE_*_H definitions that are not required.
14730         (__gen_tempname): Call abort if an unknown kind value is
14731         passed.
14733 2014-06-25  Andreas Schwab  <schwab@suse.de>
14735         [BZ #17086]
14736         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14737         scalbln, scalblnf, scalblnl in libc.
14739 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14741         [BZ #17086]
14742         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14743         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14744         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14746 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14748         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14749         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14750         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14751         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14752         Update #include.
14753         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14754         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14755         Update #include.
14756         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14757         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14758         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14759         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14760         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14761         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14762         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14763         * sysdeps/x86/bits/semaphore.h: ... here.
14764         * sysdeps/x86/nptl/elide.h: Moved ...
14765         * sysdeps/x86/elide.h: ... here.
14766         * sysdeps/x86_64/nptl/Implies: File removed.
14767         * sysdeps/i386/nptl/Implies: File removed.
14769 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14771         [BZ #16539]
14772         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14773         return the argument for normal arguments with exponent below -64.
14774         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14775         Likewise.
14776         * math/auto-libm-test-in: Add another test of expm1.
14777         * math/auto-libm-test-out: Regenerated.
14779         [BZ #16287]
14780         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14781         calling __erfcl for arguments at least 16.
14782         * math/auto-libm-test-in: Add more tests of erf.
14783         * math/auto-libm-test-out: Regenerated.
14785         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14786         individual architectures.
14787         * sysdeps/unix/sysv/linux/configure: Regenerated.
14788         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14789         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14790         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14791         (ldd_rewrite_script): Define variable.
14792         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14794         file.
14795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14796         generated file.
14797         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14798         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14799         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14800         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14801         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14802         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14803         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14804         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14806 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14808         [BZ #17084]
14809         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14810         Rename member __data.d to __data.__elision_data.
14812 2014-06-24  Wilco  <wdijkstr@arm.com>
14814         * NEWS: Add 16918 to fixed bug list.
14816 2014-06-24  Wilco  <wdijkstr@arm.com>
14818         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14820 2014-06-24  Wilco  <wdijkstr@arm.com>
14822         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14823         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14824         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14825         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14826         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14827         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14828         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14829         Use _FPU_MASK_RM.
14831 2014-06-24  Wilco  <wdijkstr@arm.com>
14833         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14835 2014-06-24  Wilco  <wdijkstr@arm.com>
14837         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14838         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14839         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14840         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14842 2014-06-24  Wilco  <wdijkstr@arm.com>
14844         [BZ #16918]
14845         * sysdeps/arm/feupdateenv.c (feupdateenv):
14846         Rewrite to reduce FPSCR accesses and fix return value.
14848 2014-06-24  Wilco  <wdijkstr@arm.com>
14850         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14851         Optimize to avoid unnecessary FPSCR writes.
14852         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14853         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14854         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14855         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14857 2014-06-24  Wilco  <wdijkstr@arm.com>
14859         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14860         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14861         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14862         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14863         Call libc_fetestexcept_vfp.
14864         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14865         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14866         __SOFTFP__ ifdef so that they can be built for softfp.
14868 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14870         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14871         argument type signed char.
14873         * Makerules (check-abi): Dump diff of symlist if the test
14874         fails.
14876 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14878         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14879         using abort.
14881         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14882         Remove unused variable ST.
14884 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14886         [BZ #16354]
14887         [BZ #17061]
14888         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14889         small arguments before calling __expm1.
14890         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14891         small arguments before calling __expm1f.
14892         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14893         small arguments before calling __expm1l.
14894         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14895         Likewise.
14896         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14897         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14898         spurious underflow for some cosh tests.
14899         * math/auto-libm-test-out: Regenerated.
14900         * sysdeps/i386/fpu/libm-test-ulps: Update.
14902         [BZ #17050]
14903         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14904         (__ieee754_y1): Set errno if return value overflows.
14905         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14906         (__ieee754_y1f): Set errno if return value overflows.
14907         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14908         (__ieee754_y1l): Set errno if return value overflows.
14909         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14910         (__ieee754_y1l): Set errno if return value overflows.
14911         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14912         * math/auto-libm-test-out: Regenerated.
14914         * math/gen-auto-libm-tests.c: Document use of
14915         ignore-zero-inf-sign.
14916         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14917         (input_flags): Add ignore-zero-inf-sign.
14918         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14919         * math/gen-libm-test.pl (generate_testfile): Handle
14920         ignore-zero-inf-sign.
14921         * math/auto-libm-test-in: Mark some cpow tests with
14922         ignore-zero-inf-sign and some with xfail-rounding.
14923         * math/auto-libm-test-out: Regenerated.
14924         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14925         * sysdeps/i386/fpu/libm-test-ulps: Update.
14926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928         [BZ #16315]
14929         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14930         overflowing or underflowing operations take place with sign of
14931         result.
14932         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14933         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14934         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14935         (__ieee754_pow): Recompute overflowing and underflowing results in
14936         original rounding mode.
14937         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14938         (__powl_helper): Allow negative argument X and scale negated value
14939         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14940         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14941         overflowing or underflowing operations take place with sign of
14942         result.
14943         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14944         Include <math.h>.
14945         * math/auto-libm-test-in: Add more tests of pow.
14946         * math/auto-libm-test-out: Regenerated.
14947         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14948         (pow_tonearest_test_data): Remove.
14949         (pow_test_tonearest): Likewise.
14950         (pow_towardzero_test_data): Likewise.
14951         (pow_test_towardzero): Likewise.
14952         (pow_downward_test_data): Likewise.
14953         (pow_test_downward): Likewise.
14954         (pow_upward_test_data): Likewise.
14955         (pow_test_upward): Likewise.
14956         (main): Don't call removed functions.
14957         * sysdeps/i386/fpu/libm-test-ulps: Update.
14958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14960 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14963         Moved ...
14964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14966         Moved ...
14967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14969         Moved ...
14970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14972         Moved ...
14973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14975         File removed.
14976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14977         File removed.
14978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14979         File removed.
14980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14981         File removed.
14982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14983         File removed.
14984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14985         File removed.
14986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14987         File removed.
14988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14989         File removed.
14990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14991         File removed.
14992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14993         File removed.
14994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14995         File removed.
14996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14997         File removed.
14998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14999         Moved ...
15000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15002         Moved ...
15003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15004         ... here.
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15006         Moved ...
15007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15009         Moved ...
15010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15012         Moved ...
15013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15015         Moved ...
15016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15018         Moved ...
15019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15021         Moved ...
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15024         Moved ...
15025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15028         ... here.
15029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15030         Moved ...
15031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15033         Moved ...
15034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15035         ... here.
15036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15037         Moved ...
15038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15039         ... here.
15040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15041         Moved ...
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15043         ... here.
15044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15045         Moved ...
15046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15048         Moved ...
15049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15053         Moved ...
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15055         ... here.
15056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15057         Moved ...
15058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15059         ... here.
15060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15061         Moved ...
15062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15064         Moved ...
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15067         Moved ...
15068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15070         Moved ...
15071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15073         Moved ...
15074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15075         ... here.
15076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15077         Moved ...
15078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15080         Moved ...
15081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15083         Moved ...
15084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15086         Moved ...
15087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15091         Moved ...
15092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15094         Moved ...
15095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15097         Moved ...
15098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15099         ... here.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15101         Moved ...
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15103         ... here.
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15105         Moved ...
15106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15107         ... here.
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15109         Moved ...
15110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15112         Moved ...
15113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15115         Moved ...
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15118         Moved ...
15119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15120         ... here.
15121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15122         Moved ...
15123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15124         ... here.
15125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15126         Moved ...
15127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15128         ... here.
15129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15130         Moved ...
15131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15133         Moved ...
15134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15136 2014-06-23  Will Newton  <will.newton@linaro.org>
15137             Wilco  <wdijkstr@arm.com>
15139         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15140         implementation.  Include get-rounding-mode.h.
15141         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15142         [!libc_feholdsetround_noex_ctx]: Define
15143         libc_feholdsetround_noex_ctx.
15144         [!libc_feholdsetround_noexf_ctx]: Define
15145         libc_feholdsetround_noexf_ctx.
15146         [!libc_feholdsetround_noexl_ctx]: Define
15147         libc_feholdsetround_noexl_ctx.
15148         (libc_feholdsetround_ctx): New function.
15149         (libc_feresetround_ctx): New function.
15150         (libc_feholdsetround_noex_ctx): New function.
15151         (libc_feresetround_noex_ctx): New function.
15153 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15155         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15156         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15157         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15158         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15159         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15160         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15162         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15163         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15164         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15165         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15166         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15167         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15169         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15171         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15173         Moved ...
15174         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15175         ... here.
15176         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15177         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15178         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15179         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15180         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15181         Moved ...
15182         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15183         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15184         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15186         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15188         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15189         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15190         Moved ...
15191         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15193         Moved ...
15194         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15195         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15196         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15197         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15198         Moved ...
15199         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15200         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15201         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15202         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15203         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15204         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15205         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15206         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15207         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15209         Moved ...
15210         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15211         ... here.
15212         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15213         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15215         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15216         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15217         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15218         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15219         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15220         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15221         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15222         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15223         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15225         Moved ...
15226         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15227         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15228         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15230         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15232         Moved ...
15233         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15234         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15235         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15236         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15237         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15239         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15240         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15241         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15242         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15243         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15244         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15245         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15246         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15248         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15249         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15250         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15251         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15252         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15253         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15254         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15255         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15256         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15257         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15258         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15259         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15260         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15261         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15262         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15263         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15264         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15265         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15266         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15268 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15270         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15271         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15272         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15273         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15274         (IPV6_PMTUDISC_INTERFACE): Likewise.
15275         (IPV6_PMTUDISC_OMIT): Likewise.
15277 2014-06-23  Andreas Schwab  <schwab@suse.de>
15279         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15280         Remove unused errout label.
15282 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15284         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15285         macro: hardware supports Vector Crypto instructions.
15287 2014-06-23  Will Newton  <will.newton@linaro.org>
15289         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15290         rather than __builtin_expect.
15292         * elf/dl-lookup.c (undefined_msg): Remove variable.
15293         (_dl_lookup_symbol_x): Replace undefined_msg with string
15294         literal.
15296         * elf/dl-lookup.c (do_lookup_unique): New function.
15297         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15298         to a separate function.
15300 2014-06-23  Andreas Schwab  <schwab@suse.de>
15302         [BZ #17079]
15303         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15304         before reading the next line.
15306 2014-06-23  Will Newton  <will.newton@linaro.org>
15308         * test-skeleton.c (signal_handler): Use printf and %m
15309         rather than perror.  Use printf rather than fprintf to
15310         stderr.  Use puts rather than fputs to stderr.
15311         (main): Likewise.
15313 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15315         * nscd/nscd.c (thread_info_t): Remove typedef.
15316         (thread_info): Remove variable.
15318 2014-06-21  Allan McRae  <allan@archlinux.org>
15320         * NEWS: Mention CVE-2014-4043.
15322 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15324         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15325         * nptl/smp.h: ... here.
15327         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15329         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15330         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15331         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15332         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15334         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15335         * nptl/stack-aliasing.h: New file.
15336         * sysdeps/i386/i686/stack-aliasing.h: New file.
15337         * sysdeps/i386/i686/nptl/Makefile: File removed.
15338         * sysdeps/x86_64/stack-aliasing.h: New file.
15339         * sysdeps/x86_64/nptl/Makefile
15340         (CFLAGS-pthread_create.c): Variable removed.
15342         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15343         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15344         old file.
15345         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15346         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15347         old file.
15349 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15351         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15352         (__ASSUME_SIGFRAME_V2): Remove macro.
15353         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15354         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15355         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15356         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15357         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15358         Declare as function.  Remove conditional macro definitions.
15359         (__default_rt_sa_restorer): Likewise.
15360         (__default_sa_restorer_v1): Remove declaration.
15361         (__default_sa_restorer_v2): Likewise.
15362         (__default_rt_sa_restorer_v1): Likewise.
15363         (__default_rt_sa_restorer_v2): Likewise.
15364         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15365         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15366         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15368 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15370         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15371         (libpthread-routines): Add sysdep.
15372         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15373         * sysdeps/unix/sysv/linux/sparc/Versions
15374         (libpthread: GLIBC_2.3.3): New version set.
15375         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15376         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15377         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15378         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15379         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15380         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15381         Moved ...
15382         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15383         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15384         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15385         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15386         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15387         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15388         * sysdeps/sparc/nptl/sem_init.c: ... here.
15389         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15390         * sysdeps/sparc/nptl/sem_post.c: ... here.
15391         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15392         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15393         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15394         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15395         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15396         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15397         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15398         (libpthread-routines): Add cpu_relax.
15399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15400         File removed.
15401         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15402         (librt: GLIBC_2.3.3): New version set.
15403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15404         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15405         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15406         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15409         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15411         Moved ...
15412         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15414         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15416         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15418         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15420         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15422         Moved ...
15423         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15424         Update #include.
15425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15426         Moved ...
15427         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15428         Update #include.
15429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15430         Moved ...
15431         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15432         Update #include.
15433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15434         Moved ...
15435         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15436         Update #include.
15437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15438         Moved ...
15439         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15440         Update #include.
15441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15442         Moved ...
15443         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15444         Update #include.
15445         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15446         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15448         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15450         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15452         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15454         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15456         Moved ...
15457         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15459         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15461         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15463 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15465         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15466         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15467         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15468         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15469         * nscd/nscd.c: Likewise.
15470         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15471         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15472         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15473         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15475         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15476         <kernel-features.h>.
15477         (init_mq_netlink): Remove conditional have_sock_cloexec
15478         definitions.  Remove code conditional on have_sock_cloexec < 0.
15479         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15480         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15481         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15482         <kernel-features.h>.
15483         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15484         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15486 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15489         Add tests for memset_chk and memset.
15491         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15492         with AVX2_Usable.
15494 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15496         [BZ #16046]
15497         * elf/tst-dl-iter-static.c: New file.
15498         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15500         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15501         error.
15503 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15505         * sysdeps/unix/sysv/linux/kernel-features.h
15506         (__ASSUME_F_GETOWN_EX): Remove macro.
15507         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15508         <kernel-features.h>.
15509         (miss_F_GETOWN_EX): Remove variable or macro.
15510         (do_fcntl): Do not check miss_F_GETOWN_EX.
15511         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15513         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15514         Remove macro.
15515         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15516         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15517         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15519         * sysdeps/unix/sysv/linux/kernel-features.h
15520         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15521         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15522         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15523         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15525 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15527         [BZ #17075]
15528         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15529         Fix calculation of the symbol's value.
15530         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15531         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15532         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15533         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15534         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15535         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15536         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15537         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15538         (modules-names): Add `tst-armtlsdescmod',
15539         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15540         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15541         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15542         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15543         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15544         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15545         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15546         ($(objpfx)tst-armtlsdescloc): New dependency.
15547         ($(objpfx)tst-armtlsdescextnow): Likewise.
15548         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15549         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15550         TLS scheme support.
15551         * sysdeps/arm/configure: Regenerate.
15553 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15555         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15556         (__atfct_seterrno_2): Likewise.
15557         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15558         <kernel-features.h>.
15559         (__ASSUME_ATFCTS): Do not undefine and redefine.
15560         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15561         (__have_atfcts): Remove conditional definition.
15562         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15563         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15564         unreachable if [__ASSUME_ATFCTS].
15565         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15566         not undefine and redefine.
15567         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15568         <kernel-features.h>.
15569         (faccessat) [__NR_faccessat]: Make code unconditional.
15570         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15571         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15572         <kernel-features.h>.
15573         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15574         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15575         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15576         <kernel-features.h>.
15577         (fchownat) [__NR_fchownat]: Make code unconditional.
15578         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15579         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15580         <kernel-features.h>.
15581         (futimesat) [__NR_futimesat]: Make code unconditional.
15582         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15583         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15584         <kernel-features.h>.
15585         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15586         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15587         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15588         <kernel-features.h>.
15589         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15590         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15591         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15592         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15593         <kernel-features.h>.
15594         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15595         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15596         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15597         <kernel-features.h>.
15598         (linkat) [__NR_linkat]: Make code unconditional.
15599         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15600         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15601         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15602         <kernel-features.h>.
15603         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15604         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15605         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15606         <kernel-features.h>.
15607         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15608         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15609         * sysdeps/unix/sysv/linux/openat.c: Do not include
15610         <kernel-features.h>.
15611         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15612         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15613         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15614         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15615         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15616         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15617         <kernel-features.h>.
15618         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15619         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15620         result of INLINE_SYSCALL directly, not via int variable.
15621         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15622         <kernel-features.h>.
15623         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15624         (renameat) [__NR_renameat]: Make code unconditional.
15625         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15626         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15627         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15628         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15629         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15630         (__ASSUME_ATFCTS): Do not undefine and redefine.
15631         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15632         <kernel-features.h>.
15633         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15634         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15635         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15636         <kernel-features.h>.
15637         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15638         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15639         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15640         (__ASSUME_ATFCTS): Do not undefine and redefine.
15641         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15642         <kernel-features.h>.
15643         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15644         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15645         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15646         <kernel-features.h>.
15647         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15648         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15650 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15652         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15654 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15656         [BZ #17069]
15657         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15658         constructed tree before returning error.
15659         * posix/bug-regexp36.c: Expand test case.
15661 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15663         [BZ #6803]
15664         * math/libm-test.inc (scalbln_test_date):
15665         Add errno expectations.
15666         * math/w_scalblnf.c: New File.
15667         Add wrapper which checks for setting errno to ERANGE.
15668         Add weak_alias for corresponding scalbln function.
15669         * math/w_scalbln.c: Likewise.
15670         * math/w_scalblnl.c: Likewise.
15671         * math/Makefile (libm-calls): Add w_scalbln.
15672         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15673         Remove weak_alias for corresponding scalbln function.
15674         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15675         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15676         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15677         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15678         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15679         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15680         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15681         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15682         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15683         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15684         Remove long_double_symbol for scalblnl function in libm, libc.
15685         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15686         Add wrapper which checks for setting errno to ERANGE.
15687         Add long_double_symbol for scalblnl function in libm, libc.
15688         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15689         Remove long_double_symbol for scalblnl in libm.
15690         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15691         Add wrapper which checks for setting errno to ERANGE.
15692         Add long_double_symbol for scalblnl function in libm.
15693         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15694         Do not use wrapper because of own implementation.
15696 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15698         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15699         3 bytes for __pad1 for x32.
15700         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15702 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15703             H.J. Lu  <hongjiu.lu@intel.com>
15705         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15706         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15707         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15708         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15709         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15711 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15713         [BZ #17069]
15714         * posix/regcomp.c (parse_expression): Deallocate partially
15715         constructed tree before returning error.
15716         * posix/Makefile.c (tests): Add bug-regex36.
15717         (generated): Add bug-regex36.mtrace.
15718         (tests-special): Add $(objpfx)bug-regex36-mem.out
15719         (bug-regex36-ENV): New variable.
15720         ($(objpfx)bug-regex36-mem.out): New rule.
15721         * posix/bug-regex36.c: New file.
15723 2014-06-19  Will Newton  <will.newton@linaro.org>
15725         * malloc/malloc.c (systrim): If extra is zero then return
15726         early.
15728 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15730         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15732 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15734         * sysdeps/aarch64/strchr.S: New file.
15736 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15738         [BZ #17022]
15739         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15740         from arguments -2 or below.
15741         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15742         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15744 2014-06-18  Andreas Schwab  <schwab@suse.de>
15746         [BZ #17062]
15747         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15748         of a bracket expr not to run off the end of the string.
15749         * posix/Makefile (tests): Add tst-fnmatch3.
15750         * posix/tst-fnmatch3.c: New file.
15752 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15754         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15755         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15756         [$(cross-compiling) = no]: Likewise.
15757         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15758         [$(cross-compiling) = no]: Likewise.
15760 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15762         [BZ #17031]
15763         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15764         double, adjusted for any remainder from the high double.
15765         * math/libm-test.inc (nearbyint): Add tests.
15766         (rint): Likewise.
15768 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15770         * nptl/sysdeps/powerpc/Makefile: Moved ...
15771         * sysdeps/powerpc/nptl/Makefile: ... here.
15772         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15773         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15774         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15775         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15776         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15777         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15778         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15779         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15780         * nptl/sysdeps/powerpc/tls.h: Moved ...
15781         * sysdeps/powerpc/nptl/tls.h: ... here.
15783 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15785         [BZ #16681]
15786         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15787         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15788         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15789         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15790         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15791         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15792         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15793         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15794         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15796 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15798         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15800 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15802         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15803         defined operator.
15805         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15806         $TIMEOUTFACTOR.
15808 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15810         [BZ #17058]
15811         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15812         non-executed part of the test.
15814 2014-06-16  Andreas Schwab  <schwab@suse.de>
15816         * string/bits/string2.h (strdup, strndup): Update feature guard.
15818 2014-06-14  David S. Miller  <davem@davemloft.net>
15820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15822 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15824         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15825         that was previously under [RESET_PID].
15826         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15828         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15829         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15830         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15831         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15832         (__libc_vfork): New strong alias.
15833         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15835 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15837         * sysdeps/generic/elide.h: New file.
15839 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15841         * Makefile (installed-headers): Adjust path of pthread.h header.
15843 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15845         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15846         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15847         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15848         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15850         * nptl/sysdeps/s390/Makefile: Moved ...
15851         * sysdeps/s390/nptl/Makefile: ... here.
15852         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15853         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15854         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15855         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15856         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15857         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15858         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15859         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15860         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15861         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15862         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15863         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15864         * nptl/sysdeps/s390/tls.h: Moved ...
15865         * sysdeps/s390/nptl/tls.h: ... here.
15867         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15868         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15870 2014-06-13  David S. Miller  <davem@davemloft.net>
15872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15875         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15879         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15880         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15881         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15882         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15883         Remove RESET_PID cpp guards.
15884         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15885         Remove RESET_PID cpp guards.
15886         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15888 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15890         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15891         __sp to uintptr_t.
15893 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15895         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15896         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15897         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15898         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15901         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15902         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15903         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15904         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15905         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15906         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15907         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15908         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15909         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15910         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15911         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15912         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15913         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15914         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15916         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15917         (pthread_rwlock_rdlock): Add elision.
15918         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15919         (pthread_rwlock_wrlock): Add elision.
15920         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15921         (pthread_rwlock_trywrlock): Add elision.
15922         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15923         (pthread_rwlock_tryrdlock): Add elision.
15924         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15925         (pthread_rwlock_tryrdlock): Add elision unlock.
15926         * nptl/sysdeps/pthread/pthread.h:
15927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15928         (PTHREAD_RWLOCK_INITIALIZER,
15929         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15930         Handle new elision field.
15931         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15932         * sysdeps/arm/nptl/bits/pthreadtypes.h
15933         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15934         * sysdeps/sh/nptl/bits/pthreadtypes.h
15935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15936         * sysdeps/tile/nptl/bits/pthreadtypes.h
15937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15938         * sysdeps/a/nptl/bits/pthreadtypes.h
15939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15940         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15942         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15944         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15946         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15948         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15949         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15950         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15952         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15954         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15956         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15957         (elision_init): Set try_xbegin to zero when no RTM.
15958         * sysdeps/x86/nptl/bits/pthreadtypes.h
15959         (pthread_rwlock_t): Change __pad1 to __rwelision.
15960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15962 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15964         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15965         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15966         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15967         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15969 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15971         [BZ #16996]
15972         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15973         that the cached result has been set before returning it.
15975 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15977         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15978         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15979         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15980         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15981         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15982         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15984         * nptl/sysdeps/sparc/Makefile: Moved ...
15985         * sysdeps/sparc/nptl/Makefile: ... here.
15986         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15987         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15988         * nptl/sysdeps/sparc/tls.h: Moved ...
15989         * sysdeps/sparc/nptl/tls.h: ... here.
15990         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15991         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15992         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15993         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15994         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15995         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15996         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15997         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15998         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15999         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16000         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16001         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16002         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16003         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16004         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16005         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16006         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16007         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16008         Update #include.
16009         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16010         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16011         Update #include.
16012         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16013         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16014         Update #include.
16015         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16016         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16017         Update #include.
16019         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16021         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16022         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16024         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16025         (struct list_links): Type removed.
16026         (struct thread_node, struct timer_node): Replace struct list_links
16027         with struct list_head.
16028         (list_unlink_ip): Likewise.
16029         * sysdeps/pthread/timer_routines.c
16030         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16031         (list_append, list_insbefore): Likewise.
16032         (list_init): Function removed.
16033         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16034         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16035         * sysdeps/pthread/Makefile: ... here, new file.
16037         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16038         * sysdeps/nptl/Implies: ... here.
16039         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16040         * nptl/sysdeps/pthread/list.h: Moved ...
16041         * include/list.h: ... here.
16042         * nptl/sysdeps/pthread/createthread.c: Moved ...
16043         * nptl/createthread.c: ... here.
16044         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16045         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16046         * nptl/pt-longjmp.c: ... here.
16047         * nptl/sysdeps/pthread/Makefile: Moved ...
16048         * sysdeps/nptl/Makefile: ... here.
16049         * nptl/sysdeps/pthread/Subdirs: Moved ...
16050         * sysdeps/nptl/Subdirs: ... here.
16051         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16052         * sysdeps/nptl/aio_misc.h: ... here.
16053         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16054         * sysdeps/nptl/bits/libc-lock.h: ... here.
16055         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16056         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16057         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16058         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16059         * nptl/sysdeps/pthread/configure: Moved ...
16060         * sysdeps/nptl/configure: ... here.
16061         * nptl/sysdeps/pthread/configure.ac: Moved ...
16062         * sysdeps/nptl/configure.ac: ... here.
16063         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16064         * sysdeps/nptl/gai_misc.h: ... here.
16065         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16066         * sysdeps/nptl/librt-cancellation.c: ... here.
16067         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16068         * sysdeps/nptl/malloc-machine.h: ... here.
16069         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16070         * sysdeps/nptl/pthread-functions.h: ... here.
16071         * nptl/sysdeps/pthread/pthread.h: Moved ...
16072         * sysdeps/nptl/pthread.h: ... here.
16073         * nptl/sysdeps/pthread/setxid.h: Moved ...
16074         * sysdeps/nptl/setxid.h: ... here.
16075         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16076         * sysdeps/nptl/sigfillset.c: ... here.
16077         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16078         * sysdeps/nptl/tcb-offsets.h: ... here.
16079         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16080         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16081         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16082         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16083         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16084         * sysdeps/pthread/allocalim.h: ... here.
16085         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16086         * sysdeps/pthread/bits/sigthread.h: ... here.
16087         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16088         * sysdeps/pthread/flockfile.c: ... here.
16089         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16090         * sysdeps/pthread/ftrylockfile.c: ... here.
16091         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16092         * sysdeps/pthread/funlockfile.c: ... here.
16093         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16094         * sysdeps/pthread/posix-timer.h: ... here.
16095         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16096         * sysdeps/pthread/timer_create.c: ... here.
16097         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16098         * sysdeps/pthread/timer_delete.c: ... here.
16099         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16100         * sysdeps/pthread/timer_getoverr.c: ... here.
16101         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16102         * sysdeps/pthread/timer_gettime.c: ... here.
16103         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16104         * sysdeps/pthread/timer_routines.c: ... here.
16105         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16106         * sysdeps/pthread/timer_settime.c: ... here.
16107         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16108         * sysdeps/pthread/tst-timer.c: ... here.
16109         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16110         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16112         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16113         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16115         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16116         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16117         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16118         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16119         Update #include target.
16120         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16121         * sysdeps/i386/i686/nptl/Makefile: ... here.
16122         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16123         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16124         Update #include target.
16125         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16126         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16127         * nptl/sysdeps/i386/Makefile: Moved ...
16128         * sysdeps/i386/nptl/Makefile: ... here.
16129         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16130         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16131         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16132         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16133         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16134         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16135         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16136         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16137         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16138         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16139         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16140         * nptl/sysdeps/i386/tls.h: Moved ...
16141         * sysdeps/i386/nptl/tls.h: ... here.
16143         * sysdeps/sh/Makefile [$(subdir) = csu]
16144         (gen-as-const-headers): Add tcb-offsets.sym.
16145         * nptl/sysdeps/sh/Makefile: File removed.
16146         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16147         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16148         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16149         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16150         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16151         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16152         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16153         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16154         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16155         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16156         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16157         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16158         * nptl/sysdeps/sh/tls.h: Moved ...
16159         * sysdeps/sh/nptl/tls.h: ... here.
16160         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16161         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16162         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16163         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16164         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16165         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16166         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16167         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16168         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16169         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16170         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16171         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16172         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16173         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16175         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16176         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16177         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16178         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16179         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16180         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16181         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16182         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16183         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16184         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16185         Moved ...
16186         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16187         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16188         Moved ...
16189         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16190         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16191         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16192         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16193         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16194         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16195         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16196         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16197         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16198         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16199         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16200         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16201         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16202         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16203         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16204         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16205         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16206         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16207         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16209 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16211         * posix/spawn_faction_addopen.c: Include string.h.
16213 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16215         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16216         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16217         * nptl/sysdeps/x86_64/Makefile: Moved ...
16218         * sysdeps/x86_64/nptl/Makefile: ... here.
16219         * nptl/sysdeps/x86_64/configure: Moved ...
16220         * sysdeps/x86_64/nptl/configure: ... here.
16221         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16222         * sysdeps/x86_64/nptl/configure.ac: ... here.
16223         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16224         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16225         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16226         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16227         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16228         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16229         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16230         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16231         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16232         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16233         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16234         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16235         * nptl/sysdeps/x86_64/tls.h: Moved ...
16236         * sysdeps/x86_64/nptl/tls.h: ... here.
16237         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16238         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16239         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16240         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16242         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16244 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16248 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16250         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16251         type.
16252         [POSIX] (off_t): Likewise.
16253         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16254         [POSIX] (S_ISBLK): Require macro.
16255         [POSIX] (S_ISCHR): Likewise.
16256         [POSIX] (S_ISDIR): Likewise.
16257         [POSIX] (S_ISFIFO): Likewise.
16258         [POSIX] (S_ISREG): Likewise.
16259         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16260         optional-macro.
16261         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16262         type.
16263         [POSIX] (time_t): Likewise.
16264         [POSIX] (timer_t): Likewise.
16266 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16268         [BZ #17048]
16269         * posix/spawn_int.h (struct __spawn_action): Make the path string
16270         non-const to support deallocation.
16271         * posix/spawn_faction_addopen.c
16272         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16273         * posix/spawn_faction_destroy.c
16274         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16275         path in all spawn_do_open actions.
16276         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16277         posix_spawn_file_actions_addopen.
16279 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16281         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16282         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16283         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16284         conditional code always true.
16285         (__libc_vfork): New alias.
16287 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16289         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16290         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16292         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16294         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16295         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16297         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16298         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16300         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16301         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16303 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16305         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16306         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16307         multiarch strcmp for PPC64.
16308         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16309         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16311         multiarch optimizations.
16312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16313         (__libc_ifunc_impl_list): Likewise.
16315 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16317         * benchtests/scripts/validate_benchout.py: New script.
16318         * benchtests/Makefile (bench-func): Call it.
16319         * benchtests/scripts/benchout.schema.json: New file.
16321 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16323         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16324         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16325         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16326         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16327         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16328         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16329         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16330         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16331         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16332         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16333         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16334         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16335         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16336         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16337         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16338         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16340         Moved ...
16341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16342         ... here.
16343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16344         Moved ...
16345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16347         Moved ...
16348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16349         ... here.
16350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16351         Moved ...
16352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16353         ... here.
16354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16355         Moved ...
16356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16358         Moved ...
16359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16360         ... here.
16361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16362         Moved ...
16363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16364         ... here.
16365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16366         Moved ...
16367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16369         Moved ...
16370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16371         ... here.
16372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16373         Moved ...
16374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16375         ... here.
16376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16377         Moved ...
16378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16379         ... here.
16380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16381         Moved ...
16382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16384         Moved ...
16385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16386         ... here.
16387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16388         Moved ...
16389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16390         ... here.
16391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16392         Moved ...
16393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16394         ... here.
16395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16396         Moved ...
16397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16399         Moved ...
16400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16401         ... here.
16402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16403         Moved ...
16404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16405         ... here.
16406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16407         Moved ...
16408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16410         Moved ...
16411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16412         ... here.
16413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16414         Moved ...
16415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16417         Moved ...
16418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16420         Moved ...
16421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16422         ... here.
16423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16424         Moved ...
16425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16426         ... here.
16427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16428         Moved ...
16429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16430         ... here.
16431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16432         Moved ...
16433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16435         Moved ...
16436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16437         ... here.
16438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16439         Moved ...
16440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16441         ... here.
16442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16443         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16445         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16447         Moved ...
16448         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16449         ... here.
16450         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16451         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16453         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16454         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16455         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16456         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16457         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16459         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16461         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16463         Moved ...
16464         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16466         Moved ...
16467         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16469         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16471         Moved ...
16472         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16473         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16474         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16475         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16476         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16477         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16478         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16480 2014-06-10  Wilco  <wdijkstr@arm.com>
16482         * math/test-fenv-return.c: New file.
16483         * math/Makefile: Add new test test-fenv-return.
16485 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16487         [BZ #17042]
16488         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16489         when x - 1 is zero.
16490         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16491         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16492         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16493         0.0L for an argument of 1.0L.
16494         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16495         Likewise.
16496         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16497         value when x - 1 is zero.
16498         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16499         * sysdeps/i386/fpu/libm-test-ulps: Update.
16500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16502 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16504         [BZ #15119]
16505         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16507 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16509         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16510         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16512 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16514         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16515         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16517         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16518         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16520         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16521         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16523         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16524         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16526         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16527         if not already defined.
16528         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16529         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16530         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16531         (TLS_INIT_TP): Use it.
16532         (TLS_DEFINE_INIT_TP): New macro.
16533         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16535 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16537         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16538         constant.
16539         [POSIX] (IXANY): Likewise.
16540         [POSIX] (OLCUC): Likewise.
16541         [POSIX || POSIX2008] (CBAUD): Do not allow.
16542         [POSIX || POSIX2008] (DEFECHO): Likewise.
16543         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16544         [POSIX || POSIX2008] (ECHOKE): Likewise.
16545         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16546         [POSIX || POSIX2008] (EXTA): Likewise.
16547         [POSIX || POSIX2008] (EXTB): Likewise.
16548         [POSIX || POSIX2008] (FLUSHO): Likewise.
16549         [POSIX || POSIX2008] (LOBLK): Likewise.
16550         [POSIX || POSIX2008] (PENDIN): Likewise.
16551         [POSIX || POSIX2008] (SWTCH): Likewise.
16552         [POSIX || POSIX2008] (VDISCARD): Likewise.
16553         [POSIX || POSIX2008] (VDSUSP): Likewise.
16554         [POSIX || POSIX2008] (VLNEXT): Likewise.
16555         [POSIX || POSIX2008] (VREPRINT): Likewise.
16556         [POSIX || POSIX2008] (VSTATUS): Likewise.
16557         [POSIX || POSIX2008] (VWERASE): Likewise.
16558         (B*): Change to B[0123456789]*.
16559         * conform/data/time.h-data [POSIX || UNIX98]
16560         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16561         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16562         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16563         [POSIX] (tm_*): Do not allow.
16565 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16567         * Makefile (install): Don't set LANGUAGE.
16568         * Makefile.in (install): Likewise.
16569         * assert/Makefile (test-assert-ENV): Remove variable.
16570         (test-assert-perr-ENV): Likewise.
16571         * elf/Makefile (neededtest4-ENV): Likewise.
16572         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16573         [$(cross-compiling) = no]: Don't set LANGUAGE.
16574         * io/ftwtest-sh (LANG): Remove variable.
16575         * libio/Makefile (tst-widetext-ENV): Likewise.
16576         * manual/install.texi (Running make install): Don't refer to
16577         environment settings for make install.
16578         * INSTALL: Regenerated.
16579         * nptl/tst-tls6.sh: Don't set LANG.
16580         * posix/globtest.sh (LANG): Remove variable.
16581         * string/Makefile (tester-ENV): Likewise.
16582         (inl-tester-ENV): Likewise.
16583         (noinl-tester-ENV): Likewise.
16584         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16585         [$(cross-compiling) = no]: Don't set LANGUAGE.
16586         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16587         without explicit environment settings.
16589 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16591         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16592         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16593         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16594         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16596 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16598         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16599         other files in the crypt directory.
16600         * crypt/crypt.c: Remove duplicate includes.
16601         * crypt/crypt-entry.c: Likewise.
16602         * crypt/crypt_util.c: Likewise.
16604 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16606         * Makeconfig (run-program-env): New variable.
16607         (run-program-prefix-before-env): Likewise.
16608         (run-program-prefix-after-env): Likewise.
16609         (run-program-prefix): Define in terms of new variables.
16610         (built-program-cmd-before-env): New variable.
16611         (built-program-cmd-after-env): Likewise.
16612         (built-program-cmd): Define in terms of new variables.
16613         (test-program-prefix-before-env): New variable.
16614         (test-program-prefix-after-env): Likewise.
16615         (test-program-prefix): Define in terms of new variables.
16616         (test-program-cmd-before-env): New variable.
16617         (test-program-cmd-after-env): Likewise.
16618         (test-program-cmd): Define in terms of new variables.
16619         * Rules (make-test-out): Use $(run-program-env).
16620         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16621         (help): Do not mention environment variables.  Mention
16622         --timeoutfactor option.
16623         (timeoutfactor): New variable.
16624         (blacklist_exports): Remove function.
16625         (exports): Remove variable.
16626         (command): Do not include ${exports}.
16627         * manual/install.texi (Configuring and compiling): Do not mention
16628         test wrappers preserving environment variables.  Mention that last
16629         assignment to a variable must take precedence.
16630         * INSTALL: Regenerated.
16631         * benchtests/Makefile (run-bench): Use $(run-program-env).
16632         * catgets/Makefile ($(objpfx)test1.cat): Use
16633         $(built-program-cmd-before-env), $(run-program-env) and
16634         $(built-program-cmd-after-env).
16635         ($(objpfx)test2.cat): Do not specify environment variables
16636         explicitly.
16637         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16638         $(run-program-env) and $(built-program-cmd-after-env).
16639         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16640         $(run-program-env) and $(test-program-cmd-after-env).
16641         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16642         explicitly.
16643         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16644         run_program_env and test_program_cmd_after_env arguments.
16645         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16646         * elf/tst-pathopt.sh: Use run_program_env argument.
16647         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16648         $(test-wrapper-env) and $(run-program-env).
16649         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16650         run_program_env arguments.
16651         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16652         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16653         $(test-program-prefix-before-env), $(run-program-env) and
16654         $(test-program-prefix-after-env).
16655         ($(objpfx)tst-gettext2.out): Likewise.
16656         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16657         run_program_env and test_program_prefix_after_env arguments.
16658         * intl/tst-gettext2.sh: Likewise.
16659         * intl/tst-gettext4.sh: Do not set environment variables
16660         explicitly.
16661         * intl/tst-gettext6.sh: Likewise.
16662         * intl/tst-translit.sh: Likewise.
16663         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16664         $(test-program-prefix-before-env), $(run-program-env) and
16665         $(test-program-prefix-after-env).
16666         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16667         run_program_env and test_program_prefix_after_env arguments.
16668         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16669         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16670         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16671         explicitly with each use of ${test_wrapper_env}.
16672         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16673         $(test-program-prefix-before-env), $(run-program-env) and
16674         $(test-program-prefix-after-env).
16675         * posix/tst-getconf.sh: Do not set environment variables
16676         explicitly.
16677         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16678         run_program_env and test_program_prefix_after_env arguments.
16679         * stdio-common/tst-printf.sh: Do not set environment variables
16680         explicitly.
16681         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16682         $(test-program-prefix-before-env), $(run-program-env) and
16683         $(test-program-prefix-after-env).
16684         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16685         run_program_env and test_program_prefix_after_env arguments.
16686         Split $test calls into $test_pre and $test.
16687         * timezone/Makefile (build-testdata): Use
16688         $(built-program-cmd-before-env), $(run-program-env) and
16689         $(built-program-cmd-after-env).
16691 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16693         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16694         strlen for non SHARED builds.
16696 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16698         * nptl/allocatestack.c (check_list): Inlined function...
16699         (__reclaim_stacks): ... here.
16701 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16703         [BZ #15698]
16704         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16705         memory overrun.
16707 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16709         * Rules (make-test-out): Include
16710         LOCPATH=$(common-objpfx)localedata in default environment.
16711         * debug/Makefile (tst-chk1-ENV): Remove variable.
16712         (tst-chk2-ENV): Likewise.
16713         (tst-chk3-ENV): Likewise.
16714         (tst-chk4-ENV): Likewise.
16715         (tst-chk5-ENV): Likewise.
16716         (tst-chk6-ENV): Likewise.
16717         (tst-lfschk1-ENV): Likewise.
16718         (tst-lfschk2-ENV): Likewise.
16719         (tst-lfschk3-ENV): Likewise.
16720         (tst-lfschk4-ENV): Likewise.
16721         (tst-lfschk5-ENV): Likewise.
16722         (tst-lfschk6-ENV): Likewise.
16723         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16724         (tst-iconv7-ENV): Likewise.
16725         * intl/Makefile (LOCPATH-ENV): Likewise.
16726         (tst-codeset-ENV): Likewise.
16727         (tst-gettext3-ENV): Likewise.
16728         (tst-gettext5-ENV): Likewise.
16729         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16730         (tst-fopenloc-ENV): Likewise.
16731         (tst-fgetws-ENV): Remove variable.
16732         (tst-ungetwc1-ENV): Likewise.
16733         (tst-ungetwc2-ENV): Likewise.
16734         (bug-ungetwc2-ENV): Likewise.
16735         (tst-swscanf-ENV): Likewise.
16736         (bug-ftell-ENV): Likewise.
16737         (tst-fgetwc-ENV): Likewise.
16738         (tst-fseek-ENV): Likewise.
16739         (tst-ftell-partial-wide-ENV): Likewise.
16740         (tst-ftell-active-handler-ENV): Likewise.
16741         (tst-ftell-append-ENV): Likewise.
16742         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16743         (tst-regexloc-ENV): Likewise.
16744         (bug-regex1-ENV): Likewise.
16745         (tst-regex-ENV): Likewise.
16746         (tst-regex2-ENV): Likewise.
16747         (bug-regex5-ENV): Likewise.
16748         (bug-regex6-ENV): Likewise.
16749         (bug-regex17-ENV): Likewise.
16750         (bug-regex18-ENV): Likewise.
16751         (bug-regex19-ENV): Likewise.
16752         (bug-regex20-ENV): Likewise.
16753         (bug-regex22-ENV): Likewise.
16754         (bug-regex23-ENV): Likewise.
16755         (bug-regex25-ENV): Likewise.
16756         (bug-regex26-ENV): Likewise.
16757         (bug-regex30-ENV): Likewise.
16758         (bug-regex32-ENV): Likewise.
16759         (bug-regex33-ENV): Likewise.
16760         (bug-regex34-ENV): Likewise.
16761         (bug-regex35-ENV): Likewise.
16762         (tst-rxspencer-ENV): Likewise.
16763         (tst-rxspencer-no-utf8-ENV): Likewise.
16764         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16765         (tst-sscanf-ENV): Likewise.
16766         (tst-swprintf-ENV): Likewise.
16767         (tst-swscanf-ENV): Likewise.
16768         (test-vfprintf-ENV): Likewise.
16769         (scanf13-ENV): Likewise.
16770         (bug14-ENV): Likewise.
16771         (tst-grouping-ENV): Likewise.
16772         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16773         (tst-strtod3-ENV): Likewise.
16774         (tst-strtod4-ENV): Likewise.
16775         (tst-strtod5-ENV): Likewise.
16776         (testmb2-ENV): Likewise./
16777         * string/Makefile (tst-strxfrm-ENV): Likewise.
16778         (tst-strxfrm2-ENV): Likewise.
16779         (bug-strcoll1-ENV): Likewise.
16780         (test-strcasecmp-ENV): Likewise.
16781         (test-strncasecmp-ENV): Likewise.
16782         * time/Makefile (tst-strptime-ENV): Likewise.
16783         (tst-ftime_l-ENV): Likewise.
16784         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16785         (tst-mbrtowc-ENV): Likewise.
16786         (tst-wcrtomb-ENV): Likewise.
16787         (tst-mbrtowc2-ENV): Likewise.
16788         (tst-c16c32-1-ENV): Likewise.
16789         (tst-mbsnrtowcs-ENV): Likewise.
16791 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16793         * manual/resource.texi (How to get information about the memory
16794         subsystem?): Fix typo.
16795         Reported by Peon de la Parra Ivan <peon@keba.com>
16797 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16799         [BZ #16882]
16800         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16801         (pthread_spin_lock): Branch out of spin loop to proper location.
16802         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16803         (pthread_spin_lock): Likewise.
16805         * nptl/tst-spin4.c: New test.
16806         * nptl/Makefile (tests): Add tst-spin4.
16808 2014-06-03  Andreas Schwab  <schwab@suse.de>
16810         [BZ #15946]
16811         * resolv/res_send.c (send_dg): Reload file descriptor after
16812         calling reopen.
16814 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16816         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16818 2014-06-03  Richard Henderson  <rth@redhat.com>
16820         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16821         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16822         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16823         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16824         in the SAVE_PID block.
16825         (__libc_vfork): New alias.
16826         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16828         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16829         child in registers, not on the stack.  Remove RESET_PID conditionals.
16830         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16832 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16834         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16836 2014-06-03  Wilco  <wdijkstr@arm.com>
16838         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16839         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16840         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16841         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16842         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16843         Likewise.
16845 2014-06-03  Wilco  <wdijkstr@arm.com>
16847         * sysdeps/aarch64/fpu/math_private.h
16848         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16849         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16850         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16851         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16852         Fix declarations.
16854 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16856         * crypt/crypt-private.h: Include ufc-crypt.h.
16857         (__b64_from_24bit): Declare extern.
16858         * crypt/crypt_util.c(__b64_from_24bit): New function.
16859         (b64t): New static const variable.
16860         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16861         (b64t): Remove variable.
16862         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16863         * crypt/sha256-crypt.c: Include crypt-private.h.
16864         (b64t): Remove variable.
16865         (__sha256_crypt_r): Remove b64_from_24bit and replace
16866         with __b64_from_24bit.
16867         * crypt/sha512-crypt.c: Likewise.
16869 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16871         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16872         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16873         Label the code __libc_vfork rather than __vfork.
16874         [!NOT_IN_libc] (vfork): Define as weak alias.
16875         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16876         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16877         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16879 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16881         * malloc/malloc.c (malloc_info): Fix format specifier for
16882         n_mmaps.
16884 2014-06-02  Wilco  <wdijkstr@arm.com>
16886         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16887         FPCR write.
16889 2014-06-02  Wilco  <wdijkstr@arm.com>
16891         [BZ #17009]
16892         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16893         Rewrite to reduce FPCR/FPSR accesses.
16895 2014-06-01  David S. Miller  <davem@davemloft.net>
16897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16899 2014-05-31  David S. Miller  <davem@davemloft.net>
16901         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16902         to occur in round to nearest mode when |x| >= 2.0
16904 2014-05-30  Richard Henderson  <rth@twiddle.net>
16906         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16907         (PSEUDO_RET_NOERRNO): Remove.
16908         (ret): Don't redefine.
16909         (ret_NOERRNO): Define in terms of ret.
16910         (ret_ERRVAL): Likewise.
16912         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16913         use of PSEUDO_RET; perform the error check directly.
16915 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16917         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16918         with __int128_t.
16920 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16922         * malloc/malloc (malloc_info): Fix formatting.
16924 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16925             Roland McGrath  <roland@hack.frob.com>
16927         * malloc/malloc (malloc_info): Also print mmapped statistics.
16929 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16931         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16932         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16934 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16936         * malloc/malloc.c (malloc_info): Inline mi_arena.
16938 2014-05-29  Richard Henderson  <rth@twiddle.net>
16940         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16941         Remove comma before expanding ASM_ARGS_##nr.
16942         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16943         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16944         of ASM_ARGS_##nr.
16945         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16946         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16947         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16948         (ASM_ARGS_1): Add leading comma.
16950         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16951         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16952         to __errno_location.
16953         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16954         Remove the expected plt for __errno_location.
16956         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16957         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16958         call to __read_tp.
16960         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16961         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16962         it and break it down.
16963         (DOCARGS_0, DOCARGS_1): Do nothing.
16964         (DOCARGS_2): Update to store into the new stack frame.
16965         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16966         (UNDOCARGS_1): Update to restore from the new stack frame.
16967         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16968         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16970         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16971         (SINGLE_THREAD_P): New parameter for result regno.
16972         (PSEUDO): Update to match; use cbz instead of beq.
16974         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16975         Use ENTRY to define the _nocancel entry point.  Share the syscall
16976         and syscall error check paths with the cancel path.
16977         (PSEUDO_END): New.
16979         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16980         whitespace; tabs before and after asm mnemonics.
16982 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16984         [BZ #15132]
16985         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16986         Call fstat64 or stat64 internally, depending on arguments passed.
16987         Replace stat buffer argument with file descriptor argument.
16988         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16989         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16990         Pass fd to __internal_statvfs instead of calling fstat64.
16991         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16992         Pass fd to __internal_statvfs64 instead of calling fstat64.
16993         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16994         Pass -1 to __internal_statvfs instead of calling stat64.
16995         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16996         Pass -1 to __internal_statvfs64 instead of calling stat64.
16998 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17000         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17001         that was previously under [RESET_PID].
17002         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17004         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17005         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17007 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17009         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17011         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17012         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17014 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17016         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17018 2014-05-27  Andreas Schwab  <schwab@suse.de>
17020         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17021         TLS_INIT_TP macro.
17022         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17023         * elf/rtld.c (init_tls, dl_main): Likewise.
17024         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17025         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17026         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17027         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17028         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17029         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17030         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17031         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17032         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17033         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17034         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17035         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17036         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17037         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17038         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17039         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17040         * sysdeps/generic/tls.h: Update description.
17042 2014-05-27  Will Newton  <will.newton@linaro.org>
17044         [BZ #16990]
17045         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17046         and restore r2 rather than just restoring.
17048 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17050         [BZ #16724]
17051         * libio/tst-ftell-append.c: New test case.
17052         * libio/Makefile (tests): Add test case.
17053         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17054         append mode.
17055         * libio/wfileops.c (do_ftell_wide): Likewise.
17057 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17061         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17062         ...
17063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17065         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17066         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17067         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17068         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17069         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17070         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17072         Moved ...
17073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17074         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17075         Moved ...
17076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17077         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17078         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17079         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17080         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17081         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17082         ...
17083         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17084         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17085         Moved ...
17086         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17087         here.
17088         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17089         ...
17090         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17091         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17092         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17094         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17095         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17096         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17097         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17100         merge into ...
17101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17103         ...
17104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17106         ...
17107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17109         Moved ...
17110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17111         here.
17112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17113         Moved ...
17114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17116         Moved ...
17117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17120         conditional [RESET_PID].
17121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17123         removed.
17124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17125         removed.
17127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17128         <tcb-offsets.h>.
17129         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17130         (__libc_vfork): New strong alias.
17131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17132         removed.
17133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17134         Removed.
17136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17137         <tcb-offsets.h>.
17138         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17139         (__libc_vfork): New strong alias.
17140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17141         removed.
17142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17143         removed.
17145 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17147         * malloc/malloc.c (mi_arena): New function.
17148         (malloc_info): Remove nested function mi_arena. Call non-nosted
17149         function mi_arena.
17151 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17153         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17154         by insrwi.
17155         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17156         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17157         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17158         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17159         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17160         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17161         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17163 2014-05-26  Andreas Schwab  <schwab@suse.de>
17165         [BZ #16984]
17166         * locale/programs/repertoire.c (repertoire_read): Add slash
17167         between I18NPATH element and file name.
17168         * locale/programs/locfile.c (locfile_read): Likewise.
17170 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17172         * nptl/pthread_mutexattr_settype.c
17173         (__pthread_mutexattr_settype):
17174         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17176 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17178         * nptl/tst-mutex5 (do_test):
17179         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17181 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17183         * benchtests/README: Document 'init' directive.
17184         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17185         BENCH_INIT.
17186         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17187         (parse_file): Recognize 'init' directive.
17189 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17191         [BZ #16796]
17192         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17193         alignment of struct pthread.
17195 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17197         [BZ #16878]
17198         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17199         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17200         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17201         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17203 2014-05-25  Richard Henderson  <rth@twiddle.net>
17205         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17206         (SINGLE_THREAD_P_PIC): Remove.
17207         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17208         (SINGLE_THREAD_P_PIC): Remove.
17210         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17211         branch to syscall error ...
17212         (PSEUDO): ... here.
17213         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17214         from __local_syscall_error to .Lsyscall_error.
17215         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17216         (SYSCALL_ERROR): Update label name.
17218         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17219         Do not use DOARGS/UNDOARGS.
17220         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17221         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17222         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17223         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17224         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17227         block comment.
17229         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17230         define if !NOT_IN_libc.
17231         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17232         define with non-default symbol versions.
17234 2014-05-23  Richard Henderson  <rth@twiddle.net>
17236         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17237         (vfork, __vfork): Define via compat_symbol.
17239         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17240         [!HAVE_IFUNC] (vfork_compat): Remove.
17241         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17243 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17245         [BZ #16978]
17246         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17247         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17248         variable.
17250 2014-05-23  Richard Henderson  <rth@twiddle.net>
17252         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17253         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17254         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17255         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17257         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17258         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17259         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17260         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17261         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17262         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17263         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17264         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17265         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17266         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17267         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17268         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17269         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17270         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17271         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17272         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17273         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17274         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17275         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17276         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17277         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17278         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17279         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17280         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17281         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17282         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17283         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17284         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17285         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17286         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17287         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17288         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17289         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17290         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17291         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17292         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17293         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17294         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17295         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17296         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17297         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17298         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17299         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17300         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17301         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17302         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17303         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17304         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17305         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17306         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17307         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17308         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17309         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17310         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17311         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17312         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17314         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17315         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17316         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17317         before exiting on error.
17318         (__libc_vfork): New strong alias.
17319         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17320         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17322         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17323         that was previously under [RESET_PID].
17324         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17326         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17328 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17330         [BZ #16977]
17331         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17332         value when x - 1 is zero.
17333         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17334         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17335         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17336         0.0L for an argument of 1.0L.
17337         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17338         Likewise.
17339         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17340         value when x - 1 is zero.
17341         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17342         * sysdeps/i386/fpu/libm-test-ulps: Update.
17343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17345 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17347         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17348         alphasort and versionsort.
17350 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17352         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17353         macro.
17354         [copysignf]: Likewise.
17356 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17358         * crypt/md5-crypt.c: Fix formatting.
17360 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17362         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17363         (b64_from_24bit): New function.
17365 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17367         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17368         libc_hidden_builtin_def to ifunc.
17369         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17370         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17372 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17374         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17375         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17377 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17379         * nscd/Depend (linuxthreads): Remove.
17380         (nptl): Add.
17381         * resolv/Depend (linuxthreads): Remove.
17382         * rt/Depend (linuxthreads): Remove.
17384         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17385         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17386         $(common-objpfx)elf/.
17387         (link-libc-before-gnulib): Likewise.
17388         (elfobjdir): Remove variable.
17389         * Makefile (install): Use $(elf-objpfx) instead of
17390         $(common-objpfx)elf/.
17391         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17392         $(elfobjdir)/.
17393         (link-libc-deps): Likewise.
17394         ($(common-objpfx)libc.so): Likewise.
17395         ($(common-objpfx)linkobj/libc.so): Likewise.
17396         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17397         instead of $(common-objpfx)elf/.
17398         (symbolic-link-list): Likewise.
17399         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17400         [$(cross-compiling) = no]: Likewise.
17401         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17402         $(elfobjdir)/.
17403         (static-gnulib-arch): Likewise.
17404         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17405         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17406         $(common-objpfx)elf/.
17408 2014-05-21  Richard Henderson  <rth@redhat.com>
17410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17411         (SINGLE_THREAD_P): Use the correct width load.  Fold
17412         into the ldr offset.
17414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17415         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17417 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17419         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17420         (libgcc_s_resume): Use __attribute_used__.
17421         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17422         Likewise.
17424 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17426         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17427         optimization when used with float constants.
17429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17431 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17433         [BZ #16915]
17434         * locale/nl_langinfo_l.c: Make direct reference to every
17435         _nl_current_CATEGORY symbol.
17436         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17437         (tests-static): Add tst-langinfo-static.
17438         (tests-special): Add tst-langinfo-static.out.
17439         ($(objpfx)tst-langinfo.out): Redirect output.
17440         ($(objpfx)tst-langinfo-static.out): New.
17441         * localedata/tst-langinfo.sh: Send output to stdout.
17442         * localedata/tst-langinfo-static.c: New file.
17444         [BZ #16965]
17445         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17446         when the shift amount is modulo the limb size.
17448 2014-05-20  Richard Henderson  <rth@redhat.com>
17450         [BZ #16967]
17451         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17452         Change type of sa_flags from unsigned int to int.
17454         [BZ #16966]
17455         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17457         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17459 2014-05-20  Will Newton  <will.newton@linaro.org>
17461         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17462         Test the return value of the system call in the nocancel case.
17464 2014-05-20  Will Newton  <will.newton@linaro.org>
17465             Yvan Roux  <yvan.roux@linaro.org>
17467         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17468         #include of asm/ptrace.h.
17469         (PTRACE_GET_THREAD_AREA): Remove #undef.
17470         (PTRACE_GETHBPREGS): Likewise.
17471         (PTRACE_SETHBPREGS): Likewise.
17472         (struct user_regs_struct): New structure.
17473         (struct user_fpsimd_struct): New structure.
17474         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17475         #include of asm/ptrace.h and second #include of sys/user.h.
17476         (PTRACE_GET_THREAD_AREA): Remove #undef.
17477         (PTRACE_GETHBPREGS): Likewise.
17478         (PTRACE_SETHBPREGS): Likewise.
17479         (ELF_NGREG): Use new struct user_regs_struct.
17480         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17482 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17484         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17485         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17487 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17489         [BZ #16958]
17490         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17491         membar to avoid block loads/stores to overlap previous stores.
17493 2014-05-17  Richard Henderson  <rth@redhat.com>
17495         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17496         Create the __##syscall_name##_nocancel entry point.
17497         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17498         Remove; let the sysdep-cancel.h code create it.
17500 2014-05-17  David S. Miller  <davem@davemloft.net>
17502         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17503         Protect with __USE_GNU.
17504         (TIOCSET_TEMPT): Likewise.
17505         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17506         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17507         these are already provided in bits/ioctl-types.h
17509 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17511         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17512         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17514         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17515         Use wait4 regardless of [__NR_waitpid].
17517 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17519         PR libgcc/60166
17520         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17521         (_FP_NANSIGN_Q): Set the quiet bit.
17523 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17525         * benchtests/Makefile
17526         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17527         not $(common-objpfx)math/libm.so.
17528         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17529         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17530         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17531         $(common-objpfx)dlfcn/libdl.so.
17532         ($(objpfx)tst-audit8): Depend on $(libm), not
17533         $(common-objpfx)math/libm.so.
17534         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17535         not $(common-objpfx)dlfcn/libdl.so.
17536         * math/Makefile
17537         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17538         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17539         [$(build-shared) = yes].
17540         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17541         $(common-objpfx)nptl/libpthread.so.
17542         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17543         $(common-objpfx)math/libm.so$(libm.so-version) or
17544         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17545         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17546         $(common-objpfx)dlfcn/libdl.so.
17547         * setjmp/Makefile (link-libm): Remove variable.
17548         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17549         * stdio-common/Makefile (link-libm): Remove variable.
17550         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17551         * stdlib/Makefile (link-libm): Remove variable.
17552         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17553         ($(objpfx)tst-strtod-round): Likewise.
17554         ($(objpfx)tst-tininess): Likewise.
17555         ($(objpfx)tst-strtod-underflow): Likewise.
17556         ($(objpfx)tst-strtod6): Likewise.
17557         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17558         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17559         $(common-objpfx)dlfcn/libdl.so.
17561 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17563         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17564         BSD terminal modes definitions.
17566 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17568         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17569         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17571         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17572         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17573         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17574         Don't do #include_next.
17575         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17576         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17577         Don't do #include_next.
17578         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17579         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17580         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17581         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17583 2014-05-16  Allan McRae  <allan@archlinux.org>
17585         * po/sv.po: Update Swedish translation from translation project.
17587         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17588         in sed expression.
17590 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17592         [BZ #16917]
17593         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17594         errno if the TIOCGPTN ioctl fails with an error different than
17595         EINVAL.
17596         * login/tst-ptsname.c: New file.
17597         * login/Makefile (tests): Add tst-ptsname.
17599         [BZ #16943]
17600         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17601         and prlimit64.
17603 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17605         [BZ #16849]
17606         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17607         herrno to return EAI_AGAIN.
17609 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17611         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17612         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17613         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17614         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17615         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17616         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17617         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17618         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17619         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17620         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17621         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17622         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17623         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17624         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17625         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17626         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17627         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17628         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17629         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17630         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17631         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17632         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17633         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17634         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17635         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17636         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17637         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17638         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17639         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17640         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17642         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17644         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17646         Moved ...
17647         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17649         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17651         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17653         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17655         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17657         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17659         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17661         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17663         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17665         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17667         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17669         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17671         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17673         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17675         Moved ...
17676         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17678         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17680         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17682         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17684         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17686         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17688         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17690         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17692         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17694         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17696         Moved ...
17697         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17699         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17701         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17702         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17703         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17704         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17705         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17706         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17707         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17708         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17709         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17710         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17711         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17712         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17713         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17714         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17715         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17716         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17717         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17718         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17719         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17721         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17722         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17723         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17724         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17725         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17726         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17727         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17728         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17729         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17730         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17731         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17733         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17734         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17736         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17737         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17738         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17739         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17740         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17741         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17742         Moved ...
17743         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17744         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17745         Moved ...
17746         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17747         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17748         Moved ...
17749         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17750         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17751         Moved ...
17752         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17753         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17754         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17755         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17756         Moved ...
17757         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17758         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17759         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17760         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17761         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17762         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17763         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17764         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17765         Moved ...
17766         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17767         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17768         Moved ...
17769         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17770         ... here.
17771         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17772         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17773         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17774         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17775         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17776         Moved ...
17777         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17778         ... here.
17779         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17780         Moved ...
17781         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17782         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17783         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17784         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17785         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17786         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17787         Moved ...
17788         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17789         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17790         Moved ...
17791         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17792         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17793         Moved ...
17794         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17795         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17796         Moved ...
17797         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17798         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17799         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17800         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17801         Moved ...
17802         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17803         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17804         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17805         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17806         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17807         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17808         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17809         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17810         Moved ...
17811         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17812         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17813         Moved ...
17814         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17815         ... here.
17816         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17817         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17819         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17820         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17821         Moved ...
17822         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17823         ... here.
17824         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17825         Moved ...
17826         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17827         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17828         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17829         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17830         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17831         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17832         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17833         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17834         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17835         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17836         Moved ...
17837         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17838         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17839         Moved ...
17840         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17841         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17842         Moved ...
17843         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17844         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17845         Moved ...
17846         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17847         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17848         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17849         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17850         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17851         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17852         Moved ...
17853         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17854         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17855         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17856         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17857         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17858         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17859         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17860         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17861         Moved ...
17862         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17863         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17864         Moved ...
17865         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17866         ... here.
17867         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17868         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17869         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17870         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17871         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17872         Moved ...
17873         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17874         ... here.
17875         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17876         Moved ...
17877         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17878         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17879         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17880         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17881         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17882         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17883         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17884         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17885         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17886         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17887         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17889         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17890         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17892         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17893         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17895         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17896         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17897         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17898         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17899         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17900         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17901         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17902         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17903         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17904         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17905         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17906         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17907         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17908         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17909         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17911         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17913         Moved ...
17914         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17915         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17916         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17917         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17918         Moved ...
17919         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17920         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17921         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17922         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17923         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17927         Moved ...
17928         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17929         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17930         Moved ...
17931         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17932         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17933         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17935         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17937         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17938         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17939         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17940         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17941         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17943         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17944         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17945         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17946         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17947         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17949         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17950         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17951         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17952         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17953         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17955         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17956         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17957         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17958         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17959         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17960         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17961         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17962         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17963         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17964         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17967         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17969         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17970         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17971         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17972         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17973         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17974         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17975         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17976         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17977         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17978         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17979         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17980         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17981         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17982         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17983         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17984         Update #include.
17985         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17986         Likewise.
17987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17988         Likewise.
17989         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17990         Likewise.
17991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17992         Likewise.
17993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17994         Likewise.
17995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17996         Likewise.
17997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17998         Likewise.
17999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18000         Likewise.
18001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18002         Likewise.
18003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18004         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18007         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18008         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18009         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18010         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18011         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18012         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18013         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18014         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18015         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18017         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18019         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18020         that was previously under [RESET_PID].
18021         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18022         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18023         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18025         * sysdeps/i386/nptl/Implies: New file.
18026         * sysdeps/x86_64/nptl/Implies: New file.
18027         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18028         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18029         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18030         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18032         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18033         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18034         (__libc_vfork): New strong alias.
18035         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18036         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18038         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18039         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18040         (__libc_vfork): New strong alias.
18041         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18042         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18044         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18045         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18046         (__libc_vfork): New strong alias.
18047         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18048         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18049         * nptl/pt-vfork.c: New file.
18050         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18051         (libpthread: GLIBC_2.20): New version set (empty).
18053 2014-05-14  Will Newton  <will.newton@linaro.org>
18055         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18056         rather than #if.
18058 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18060         [BZ #16564]
18061         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18062         arguments with exponent 65 or above.
18063         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18064         arguments 0x1p113L or above.
18065         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18066         to arguments 0x1p107L or above.
18067         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18068         positive arguments with exponent 65 or above.
18069         * math/auto-libm-test-in: Add more tests of log1p.
18070         * math/auto-libm-test-out: Regenerated.
18072         [BZ #16928]
18073         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18074         non-finite arguments is +0.
18075         * math/s_cacosf.c (__cacosf): Likewise.
18076         * math/s_cacosl.c (__cacosl): Likewise.
18077         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18078         * sysdeps/i386/fpu/libm-test-ulps: Update.
18079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18081         [BZ #16927]
18082         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18083         value.
18084         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18085         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18086         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18087         for explicit high bit of mantissa when testing for argument equal
18088         to 1.
18089         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18090         * sysdeps/i386/fpu/libm-test-ulps: Update.
18091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18093         [BZ #16516]
18094         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18095         (__erf): Scale by 16 instead of 8 in potentially underflowing
18096         case.  Ensure exception if result actually underflows.
18097         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18098         (__erff): Scale by 16 instead of 8 in potentially underflowing
18099         case.  Ensure exception if result actually underflows.
18100         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18101         (efx8): Remove variable.
18102         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18103         case.  Ensure exception if result actually underflows.
18104         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18105         (efx8): Remove variable.
18106         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18107         case.  Ensure exception if result actually underflows.
18108         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18109         (efx8): Remove variable.
18110         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18111         case.  Ensure exception if result actually underflows.
18112         * math/auto-libm-test-in: Add more tests of erf.
18113         * math/auto-libm-test-out: Regenerated.
18115 2014-05-14  Andreas Schwab  <schwab@suse.de>
18117         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18118         Remove code conditionalized on USE___THREAD.
18120         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18121         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18122         not definedness.
18124 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18126         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18127         Define unconditionally.
18128         (__ASSUME_O_CLOEXEC): Likewise.
18129         (__ASSUME_SOCK_CLOEXEC): Likewise.
18130         (__ASSUME_IN_NONBLOCK): Likewise.
18131         (__ASSUME_PIPE2): Likewise.
18132         (__ASSUME_EVENTFD2): Likewise.
18133         (__ASSUME_SIGNALFD4): Likewise.
18134         (__ASSUME_DUP3): Likewise.
18135         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18136         (__ASSUME_DUP3): Do not define.
18137         (__ASSUME_EVENTFD2): Likewise.
18138         (__ASSUME_IN_NONBLOCK): Likewise.
18139         (__ASSUME_O_CLOEXEC): Likewise.
18140         (__ASSUME_PIPE2): Likewise.
18141         (__ASSUME_SIGNALFD4): Likewise.
18142         (__ASSUME_SOCK_CLOEXEC): Likewise.
18143         (__ASSUME_UTIMES): Undefine.
18144         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18145         (__ASSUME_UTIMES): Do not define.
18146         (__ASSUME_O_CLOEXEC): Likewise.
18147         (__ASSUME_SOCK_CLOEXEC): Likewise.
18148         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18149         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18150         0x020621].
18151         (__ASSUME_PIPE2): Likewise.
18152         (__ASSUME_EVENTFD2): Likewise.
18153         (__ASSUME_SIGNALFD4): Likewise.
18154         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18155         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18156         Do not define.
18157         (__ASSUME_EVENTFD2): Likewise.
18158         (__ASSUME_SIGNALFD4): Likewise.
18159         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18160         (__ASSUME_32BITUIDS): Likewise.
18161         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18162         (__ASSUME_IPC64): Likewise.
18163         (__ASSUME_ST_INO_64_BIT): Likewise.
18164         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18165         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18166         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18167         (__ASSUME_UTIMES): Do not define.
18168         (__ASSUME_PSELECT): Likewise.
18169         (__ASSUME_PPOLL): Likewise.
18170         (__ASSUME_O_CLOEXEC): Likewise.
18171         (__ASSUME_SOCK_CLOEXEC): Likewise.
18172         (__ASSUME_IN_NONBLOCK): Likewise.
18173         (__ASSUME_PIPE2): Likewise.
18174         (__ASSUME_EVENTFD2): Likewise.
18175         (__ASSUME_SIGNALFD4): Likewise.
18176         (__ASSUME_DUP3): Likewise.
18177         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18178         (__ASSUME_UTIMES): Likewise.
18179         (__ASSUME_O_CLOEXEC): Likewise.
18180         (__ASSUME_SOCK_CLOEXEC): Likewise.
18181         (__ASSUME_IN_NONBLOCK): Likewise.
18182         (__ASSUME_PIPE2): Likewise.
18183         (__ASSUME_EVENTFD2): Likewise.
18184         (__ASSUME_SIGNALFD4): Likewise.
18185         (__ASSUME_DUP3): Likewise.
18186         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18187         (__ASSUME_UTIMES): Likewise.
18188         (__ASSUME_O_CLOEXEC): Likewise.
18189         (__ASSUME_SOCK_CLOEXEC): Likewise.
18190         (__ASSUME_IN_NONBLOCK): Likewise.
18191         (__ASSUME_PIPE2): Likewise.
18192         (__ASSUME_EVENTFD2): Likewise.
18193         (__ASSUME_SIGNALFD4): Likewise.
18194         (__ASSUME_DUP3): Likewise.
18195         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18196         Likewise.
18197         (__ASSUME_UTIMES): Likewise.
18198         (__ASSUME_EVENTFD2): Likewise.
18199         (__ASSUME_SIGNALFD4): Likewise.
18200         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18201         (__ASSUME_O_CLOEXEC): Likewise.
18202         (__ASSUME_SOCK_CLOEXEC): Likewise.
18203         (__ASSUME_IN_NONBLOCK): Likewise.
18204         (__ASSUME_PIPE2): Likewise.
18205         (__ASSUME_EVENTFD2): Likewise.
18206         (__ASSUME_SIGNALFD4): Likewise.
18207         (__ASSUME_DUP3): Likewise.
18208         (__ASSUME_UTIMES): Undefine.
18210         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18211         feclearexcept.  Remove symbol versioning code.
18212         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18213         symbol versioning code.
18214         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18215         symbol versioning code.
18216         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18217         feupdateenv.  Remove symbol versioning code.
18218         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18219         fegetexceptflag.  Remove symbol versioning code.
18220         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18221         fesetexceptflag.  Remove symbol versioning code.
18222         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18223         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18224         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18225         (__posix_fadvise64_l32): Remove prototype.
18226         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18227         code.
18229 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18231         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18232         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18233         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18234         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18236 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18238         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18239         current working directory
18241 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18243         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18244         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18245         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18246         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18247         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18248         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18249         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18250         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18251         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18252         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18253         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18254         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18255         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18256         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18257         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18258         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18259         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18260         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18261         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18262         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18263         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18264         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18265         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18266         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18267         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18268         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18269         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18270         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18271         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18272         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18273         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18274         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18275         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18276         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18277         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18278         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18279         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18280         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18281         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18282         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18283         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18284         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18286         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18287         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18289         * sysdeps/unix/sysv/linux/arm/Makefile
18290         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18291         Add rt-aeabi_unwind_cpp_pr1.
18292         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18293         Add nptl-aeabi_unwind_cpp_pr1.
18294         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18295         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18296         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18297         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18298         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18299         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18301         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18302         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18303         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18304         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18306         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18307         Deconditionalize the code that was previously under [RESET_PID].
18308         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18310         * sysdeps/generic/exit-thread.h: New file.
18311         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18312         * include/unistd.h (__exit_thread): Remove declaration.
18313         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18314         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18315         * csu/libc-start.c: Include <exit-thread.h>.
18316         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18317         * nptl/pthread_create.c: Include <exit-thread.h>.
18318         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18319         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18320         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18321         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18322         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18323         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18324         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18325         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18326         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18327         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18328         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18329         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18330         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18331         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18332         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18333         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18334         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18336 2014-05-13  Andreas Schwab  <schwab@suse.de>
18338         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18340 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18342         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18343         (__ASSUME_UTIMES): Do not condition on kernel version.
18344         (__ASSUME_PSELECT): Define unconditionally.
18345         (__ASSUME_PPOLL): Likewise.
18346         (__ASSUME_ATFCTS): Likewise.
18347         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18348         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18349         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18350         (__ASSUME_UTIMENSAT): Define unconditionally.
18351         (__ASSUME_PRIVATE_FUTEX): Likewise.
18352         (__ASSUME_FALLOCATE): Likewise.
18353         (__ASSUME_O_CLOEXEC): Likewise.
18354         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18355         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18356         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18357         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18358         (__ASSUME_IN_NONBLOCK): Likewise.
18359         (__ASSUME_PIPE2): Likewise.
18360         (__ASSUME_EVENTFD2): Likewise.
18361         (__ASSUME_SIGNALFD4): Likewise.
18362         (__ASSUME_DUP3): Likewise.
18363         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18364         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18365         (__ASSUME_AT_RANDOM): Likewise.
18366         (__ASSUME_PREADV): Likewise.
18367         (__ASSUME_PWRITEV): Likewise.
18368         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18369         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18370         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18371         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18372         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18373         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18374         (__ASSUME_O_CLOEXEC): Define unconditionally.
18375         (__ASSUME_PSELECT): Do not undefine conditionally.
18376         (__ASSUME_PPOLL): Likewise.
18377         (__ASSUME_ATFCTS): Likewise.
18378         (__ASSUME_SET_ROBUST_LIST): Likewise.
18379         (__ASSUME_UTIMENSAT): Likewise.
18380         (__ASSUME_FDATASYNC): Define unconditionally.
18381         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18382         (__ASSUME_SIGFRAME_V2): Likewise.
18383         )__ASSUME_EVENTFD2): Likewise.
18384         (__ASSUME_SIGNALFD4): Likewise.
18385         (__ASSUME_PSELECT): Do not undefine conditionally.
18386         (__ASSUME_PPOLL): Likewise.
18387         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18388         (__ASSUME_PSELECT): Define unconditionally.
18389         (__ASSUME_PPOLL): Likewise.
18390         (__ASSUME_O_CLOEXEC): Likewise.
18391         (__ASSUME_SOCK_CLOEXEC): Likewise.
18392         (__ASSUME_IN_NONBLOCK): Likewise.
18393         (__ASSUME_PIPE2): Likewise.
18394         (__ASSUME_EVENTFD2): Likewise.
18395         (__ASSUME_SIGNALFD4): Likewise.
18396         (__ASSUME_DUP3): Likewise.
18397         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18398         (__ASSUME_O_CLOEXEC): Likewise.
18399         (__ASSUME_SOCK_CLOEXEC): Likewise.
18400         (__ASSUME_IN_NONBLOCK): Likewise.
18401         (__ASSUME_PIPE2): Likewise.
18402         (__ASSUME_EVENTFD2): Likewise.
18403         (__ASSUME_SIGNALFD4): Likewise.
18404         (__ASSUME_DUP3): Likewise.
18405         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18406         (__ASSUME_EVENTFD2): Likewise.
18407         (__ASSUME_SIGNALFD4): Likewise.
18408         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18410 2014-05-12  Andreas Schwab  <schwab@suse.de>
18412         [BZ #16932]
18413         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18414         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18415         than maximum RPC packet size.
18416         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18417         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18418         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18419         (_nss_nis_getservbyport_r): Likewise.
18421 2014-05-12  Will Newton  <will.newton@linaro.org>
18423         * malloc/Makefile (tests): Add tst-mallopt.
18424         * malloc/tst-mallopt.c: New file.
18426 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18428         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18429         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18431 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18433         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18434         (tst-tlsmod6.so): Likewise.
18436 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18438         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18440 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18442         [BZ #16064]
18443         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18444         and <dl-procinfo.h>.
18445         (__fegetenv): Save SSE state in envp->__eip if supported.
18446         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18447         envp->__eip if supported.
18448         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18449         and <dl-procinfo.h>.
18450         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18451         __data_offset and __data_selector in environment to 0.  Set SSE
18452         state if supported.
18453         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18454         test-fenv-sse.
18455         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18456         -mfpmath=sse.
18457         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18459 2014-05-09  Will Newton  <will.newton@linaro.org>
18461         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18462         and libc_relro_required for ARM.
18463         * sysdeps/arm/preconfigure: Regenerate.
18465 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18466             Stefan Liebler  <stli@linux.vnet.ibm.com>
18468         * config.make.in (enable-lock-elision): New Makefile variable.
18469         * configure.ac: Likewise.
18470         * configure: Regenerate.
18471         * sysdeps/s390/configure.ac:
18472         Add check for gcc transactions support.
18473         * sysdeps/s390/configure: Regenerate.
18474         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18475         Build elision files if enabled.
18476         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18477         Add lock elision support for s390.
18478         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18479         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18480         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18481         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18482         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18483         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18484         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18485         Likewise.
18486         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18487         Likewise.
18488         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18489         Likewise.
18490         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18491         Likewise.
18492         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18493         (__lll_timedlock_elision, __lll_lock_elision)
18494         (__lll_unlock_elision, __lll_trylock_elision)
18495         (lll_timedlock_elision, lll_lock_elision)
18496         (lll_unlock_elision, lll_trylock_elision): Add.
18497         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18498         (pthread_mutex_t): Add lock elision support for s390.
18500 2014-05-14  Wilco  <wdijkstr@arm.com>
18502         * sysdeps/arm/fclrexcpt.c: Cleanup.
18503         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18504         * sysdeps/arm/feenablxcpt.c: Cleanup.
18505         * sysdeps/arm/fegetenv.c: Cleanup.
18506         * sysdeps/arm/fegetexcept.c: Cleanup.
18507         * sysdeps/arm/fegetround.c: Cleanup.
18508         * sysdeps/arm/feholdexcpt.c: Cleanup.
18509         * sysdeps/arm/fesetenv.c: Cleanup.
18510         * sysdeps/arm/fesetround.c: Cleanup.
18511         * sysdeps/arm/feupdateenv.c: Cleanup.
18512         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18513         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18514         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18515         * sysdeps/arm/ftestexcept.c: Cleanup.
18516         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18517         * sysdeps/arm/setfpucw.c: Cleanup.
18519 2014-05-09  Will Newton  <will.newton@linaro.org>
18521         * sysdeps/arm/armv7/strcmp.S: New file.
18522         * NEWS: Mention addition of ARMv7 optimized strcmp.
18524 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18526         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18527         look for %.ac rather than %.in.
18529         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18530         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18531         * sysdeps/mach/hurd/configure: Regenerated.
18532         * sysdeps/unix/sysv/linux/configure: Regenerated.
18534         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18536 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18538         [BZ# 16922]
18539         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18540         (LONG_SUB): Ditto.
18541         (PTR_SUB): Ditto.
18543 2014-05-07  Andreas Schwab  <schwab@suse.de>
18545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18546         when skipping over non-matching result from nscd.
18548 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18550         [BZ #16876]
18551         * nptl/sockperf.c (client): Check socket return value.
18553         [BZ #16877]
18554         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18555         nscd security class.
18557 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18559         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18560         * sysdeps/arm/unwind.h: ... here.
18562 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18564         [BZ# 16916]
18565         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18566         Define.
18568 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18570         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18571         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18572         multiarch strncpy for PPC64.
18573         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18574         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18576         multiarch optimizations.
18577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18578         (__libc_ifunc_impl_list): Likewise.
18579         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18580         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18581         multiarch stpncpy for PPC64.
18582         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18583         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18585 2014-05-06  Andreas Schwab  <schwab@suse.de>
18587         [BZ #16912]
18588         * gmon/mcount.c (_MCOUNT_DECL): Use
18589         atomic_compare_and_exchange_bool_acq instead of
18590         catomic_compare_and_exchange_bool_acq.
18592 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18594         * elf/Makefile (others, install-bin): Remove pldd.
18595         (pldd-modules): Variable removed.
18596         ($(objpfx)pldd): Target removed.
18597         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18598         (others, install-bin): Append pldd here.
18599         ($(objpfx)pldd): New target.
18601         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18602         to 0, so the first #if test emitted later doesn't see it undefined.
18603         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18604         * sysdeps/gnu/errlist.c: Regenerated.
18606 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18608         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18609         [libc_hidden_builtin_def]: Define to empty value.
18610         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18611         [libc_hidden_builtin_def]: Likewise.
18612         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18613         [libc_hidden_builtin_def]: Likewise.
18614         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18615         [libc_hidden_builtin_def]: Likewise.
18616         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18617         __redirect_memcpy and define ifunc as default hidden symbol.
18618         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18619         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18621 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18623         * locale/iso-4217.def: Reintroduce XDR currency.
18625 2014-05-04  Allan McRae  <allan@archlinux.org>
18627         * po/eo.po: Update Esperanto translation from translation project.
18629 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18631         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18632         and FEATURE_INDEX_MAX to 1.
18633         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18635 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18637         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18638         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18639         * iconvdata/big5.c (ONE_DIRECTION): Define.
18640         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18641         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18642         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18643         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18644         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18645         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18646         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18647         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18648         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18649         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18650         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18651         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18652         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18653         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18654         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18655         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18656         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18657         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18658         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18659         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18660         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18661         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18662         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18663         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18664         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18665         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18666         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18667         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18668         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18669         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18670         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18671         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18672         * iconvdata/johab.c (ONE_DIRECTION): Define.
18673         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18674         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18675         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18676         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18677         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18678         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18679         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18680         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18681         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18682         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18684 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18686         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18687         (_IO_JUMPS_OFFSET): Define to 0.
18689         * nptl/sysdeps/pthread/bits/libc-lock.h
18690         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18691         (__libc_lock_define_initialized_recursive): Always define using
18692         initializer.  Modern compilers treat uninitialized (implicit zero) and
18693         explicit zero initializers the same (i.e. put the datum in bss).
18695 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18697         * nscd/nscd-client.h: Include <string.h>.
18699 2014-05-01  David S. Miller  <davem@davemloft.net>
18701         [BZ #16885]
18702         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18703         multiple zero bytes exist at the end of a string.
18704         Reported by Aurelien Jarno <aurelien@aurel32.net>
18706         * string/test-strcmp.c (check): Add explicit test for situations where
18707         there are multiple zero bytes after the first.
18709 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18711         [BZ #16890]
18712         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18713         when compiling wprintf.
18714         * stdio-common/tstdiomisc.c (t3): New function.
18715         (main): Call it.
18717 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18719         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18720         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18721         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18722         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18724 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18726         * stdlib/longlong.h: Updated from GCC.
18728 2014-05-01  Will Newton  <will.newton@linaro.org>
18729             Bernard Ogden  <bernie.ogden@linaro.org>
18731         * NEWS: Update fixed bug list.
18733         [BZ #15119]
18734         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18736 2014-04-30  David S. Miller  <davem@davemloft.net>
18738         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18739         (libc_feholdexcept_setround_sparc_ctx): New function.
18740         (libc_fesetenv_sparc_ctx): Likewise.
18741         (libc_feupdateenv_sparc_ctx): Likewise.
18742         (libc_feholdsetround_sparc_ctx): Likewise.
18743         (libc_feholdexcept_setround_ctx): Define.
18744         (libc_feholdexcept_setroundf_ctx): Likewise.
18745         (libc_feholdexcept_setroundl_ctx): Likewise.
18746         (libc_fesetenv_ctx): Likewise.
18747         (libc_fesetenvf_ctx): Likewise.
18748         (libc_fesetenvl_ctx): Likewise.
18749         (libc_feupdateenv_ctx): Likewise.
18750         (libc_feupdateenvf_ctx): Likewise.
18751         (libc_feupdateenvl_ctx): Likewise.
18752         (libc_feresetround_ctx): Likewise.
18753         (libc_feresetroundf_ctx): Likewise.
18754         (libc_feresetroundl_ctx): Likewise.
18755         (libc_feholdsetround_ctx): Likewise.
18756         (libc_feholdsetroundf_ctx): Likewise.
18757         (libc_feholdsetroundl_ctx): Likewise.
18759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18760         with __USE_GNU instead of XOPEN cpp guards.
18762         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18763         0.
18765         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18766         with XOPEN cpp guards.
18768 2014-04-30  Julian Brown  <julian@codesourcery.com>
18770         [BZ #16888]
18771         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18772         handling.
18774 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18776         [BZ #9894]
18777         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18778         Change to 2.6.32.
18779         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18780         * sysdeps/unix/sysv/linux/configure: Regenerated.
18781         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18782         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18783         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18784         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18785         * README: Update reference to required Linux kernel version.
18786         * manual/install.texi (Linux): Update reference to required Linux
18787         kernel headers version.
18788         * INSTALL: Regenerated.
18790         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18791         header inclusion.
18792         [POSIX] (limits.h): Likewise.
18793         [POSIX] (math.h): Likewise.
18794         [POSIX] (sys/wait.h): Likewise.
18795         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18796         function.
18797         [POSIX] (stddef.h): Do not allow header inclusion.
18799 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18801         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18803 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18805         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18806         Return immediately after lll_futex_wake.
18808 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18810         [BZ #16791]
18811         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18812         structure.
18813         (datahead_init_pos): Call datahead_init_common early.
18814         (datahead_init_neg): Likewise.
18816         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18817         datahead_init_neg): New functions.
18818         * nscd/aicache.c (addhstaiX): Use them.
18819         * nscd/grpcache.c (cache_addgr): Likewise.
18820         * nscd/hstcache.c (cache_addhst): Likewise.
18821         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18822         * nscd/netgroupcache.c (do_notfound): Likewise.
18823         (addgetnetgrentX): Likewise.
18824         (addinnetgrX): Likewise.
18825         * nscd/pwdcache.c (cache_addpw): Likewise.
18826         * nscd/servicescache.c (cache_addserv): Likewise.
18828 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18829             Atsushi Onoe  <atsushi@onoe.org>
18831         [BZ #14308]
18832         [BZ #12994]
18833         [BZ #13651]
18834         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18835         one response is valid.
18836         * resolv/res_send.c (send_dg): Check for validity of other
18837         response if the current response is a referral.
18839 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18841         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18843 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18845         [BZ #16823]
18846         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18847         Always divide by positive zero when computing -Inf result.
18848         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18849         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18851 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18853         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18854         FPSCR if value do not change.
18855         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18856         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18857         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18858         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18859         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18860         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18861         function.
18863 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18865         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18866         * sysdeps/unix/sysv/linux/hppa: Move directory from
18867         ports/systeps/unix/sysv/linux/hppa.
18868         * README: Update listing for hppa-*-linux-gnu.
18870 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18872         [BZ #16754]
18873         * manual/stdio.texi (Hook functions): Fix types of stream hook
18874         functions.
18875         [BZ #16854]
18876         * socket/sys/socket.h: Fix typo in comment.
18878 2014-04-28  Wilco  <wdijkstr@arm.com>
18880         * sysdeps/arm/fenv_private.h: New file.
18881         * sysdeps/arm/math_private.h: New file.
18882         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18884 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18886         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18887         with __int128_t.
18888         (La_x86_64_retval): Likewise.
18890 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18892         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18893         fpsr if value didn't change.
18894         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18895         to fpcr if value didn't change.
18896         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18897         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18898         fpsr or fpcr if value didn't change.
18899         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18900         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18901         fpcr if value didn't change.
18902         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18903         to fpsr if value didn't change.
18905 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18907         * nptl/tst-sem3.c: Use test-skeleton.c
18908         (main): Rename to do_test.  Use return instead of
18909         exit.
18910         * nptl/tst-sem4.c: Use test-skeleton.c
18911         (main): Rename to do_test.
18913 2014-04-22  David S. Miller  <davem@davemloft.net>
18915         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18916         (struct sigaction): New struct member __glibc_reserved0, change
18917         type of sa_flags to int.
18919 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18921         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18922         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18924 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18926         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18927         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18929 2014-04-22  Will Newton  <will.newton@linaro.org>
18930             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18932         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18933         (__longjmp): Add longjmp and longjmp_target SystemTap
18934         probes.
18935         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18936         (__sigsetjmp): Add setjmp SystemTap probe.
18938 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18940         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18941         match manual order.
18943 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18945         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18947         * sysdeps/powerpc/fpu/fenv_private.h
18948         (libc_feholdexcept_setroundl_ctx): Define to
18949         libc_feholdexcept_setround_ppc_ctx.
18950         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18951         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18952         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18953         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18955 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18957         * sysdeps/aarch64/math-tests.h: New file.
18959 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18961         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18962         New.
18963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18964         Check and set bit_AVX2_Usable.
18965         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18966         macro.
18967         (bit_AVX2): Likewise.
18968         (index_AVX2_Usable): Likewise.
18969         (CPUID_AVX2): Likewise.
18970         (HAS_AVX2): Likewise.
18972 2014-04-17  Will Newton  <will.newton@linaro.org>
18974         * manual/setjmp.texi (System V contexts): Add note that
18975         calling setcontext on a context created by a call to a
18976         signal handler is undefined.  Update text to note that
18977         setcontext from a signal handler is possible but not
18978         recommended.
18980         [BZ #16629]
18981         * stdlib/tst-setcontext.c: Include signal.h.
18982         (main): Check that the signal stack before and
18983         after swapcontext is the same.
18985         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18986         Re-implement to restore registers in user code and avoid
18987         rt_sigreturn system call.
18989 2014-04-17  Wilco  <wdijkstr@arm.com>
18991         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18992         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18993         * math/test-fenv.c: Skip exception trap tests on targets which only
18994         support non-stop mode.
18996 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18997             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18999         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19000         (libc_feholdsetround_aarch64_ctx)
19001         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19002         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19003         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19004         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19005         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19006         (libc_feresetround_noexl_ctx): Define.
19008 2014-04-16  Richard Henderson  <rth@redhat.com>
19010         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19012         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19013         unwind tables.
19015         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19016         const from the non-libc, non-ldso copy.
19018         * sysdeps/alpha/libm-test-ulps: Regenerate.
19020 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19021             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19023         * sysdeps/aarch64/fpu/math_private.h: New file.
19025 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19027         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19029 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19031         [BZ #16275]
19032         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19033         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19034         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19035         Intel MPX bound registers before _dl_profile_fixup.
19036         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19037         registers after _dl_profile_fixup.  Save and restore bound
19038         registers bnd0/bnd1 when calling _dl_call_pltexit.
19039         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19040         (LR_BND_OFFSET): Likewise.
19041         (LRV_BND0_OFFSET): Likewise.
19042         (LRV_BND1_OFFSET): Likewise.
19044 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19046         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19047         to...
19048         * sysdeps/mach/hurd/i386/tls.h: ... here.
19049         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19050         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19051         fields.
19053 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19055         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19057 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19059         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19061 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19063         [BZ #14770]
19064         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19065         * sysdeps/s390/configure: Regenerate.
19067         [BZ #16824]
19068         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19069         Set round-to-nearest internally to reduce error accumulation.
19071 2014-04-16  Alan Modra  <amodra@gmail.com>
19073         [BZ #16740]
19074         [BZ #16619]
19075         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19076         * math/libm-test.inc (frexp_test_data): Add tests.
19077         * NEWS: Update fixed bug list.
19079 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19081         * benchtests/Makefile: Depend on libraries in build directory.
19082         (bench-math): Separate out math tests.
19083         (bench-pthread): Separate out pthread tests.
19084         (bench): Include math and pthread tests.
19086 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19088         [BZ #16831]
19089         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19090         _dl_debug_initialize.
19092         * configure.ac: Remove SELinux header check.
19093         * configure: Regenerate.
19094         * nscd/selinux.c (perms): Array of const char* to permission names.
19095         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19096         default policy. Call string_to_security_class and string_to_av_perm to
19097         translate strings. Enforce default policy and call avs_has_perm with
19098         results of translated strings.
19100 2014-04-13  David S. Miller  <davem@davemloft.net>
19102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19104 2014-04-12  Allan McRae  <allan@archlinux.org>
19106         [BZ #16838]
19107         * manual/string.texi (Collation Functions): Fix qsort argument
19108         order in example.
19109         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19111 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19113         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19114         Make the test a no-op if there are no exceptions defined.
19116 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19118         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19119         enable-hardcoded-path-in-tests
19121 2014-04-11  Will Newton  <will.newton@linaro.org>
19123         * benchtests/Makefile (extra-objs): Add json-lib.o.
19124         (bench-func): Tidy up JSON output.
19125         * benchtests/bench-skeleton.c: Include json-lib.h.
19126         (main): Use JSON library functions to do output of
19127         benchmark results.
19128         * benchtests/bench-timing-type.c (main): Output the
19129         timing type simply, leaving formatting to the user.
19130         * benchtests/json-lib.c: New file.
19131         * benchtests/json-lib.h: Likewise.
19133 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19135         [BZ #15215]
19136         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19137         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19138         memory barriers.  Add comments.
19139         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19140         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19141         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19142         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19143         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19144         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19146 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19148         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19149         * sysdeps/s390/s390-64/configure.ac: ... this ...
19150         * sysdeps/s390/configure.ac: ... to here.
19151         * sysdeps/s390/s390-32/configure: Delete file.
19152         * sysdeps/s390/s390-64/configure: Delete file.
19153         * sysdeps/s390/configure: Regenerate.
19155 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19157         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19159 2014-04-11  Will Newton  <will.newton@linaro.org>
19161         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19162         to zero if it is not defined elsewhere.  (mtrim): Test
19163         the value of MALLOC_DEBUG with #if rather than #ifdef.
19165 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19167         * benchtests/pthread_once-inputs: New file.
19168         * benchtests/pthread_once-source.c: New file.
19169         * benchtests/README: Update documentation.
19171 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19172             H.J. Lu  <hongjiu.lu@intel.com>
19174         [BZ #16275]
19175         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19176         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19177         * sysdeps/x86_64/configure: Regenerated.
19178         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19179         macro.
19180         (REGISTER_SAVE_RAX): Likewise.
19181         (REGISTER_SAVE_RCX): Likewise.
19182         (REGISTER_SAVE_RDX): Likewise.
19183         (REGISTER_SAVE_RSI): Likewise.
19184         (REGISTER_SAVE_RDI): Likewise.
19185         (REGISTER_SAVE_R8): Likewise.
19186         (REGISTER_SAVE_R9): Likewise.
19187         (REGISTER_SAVE_BND0): Likewise.
19188         (REGISTER_SAVE_BND1): Likewise.
19189         (REGISTER_SAVE_BND2): Likewise.
19190         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19191         bound registers when calling _dl_fixup.
19193 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19195         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19196         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19197         of its definition.
19198         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19199         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19200         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19201         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19202         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19203         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19204         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19206 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19208         [BZ #15514]
19209         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19210         pathconf(_PC_NAME_MAX).
19212 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19214         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19215         Remove macro usage.
19216         (__PTHREAD_SPINS): Move definition to ...
19217         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19218         (__PTHREAD_SPINS): ... here.
19219         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19220         (__PTHREAD_SPIN): Likewise.
19221         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19222         (__PTHREAD_SPIN): Likewise.
19223         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19224         (__PTHREAD_SPIN): Likewise.
19225         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19226         (__PTHREAD_SPIN): Likewise.
19227         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19228         (__PTHREAD_SPIN): Likewise.
19229         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19230         (__PTHREAD_SPIN): Likewise.
19231         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19232         (__PTHREAD_SPIN): Likewise.
19233         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19234         (__PTHREAD_SPIN): Likewise.
19235         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19236         (__PTHREAD_SPIN): Likewise.
19237         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19238         (__PTHREAD_SPIN): Likewise.
19239         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19240         (__PTHREAD_SPIN): Likewise.
19241         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19242         (__PTHREAD_SPIN): Likewise.
19244         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19245         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19246         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19247         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19248         imply folder.
19249         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19250         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19251         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19252         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19253         correct imply path.
19254         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19255         strlen symbol for non multi-arch builds.
19256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19257         missing hidden_def and weak_alias.
19259 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19261         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19263 2014-04-07  Will Newton  <will.newton@linaro.org>
19265         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19266         and contents.  [!_LIBC] Remove #ifndef and contents.
19267         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19268         * string/memccpy.c (__memccpy): Use ANSI prototype.
19269         * string/memfrob.c (memfrob): Likewise.
19270         * string/strcoll.c (STRCOLL): Likewise.
19271         * string/strlen.c (strlen): Likewise.
19272         * string/strtok.c (STRTOK): Likewise.
19273         * string/strcat.c: Remove unused #include of memcopy.h.
19274         (strcat): Use ANSI prototype.
19275         * string/strchr.c: Remove unused #include of memcopy.h.
19276         (strchr): Use ANSI prototype.
19277         * string/strcmp.c: Remove unused #include of memcopy.h.
19278         (strcmp): Use ANSI prototype.
19279         * string/strcpy.c: Remove unused #include of memcopy.h.
19280         (strcpy): Use ANSI prototype.
19282 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19284         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19285         * config.make.in (config-extra-cppflags): Set it from
19286         libc_extra_cppflags.
19287         * configure.ac (libc_extra_cflags): Make it accumulate over
19288         configure fragments.
19289         (libc_extra_cppflags): New flag.
19290         * configure. Regenerate.
19291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19292         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19293         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19296         [BZ #16815]
19297         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19298         result for FE_DOWNWARD rounding mode.
19299         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19300         Likewise.
19301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19303 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19305         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19306         in function argument name.
19308 2014-04-03  David Svoboda  <svoboda@cert.org>
19310         [BZ #5666]
19311         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19312         explicitly.
19314 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19316         * elf/dl-unmap-segments.h: New file.
19317         * sysdeps/generic/ldsodefs.h
19318         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19319         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19320         * elf/dl-fptr.c: Likewise.
19321         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19322         * sysdeps/aarch64/tlsdesc.c: Likewise.
19323         * sysdeps/arm/tlsdesc.c: Likewise.
19324         * sysdeps/i386/tlsdesc.c: Likewise.
19325         * sysdeps/tile/dl-runtime.c: Likewise.
19326         * sysdeps/x86_64/tlsdesc.c: Likewise.
19327         * elf/dl-load.h: New file.
19328         * elf/dl-load.c: Include it.
19329         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19330         Macros moved to dl-load.h.
19331         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19332         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19333         Use _dl_unmap_segments in place of __munmap.
19334         Break out segment-mapping loop into ...
19335         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19337 2014-04-03  Will Newton  <will.newton@linaro.org>
19339         * elf/dl-lookup.c (do_lookup_x): Remove comment
19340         referring to nested function and move variable
19341         declarations down to before first use.
19343 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19345         [BZ #16799]
19346         [BZ #16800]
19347         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19348         with 0 numerator.
19349         * math/s_catanf.c (__catanf): Likewise.
19350         * math/s_catanh.c (__catanh): Likewise.
19351         * math/s_catanhf.c (__catanhf): Likewise.
19352         * math/s_catanhl.c (__catanhl): Likewise.
19353         * math/s_catanl.c (__catanl): Likewise.
19354         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19355         by positive zero when computing -Inf result.
19356         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19357         (catanh_test): Likewise.
19358         * sysdeps/i386/fpu/libm-test-ulps: Update.
19359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19361         [BZ #16789]
19362         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19363         instead of using underflowing value in computing result.
19364         * math/s_clog10.c (__clog10): Likewise.
19365         * math/s_clog10f.c (__clog10f): Likewise.
19366         * math/s_clog10l.c (__clog10l): Likewise.
19367         * math/s_clogf.c (__clogf): Likewise.
19368         * math/s_clogl.c (__clogl): Likewise.
19369         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19370         (clog10_test): Likewise.
19371         * sysdeps/i386/fpu/libm-test-ulps: Update.
19372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19374 2014-04-02  Alan Modra  <amodra@gmail.com>
19376         [BZ #16739]
19377         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19378         output when value is near a power of two.  Use int64_t for lx and
19379         remove casts.  Use decimal rather than hex exponent constants.
19380         Don't use long double multiplication when double will suffice.
19381         * math/libm-test.inc (nextafter_test_data): Add tests.
19382         * NEWS: Add 16739 and 16786 to bug list.
19384         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19386         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19388 2014-04-01  Will Newton  <will.newton@linaro.org>
19390         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19391         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19393 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19395         [BZ #13347]
19396         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19397         * nptl/tst-setuid2.c: New file.
19398         * nptl/Makefile (xtests): Add tst-setuid2.
19400 2014-04-01  Alan Modra  <amodra@gmail.com>
19402         [BZ #16786]
19403         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19405 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19407         [BZ #6803]
19408         [BZ #6804]
19409         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19410         set errno as appropriate.
19411         * math/w_scalbf.c (__scalbf): Likewise.
19412         * math/w_scalbl.c (__scalbl): Likewise.
19413         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19414         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19415         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19416         Add more NaN tests.
19418         [BZ #16349]
19419         * math/w_atan2.c: Include <errno.h>.
19420         (__atan2): Set errno for result underflowing to zero.
19421         * math/w_atan2f.c: Include <errno.h>.
19422         (__atan2f): Set errno for result underflowing to zero.
19423         * math/w_atan2l.c: Include <errno.h>.
19424         (__atan2l): Set errno for result underflowing to zero.
19425         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19426         tests.
19427         * math/auto-libm-test-out: Regenerated.
19429 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19431         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19432         Encode instruction correctly in little endian.
19433         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19434         Likewise.
19435         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19436         Likewise.
19437         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19438         Likewise.
19439         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19440         Likewise.
19442 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19444         [BZ #9894]
19445         * sysdeps/unix/sysv/linux/kernel-features.h
19446         [__sparc__ && !__arch64__ && !__sparc_v9__]
19447         (__ASSUME_SET_ROBUST_LIST): Do not define.
19448         [__sparc__ && !__arch64__ && !__sparc_v9__]
19449         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19450         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19451         Likewise.
19452         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19453         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19454         (__ASSUME_REQUEUE_PI): Likewise.
19455         (__ASSUME_SET_ROBUST_LIST): Likewise.
19456         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19457         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19458         Undefine.
19459         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19460         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19461         Likewise.
19462         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19463         Likewise.
19464         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19465         Likewise.
19466         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19467         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19468         Undefine.
19469         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19470         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19471         Likewise.
19473         [BZ #16648]
19474         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19475         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19476         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19478 2014-03-31  Will Newton  <will.newton@linaro.org>
19480         * benchtests/Makefile (bench): Add ffs and ffsll to list
19481         of tests.
19482         * benchtests/ffs-inputs: New file.
19483         * benchtests/ffsll-inputs: Likewise.
19485 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19487         [BZ #16770]
19488         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19489         too large before casting to int.
19490         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19491         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19492         * math/libm-test.inc (scalb_test_data): Add more tests.
19494 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19496         * benchtests/Makefile (DETAILED_OPT): New make option.
19497         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19498         set.
19499         * benchtests/bench-skeleton.c: Include stdbool.h.
19500         (main): Store and print timings per input.
19501         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19502         member to each argument value.
19503         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19504         (_print_arg_data): Initialize per-input timing to 0.
19506         * benchtests/Makefile (timing-type): New binary.
19507         (bench-clean): Also remove bench-timing-type.
19508         (bench): New target for timing-type.
19509         (bench-func): Print output in JSON format.
19510         * benchtests/bench-skeleton.c (main): Print output in JSON
19511         format.
19512         * benchtests/bench-timing-type.c: New file.
19513         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19514         (TIMING_PRINT_STATS): Remove.
19515         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19516         name separately.
19518         * benchtests/bench-modf.c: Remove.
19519         * benchtests/modf-inputs: New inputs file.
19521 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19523         [BZ #16362]
19524         * math/s_clog10.c (M_PI_LOG10E): New macro.
19525         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19526         imaginary parts are 0.
19527         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19528         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19529         imaginary parts are 0.
19530         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19531         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19532         imaginary parts are 0.
19533         * math/libm-test.inc (clog10_test_data): Update expected results
19534         for when real and imaginary parts are 0.
19536 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19538         * elf/dl-load.c: Finish conversion of __builtin_expect into
19539         __glibc_{un}likely.
19541 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19543         [BZ #16348]
19544         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19545         1+x for argument with exponent below -67.
19546         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19547         Likewise.
19548         * math/auto-libm-test-in: Add more tests of exp.
19549         * math/auto-libm-test-out: Regenerated.
19551 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19553         [BZ #16759]
19554         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19555         (nscd_getnetgrent): Use it.
19557         [BZ #16760]
19558         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19559         of stpcpy.
19561 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19563         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19564         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19565         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19566         (lll_robust_unlock): Remove out of line section. Use cfi
19567         intrinsics.
19568         (LLL_STUB_UNWIND_INFO*): Remove.
19569         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19570         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19571         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19572         (lll_robust_unlock): Remove out of line section. Use cfi
19573         intrinsics.
19574         (LLL_STUB_UNWIND_INFO*): Remove.
19576 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19578         [BZ #16758]
19579         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19580         blank values.
19582 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19584         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19586 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19588         [BZ #16198]
19589         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19590         fnstenv.
19591         * math/test-fenv-preserve.c: New file.
19592         * math/Makefile (tests): Add test-fenv-preserve.
19594 2014-03-26  Will Newton <will.newton@linaro.org>
19596         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19598 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19600         * scripts/versionlist.awk: Partition the version sets and emit all
19601         GLIBC_* (sorted) before all others (sorted).
19603 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19605         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19606         GLIBC_2.2.5 version.
19608 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19610         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19611         calls.
19613         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19614         previous change.
19616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19618 2014-03-25  Andreas Schwab  <schwab@suse.de>
19620         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19621         label to be used after in6ailist is initialized.
19623 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19625         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19626         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19628 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19630         [BZ #16357]
19631         [BZ #16599]
19632         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19633         min_plus_half.
19634         (fp_formats): Update initializers.
19635         (init_fp_formats): Initialize new field.
19636         (output_for_one_input_case): Allow underflow for results up to
19637         min_plus_half.
19638         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19639         * math/auto-libm-test-in: Don't mark some underflows from asin and
19640         atanh as spurious.
19641         * math/auto-libm-test-out: Regenerated.
19642         * sysdeps/i386/fpu/libm-test-ulps: Update.
19643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19645 2014-03-25  Andreas Schwab  <schwab@suse.de>
19647         * libio/Makefile (tst-ftell-partial-wide-ENV)
19648         (tst-ftell-active-handler-ENV): Define.
19650 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19652         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19654 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19656         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19658 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19660         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19661         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19662         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19664 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19666         [BZ #16634]
19667         * elf/dl-load.c (open_verify): Add mode parameter.
19668         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19669         (open_path): Change from boolean 'secure' to complete flag 'mode'
19670         (_dl_map_object): Adjust.
19671         * elf/Makefile (tests): Add tst-dlopen-aout.
19672         * elf/tst-dlopen-aout.c: New test.
19674 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19676         [BZ #16714]
19677         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19678         (struct stat): Rename member pad0 to __glibc_reserved0.
19680         [BZ #16712]
19681         * sysdeps/s390/s390-32/bits/wordsize.h
19682         (__WORDSIZE32_SIZE_ULONG): New define.
19683         * sysdeps/s390/s390-64/bits/wordsize.h
19684         (__WORDSIZE32_SIZE_ULONG): Likewise.
19685         * sysdeps/generic/stdint.h (SIZE_MAX):
19686         Define as UL if __WORDSIZE32_SIZE_ULONG.
19688         [BZ #16713]
19689         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19690         (__glibc_reserved0): New variable.
19691         (sa_flags): Change type to int.
19693         * posix/Makefile (before-compile): Use += before-compile instead
19694         of a :=.
19696         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19697         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19699 2014-03-20  Andreas Schwab  <schwab@suse.de>
19701         [BZ #16743]
19702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19703         non-matching result from nscd.
19705 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19707         * scripts/bench.py: Moved to ...
19708         * benchtests/scripts/bench.py: ... here.
19709         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19711 2014-03-24  Andreas Schwab  <schwab@suse.de>
19713         [BZ #16002]
19714         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19715         alloca_account and account alloca use for struct in6ailist.
19717 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19719         [BZ #16284]
19720         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19721         rounding mode to recompute results that overflow to infinity or
19722         underflow to zero.
19723         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19724         bug 16284.
19725         * math/auto-libm-test-out: Regenerated.
19726         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19727         (ccosh_test): Likewise.
19728         (csin_test_data): Use plus_oflow.
19729         (csin_test): Use ALL_RM_TEST.
19730         (csinh_test_data): Use plus_oflow.
19731         (csinh_test): Use ALL_RM_TEST.
19732         * sysdeps/i386/fpu/libm-test-ulps: Update.
19733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19735 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19737         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19738         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19739         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19741         [BZ #16731]
19742         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19743         when x - 1 is zero.
19744         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19745         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19746         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19747         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19748         argument is 1.
19749         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19750         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19751         zero.
19752         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19753         * sysdeps/i386/fpu/libm-test-ulps: Update.
19754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19756 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19758         * scripts/bench.pl: Remove file.
19759         * scripts/bench.py: New benchmark script.
19760         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19761         * benchtests/README: Mention python dependency.
19762         * scripts/pylintrc: New file.
19763         * scripts/pylint: New file.
19765         * bits/mathdef.h: Use #ifdef instead of #if.
19766         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19767         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19768         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19769         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19770         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19771         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19773 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19774             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19776         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19778         and strpbrk-ppc64 objects.
19779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19780         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19781         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19782         multiarch strpbrk for POWER7.
19783         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19784         multiarch strpbrk for PPC64.
19785         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19786         ifunc selector.
19787         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19788         strpbrk for POWER7.
19790 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19792         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19793         (atan_test): Likewise.
19794         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19795         (atanh_test): Use ALL_RM_TEST.
19796         (atan2_test_data): Likewise.
19797         (cabs_test): Likewise.
19798         (cacosh_test): Likewise.
19799         (carg_test): Likewise.
19800         (casin_test): Likewise.
19801         (casinh_test): Likewise.
19802         (cbrt_test): Likewise.
19803         (csqrt_test): Likewise.
19804         (erf_test): Likewise.
19805         (erfc_test): Likewise.
19806         (pow10_test): Likewise.
19807         (exp2_test): Likewise.
19808         (hypot_test): Likewise.
19809         (j0_test): Likewise.
19810         (j1_test): Likewise.
19811         (lgamma_test): Likewise.
19812         (gamma_test): Likewise.
19813         (sincos_test): Likewise.
19814         (tanh_test): Likewise.
19815         (y0_test): Likewise.
19816         (y1_test): Likewise.
19817         * sysdeps/i386/fpu/libm-test-ulps: Update.
19818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19820 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19822         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19824         and strcspn-ppc64 objects.
19825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19826         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19827         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19828         multiarch strcspn for POWER7.
19829         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19830         multiarch strcspn for PPC64.
19831         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19832         ifunc selector.
19833         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19834         strcspn for POWER7.
19836 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19838         * math/gen-libm-test.pl (generate_testfile): Expect only function
19839         name as argument to AUTO_TESTS_* and pass results for all rounding
19840         modes to parse_args.
19841         (parse_auto_input): Separate inputs of automatic tests from
19842         outputs before storing in %auto_tests.
19843         * math/libm-test.inc (acos_test_data): Update call to
19844         AUTO_TESTS_f_f.
19845         (acos_test): Use ALL_RM_TEST.
19846         (acos_tonearest_test_data): Remove.
19847         (acos_test_tonearest): Likewise.
19848         (acos_towardzero_test_data): Likewise.
19849         (acos_test_towardzero): Likewise.
19850         (acos_downward_test_data): Likewise.
19851         (acos_test_downward): Likewise.
19852         (acos_upward_test_data): Likewise.
19853         (acos_test_upward): Likewise.
19854         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19855         (asin_test_data): Likewise.
19856         (asin_test): Use ALL_RM_TEST.
19857         (asin_tonearest_test_data): Remove.
19858         (asin_test_tonearest): Likewise.
19859         (asin_towardzero_test_data): Likewise.
19860         (asin_test_towardzero): Likewise.
19861         (asin_downward_test_data): Likewise.
19862         (asin_test_downward): Likewise.
19863         (asin_upward_test_data): Likewise.
19864         (asin_test_upward): Likewise.
19865         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19866         (atan_test_data): Likewise.
19867         (atanh_test_data): Likewise.
19868         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19869         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19870         (carg_test_data): Likewise.
19871         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19872         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19873         (ccosh_test_data): Likewise.
19874         (cexp_test_data): Likewise.
19875         (clog_test_data): Likewise.
19876         (clog10_test_data): Likewise.
19877         (cos_test_data): Update call to AUTO_TESTS_f_f.
19878         (cos_test): Use ALL_RM_TEST.
19879         (cos_tonearest_test_data): Remove.
19880         (cos_test_tonearest): Likewise.
19881         (cos_towardzero_test_data): Likewise.
19882         (cos_test_towardzero): Likewise.
19883         (cos_downward_test_data): Likewise.
19884         (cos_test_downward): Likewise.
19885         (cos_upward_test_data): Likewise.
19886         (cos_test_upward): Likewise.
19887         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19888         (cosh_test): Use ALL_RM_TEST.
19889         (cosh_tonearest_test_data): Remove.
19890         (cosh_test_tonearest): Likewise.
19891         (cosh_towardzero_test_data): Likewise.
19892         (cosh_test_towardzero): Likewise.
19893         (cosh_downward_test_data): Likewise.
19894         (cosh_test_downward): Likewise.
19895         (cosh_upward_test_data): Likewise.
19896         (cosh_test_upward): Likewise.
19897         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19898         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19899         (ctan_test_data): Likewise.
19900         (ctan_test): Use ALL_RM_TEST.
19901         (ctan_tonearest_test_data): Remove.
19902         (ctan_test_tonearest): Likewise.
19903         (ctan_towardzero_test_data): Likewise.
19904         (ctan_test_towardzero): Likewise.
19905         (ctan_downward_test_data): Likewise.
19906         (ctan_test_downward): Likewise.
19907         (ctan_upward_test_data): Likewise.
19908         (ctan_test_upward): Likewise.
19909         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19910         (ctanh_test): Use ALL_RM_TEST.
19911         (ctanh_tonearest_test_data): Remove.
19912         (ctanh_test_tonearest): Likewise.
19913         (ctanh_towardzero_test_data): Likewise.
19914         (ctanh_test_towardzero): Likewise.
19915         (ctanh_downward_test_data): Likewise.
19916         (ctanh_test_downward): Likewise.
19917         (ctanh_upward_test_data): Likewise.
19918         (ctanh_test_upward): Likewise.
19919         (erf_test_data): Update call to AUTO_TESTS_f_f.
19920         (erfc_test_data): Likewise.
19921         (exp_test_data): Likewise.
19922         (exp_test): Use ALL_RM_TEST.
19923         (exp_tonearest_test_data): Remove.
19924         (exp_test_tonearest): Likewise.
19925         (exp_towardzero_test_data): Likewise.
19926         (exp_test_towardzero): Likewise.
19927         (exp_downward_test_data): Likewise.
19928         (exp_test_downward): Likewise.
19929         (exp_upward_test_data): Likewise.
19930         (exp_test_upward): Likewise.
19931         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19932         (exp10_test): Use ALL_RM_TEST.
19933         (exp10_tonearest_test_data): Remove.
19934         (exp10_test_tonearest): Likewise.
19935         (exp10_towardzero_test_data): Likewise.
19936         (exp10_test_towardzero): Likewise.
19937         (exp10_downward_test_data): Likewise.
19938         (exp10_test_downward): Likewise.
19939         (exp10_upward_test_data): Likewise.
19940         (exp10_test_upward): Likewise.
19941         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19942         (expm1_test_data): Likewise.
19943         (expm1_test): Use ALL_RM_TEST.
19944         (expm1_tonearest_test_data): Remove.
19945         (expm1_test_tonearest): Likewise.
19946         (expm1_towardzero_test_data): Likewise.
19947         (expm1_test_towardzero): Likewise.
19948         (expm1_downward_test_data): Likewise.
19949         (expm1_test_downward): Likewise.
19950         (expm1_upward_test_data): Likewise.
19951         (expm1_test_upward): Likewise.
19952         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19953         (fma_test): Use ALL_RM_TEST.
19954         (fma_towardzero_test_data): Remove.
19955         (fma_test_towardzero): Likewise.
19956         (fma_downward_test_data): Likewise.
19957         (fma_test_downward): Likewise.
19958         (fma_upward_test_data): Likewise.
19959         (fma_test_upward): Likewise.
19960         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19961         (j0_test_data): Update call to AUTO_TESTS_f_f.
19962         (j1_test_data): Likewise.
19963         (jn_test_data): Update call to AUTO_TESTS_if_f.
19964         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19965         (log_test_data): Update call to AUTO_TESTS_f_f.
19966         (log10_test_data): Likewise.
19967         (log1p_test_data): Likewise.
19968         (log2_test_data): Likewise.
19969         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19970         (pow_tonearest_test_data): Likewise.
19971         (sin_test_data): Update call to AUTO_TESTS_f_f.
19972         (sin_test): Use ALL_RM_TEST.
19973         (sin_tonearest_test_data): Remove.
19974         (sin_test_tonearest): Likewise.
19975         (sin_towardzero_test_data): Likewise.
19976         (sin_test_towardzero): Likewise.
19977         (sin_downward_test_data): Likewise.
19978         (sin_test_downward): Likewise.
19979         (sin_upward_test_data): Likewise.
19980         (sin_test_upward): Likewise.
19981         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19982         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19983         (sinh_test): Use ALL_RM_TEST.
19984         (sinh_tonearest_test_data): Remove.
19985         (sinh_test_tonearest): Likewise.
19986         (sinh_towardzero_test_data): Likewise.
19987         (sinh_test_towardzero): Likewise.
19988         (sinh_downward_test_data): Likewise.
19989         (sinh_test_downward): Likewise.
19990         (sinh_upward_test_data): Likewise.
19991         (sinh_test_upward): Likewise.
19992         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19993         (sqrt_test): Use ALL_RM_TEST.
19994         (sqrt_tonearest_test_data): Remove.
19995         (sqrt_test_tonearest): Likewise.
19996         (sqrt_towardzero_test_data): Likewise.
19997         (sqrt_test_towardzero): Likewise.
19998         (sqrt_downward_test_data): Likewise.
19999         (sqrt_test_downward): Likewise.
20000         (sqrt_upward_test_data): Likewise.
20001         (sqrt_test_upward): Likewise.
20002         (tan_test_data): Update call to AUTO_TESTS_f_f.
20003         (tan_test): Use ALL_RM_TEST.
20004         (tan_tonearest_test_data): Remove.
20005         (tan_test_tonearest): Likewise.
20006         (tan_towardzero_test_data): Likewise.
20007         (tan_test_towardzero): Likewise.
20008         (tan_downward_test_data): Likewise.
20009         (tan_test_downward): Likewise.
20010         (tan_upward_test_data): Likewise.
20011         (tan_test_upward): Likewise.
20012         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20013         (tgamma_test_data): Likewise.
20014         (y0_test_data): Likewise.
20015         (y1_test_data): Likewise.
20016         (yn_test_data): Update call to AUTO_TESTS_if_f.
20017         (main): Do not call removed functions.
20019 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20021         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20022         (ldexp_test_data): Remove.
20023         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20024         scalbn_test_data.
20025         (scalb_test): Use ALL_RM_TEST.
20027 2014-03-19  Andreas Schwab  <schwab@suse.de>
20029         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20031 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20033         [BZ #16649]
20034         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20035         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20036         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20037         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20038         (__ASSUME_PREADV): Undefine.
20039         (__ASSUME_PWRITEV): Likewise.
20041 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20043         * bits/mman-linux.h: Add comment about non-Linux use.
20044         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20045         bits/mman-linux.h resting place.
20047         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20048         * bits/mman-linux.h: ... here.
20050 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20052         * conform/conformtest.pl: Add standard definition when calling C
20053         preprocessor on data files.
20054         (checknamespace): Remove unused variable.
20056 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20058         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20059         minus_oflow, plus_uflow and minus_uflow in expected results.
20060         * math/libm-test.inc (scalbn_test_data): Add more tests of
20061         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20062         minus_uflow.
20063         (scalbn_test): Use ALL_RM_TEST.
20064         (scalbln_test_data): Add more tests of negative arguments.  Use
20065         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20066         (scalbln_test): Use ALL_RM_TEST.
20068 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20070         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20072 2014-03-18  Will Newton  <will.newton@linaro.org>
20074         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20075         inaccurate comment.
20077 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20079         * Makerules [!subdir] (check-abi): Exit with error status if a
20080         test failed.
20082 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20084         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20085         for rint.  Include results for all rounding modes.
20086         (nearbyint_test): Use ALL_RM_TEST.
20087         (rint_test_data): Include all tests used for nearbyint.
20089 2014-03-17  Will Newton  <will.newton@linaro.org>
20091         * nptl/sysdeps/pthread/pthread.h: Revert previous
20092         change.
20094         * sysdeps/generic/ldsodefs.h: Revert previous
20095         change.
20097         * libio/genops.c: Revert previous change.
20098         * libio/libioP.h: Likewise.
20099         * stdio-common/vfprintf.c: Likewise.
20101         * sysdeps/generic/math_private.h: Revert previous
20102         change.
20104         * sysdeps/generic/math_private.h: Check whether
20105         HAVE_RM_CTX is defined with #ifdef rather
20106         than #if.
20108         * argp/argp-fmtstream.h: Check whether
20109         __STRICT_ANSI__ is defined with #ifdef rather
20110         than #if.
20111         * argp/argp.h: Likewise.
20113         * libio/genops.c: Check whether
20114         _IO_JUMPS_OFFSET is defined with #ifdef rather
20115         than #if.
20116         * libio/libioP.h: Likewise.
20117         * stdio-common/vfprintf.c: Likewise.
20119         * sysdeps/generic/ldsodefs.h: Check whether
20120         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20121         than #if.
20123         * nptl/sysdeps/pthread/pthread.h: Check
20124         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20125         its value.
20127 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20129         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20130         setting O_APPEND.
20131         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20132         test case.
20134         [BZ #16680]
20135         * libio/fileops.c (_IO_file_open): Seek to end of file but
20136         don't cache the offset.
20137         (get_file_offset): Remove function.
20138         (do_ftell): Use cached offset when available.
20139         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20140         don't cache the offset.
20141         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20142         case.
20143         (do_one_test): Call it.
20144         (do_ftell_test): Fix up expected old offset for a+ mode.
20145         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20146         available.
20148         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20149         up test status with function return status.
20150         (do_write_test): Likewise.
20151         (do_append_test): Likewise.
20153         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20154         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20155         Remove.
20157 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20159         * math/gen-libm-test.pl (parse_args): Handle results specified for
20160         each rounding mode separately.
20161         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20162         tests and results from lrint_tonearest_test_data,
20163         lrint_towardzero_test_data, lrint_downward_test_data and
20164         lrint_upward_test_data.
20165         (lrint_test): Use ALL_RM_TEST.
20166         (lrint_tonearest_test_data): Remove.
20167         (lrint_test_tonearest): Likewise.
20168         (lrint_towardzero_test_data): Likewise.
20169         (lrint_test_towardzero): Likewise.
20170         (lrint_downward_test_data): Likewise.
20171         (lrint_test_downward): Likewise.
20172         (lrint_upward_test_data): Likewise.
20173         (lrint_test_upward): Likewise.
20174         (llrint_test_data): Merge in per-rounding-mode tests and results
20175         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20176         llrint_downward_test_data and llrint_upward_test_data.
20177         (llrint_test): Use ALL_RM_TEST.
20178         (llrint_tonearest_test_data): Remove.
20179         (llrint_test_tonearest): Likewise.
20180         (llrint_towardzero_test_data): Likewise.
20181         (llrint_test_towardzero): Likewise.
20182         (llrint_downward_test_data): Likewise.
20183         (llrint_test_downward): Likewise.
20184         (llrint_upward_test_data): Likewise.
20185         (llrint_test_upward): Likewise.
20186         (rint_test_data): Merge in per-rounding-mode tests and results
20187         from rint_tonearest_test_data, rint_towardzero_test_data,
20188         rint_downward_test_data and rint_upward_test_data.  Add
20189         per-rounding-mode results for tests not in those arrays.
20190         (rint_test): Use ALL_RM_TEST.
20191         (rint_tonearest_test_data): Remove.
20192         (rint_test_tonearest): Likewise.
20193         (rint_towardzero_test_data): Likewise.
20194         (rint_test_towardzero): Likewise.
20195         (rint_downward_test_data): Likewise.
20196         (rint_test_downward): Likewise.
20197         (rint_upward_test_data): Likewise.
20198         (rint_test_upward): Likewise.
20199         (main): Don't call removed functions.
20201 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20203         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20204         "Compiled on ..." crapola.  It is anti-useful.
20206 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20208         * scripts/evaluate-test.sh: Handle fourth argument to determine
20209         whether test run should stop on failure.
20210         * Makeconfig (stop-on-test-failure): New variable.
20211         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20212         $(stop-on-test-failure).
20213         * Makefile (tests): Give a summary of results from testing and
20214         exit with failure status if they include an ERROR or FAIL.
20215         (xtests): Likewise.
20216         * manual/install.texi (Configuring and compiling): Mention
20217         stop-on-test-failure=y.
20218         * INSTALL: Regenerated.
20220 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20222         * scripts/versionlist.awk: New file.
20223         * Makerules [$(build-shared) = yes]
20224         (postclean-generated): Add Versions.def, not Versions.def.v and
20225         Versions.def.v.i.
20226         ($(common-objpfx)Versions.def.v.i): Target removed.
20227         ($(common-objpfx)Versions.def): New target.
20228         ($(common-objpfx)Versions.all): Depend on that rather that
20229         $(common-objpfx)Versions.def.v.
20230         * Versions.def: File removed.
20232         * Makeconfig (+gccwarn): Add -Wundef.
20233         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20234         a dl-sysdep.h breaking its contract.
20235         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20236         * include/stackinfo.h: New file.
20237         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20238         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20239         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20240         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20241         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20242         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20243         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20244         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20245         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20246         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20247         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20248         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20249         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20250         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20251         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20253 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20255         [BZ #16707]
20256         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20257         implementation.
20258         * math/libm-test.inc (round_test_data): Add more tests.
20260         [BZ #16706]
20261         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20262         implementation.
20263         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20265         [BZ #16701]
20266         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20267         implementation.
20268         * math/libm-test.inc (ceil_test_data): Add more tests.
20270         * math/libm-test.inc (trunc_test_data): Add more tests related to
20271         BZ#16414.
20273 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20275         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20276         with #if rather than #ifdef.
20277         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20279 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20281         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20282         first.  Disable AVX-512 GCC support if assembler doesn't support
20283         it.
20284         * sysdeps/x86_64/configure: Regenerated.
20286 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20288         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20289         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20290         (__old_pthread_attr_setstack): Likewise.
20291         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20292         [!_STACK_GROWS_DOWN]: Likewise.
20294 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20296         * config.make.in (have-bash2): Delete.
20297         * configure.ac (libc_cv_have_bash2): Delete.
20298         * configure: Regenerate.
20299         * elf/Makefile (common-ldd-rewrite): Rename to ...
20300         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20301         (sh-ldd-rewrite): Delete.
20302         (bash-ldd-rewrite): Delete.
20303         (have-bash2): Delete checks.
20304         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20305         ldd-rewrite.
20307         * config.make.in (have-ksh): Delete.
20308         (KSH): Delete.
20309         * configure.ac (libc_cv_have_ksh): Delete.
20310         * configure: Regenerate.
20312         * elf/Makefile: Delete $(have-ksh) check.
20313         ($(objpfx)sotruss): Change KSH to BASH.
20314         * elf/sotruss.ksh: Rename to ...
20315         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20316         function style to match POSIX.  Drop ksh vim mode setting.
20318         * manual/time.texi (Specifying the Time Zone with TZ): Change
20319         Tuesday to Thursday.
20321         * debug/tst-longjmp_chk2.c: Update header comment.
20322         (stackoverflow_handler): Add comment.  Call assert on pass value.
20324 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20326         [BZ #16194]
20327         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20328         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20329         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20330         (La_x86_64_vector): Add zmm.
20331         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20332         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20333         ($(objpfx)tst-audit10): New target.
20334         ($(objpfx)tst-audit10.out): Likewise.
20335         (tst-audit10-ENV): New.
20336         (AVX512-CFLAGS): Likewise.
20337         (CFLAGS-tst-audit10.c): Likewise.
20338         (CFLAGS-tst-auditmod10a.c): Likewise.
20339         (CFLAGS-tst-auditmod10b.c): Likewise.
20340         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20341         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20342         * sysdeps/x86_64/configure: Regenerated.
20343         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20344         AVX-512 zmm register support.
20345         (_dl_x86_64_save_sse): Likewise.
20346         (_dl_x86_64_restore_sse): Likewise.
20347         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20348         size vector registers.
20349         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20350         (ZMM_SIZE): Likewise.
20351         * sysdeps/x86_64/tst-audit10.c: New file.
20352         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20353         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20355 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20357         * configure.ac (HAVE_EHDR_START): New check.
20358         * configure: Regenerated.
20359         * config.h.in (HAVE_EHDR_START): New #undef.
20360         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20361         assuming the lowest-addressed segment maps the start of the file.
20363 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20365         * INSTALL: Regenerated.
20367 2014-03-13  Will Newton  <will.newton@linaro.org>
20369         * manual/setjmp.texi (System V contexts): Improve
20370         clarity and grammar of documentation.
20372 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20374         [BZ #16381]
20375         * elf/Makefile (tests): Add tst-pie2.
20376         (tests-pie): Add tst-pie2.
20377         * elf/tst-pie2.c: New file.
20378         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20379         for ET_EXEC.
20380         * elf/rtld.c (map_doit): Load executable as lt_executable.
20381         (dl_main): Likewise.
20383 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20385         [BZ #16642]
20386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20387         (__ASSUME_PSELECT): Undefine.
20389 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20391         [BZ #16689]
20392         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20393         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20394         static build.
20395         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20396         selector for static builds.
20398 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20400         [BZ #16695]
20401         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20402         key in the buffer.
20404 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20406         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20407         IFUNC selector for static builds.
20409 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20411         * sysdeps/mips/math_private.h [__mips_hard_float]
20412         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20413         libc_feresetround_mips_ctx.
20414         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20415         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20416         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20418         [BZ #16677]
20419         * math/s_nextafter.c (__nextafter): Do not return value from
20420         overflowing computation.
20421         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20422         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20423         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20424         Likewise.
20425         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20426         Likewise.
20427         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20428         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20430 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20432         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20433         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20434         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20435         the new mov targetting sp.
20437 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20439         [BZ #16683]
20440         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20441         Define it for static builds as well.
20442         (NO_BZERO_IMPL): Likewise.
20444 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20446         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20447         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20448         multiarch strspn for PPC64.
20449         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20450         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20452         (__libc_ifunc_impl_list): Likewise.
20453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20454         multiarch optimizations
20455         * string/strspn.c (strspn): Using macro to redefine symbol name.
20457 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20458             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20460         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20461         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20462         multiarch strncat for PPC64.
20463         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20464         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20466         (__libc_ifunc_impl_list): Likewise.
20467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20468         multiarch optimizations
20470 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20472         [BZ #16639]
20473         * nscd/nscd.service: Make service type forking.
20475 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20477         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20478         sign in non default rounding modes.
20479         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20481 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20483         * math/libm-test.inc (ALL_RM_TEST): New macro.
20484         (ceil_test): Use ALL_RM_TEST.
20485         (cimag_test): Likewise.
20486         (conj_test): Likewise.
20487         (copysign_test): Likewise.
20488         (cproj_test): Likewise.
20489         (creal_test): Likewise.
20490         (fabs_test): Likewise.
20491         (floor_test): Likewise.
20492         (fmax_test): Likewise.
20493         (fmin_test): Likewise.
20494         (fmod_test): Likewise.
20495         (fpclassify_test): Likewise.
20496         (frexp_test): Likewise.
20497         (ilogb_test): Likewise.
20498         (isfinite_test): Likewise.
20499         (finite_test): Likewise.
20500         (isgreater_test): Likewise.
20501         (isgreaterequal_test): Likewise.
20502         (isinf_test): Likewise.
20503         (isless_test): Likewise.
20504         (islessequal_test): Likewise.
20505         (islessgreater_test): Likewise.
20506         (isnan_test): Likewise.
20507         (isnormal_test): Likewise.
20508         (issignaling_test): Likewise.
20509         (isunordered_test): Likewise.
20510         (logb_test): Likewise.
20511         (logb_downward_test_data): Remove.
20512         (logb_test_downward): Likewise.
20513         (lround_test): Use ALL_RM_TEST.
20514         (llround_test): Likewise.
20515         (modf_test): Likewise.
20516         (nexttoward_test): Likewise.
20517         (remainder_test): Likewise.
20518         (drem_test): Likewise.
20519         (remainder_tonearest_test_data): Likewise.
20520         (remainder_test_tonearest): Likewise.
20521         (drem_test_tonearest): Likewise.
20522         (remainder_towardzero_test_data): Likewise.
20523         (remainder_test_towardzero): Likewise.
20524         (drem_test_towardzero): Likewise.
20525         (remainder_downward_test_data): Likewise.
20526         (remainder_test_downward): Likewise.
20527         (drem_test_downward): Likewise.
20528         (remainder_upward_test_data): Likewise.
20529         (remainder_test_upward): Likewise.
20530         (drem_test_upward): Likewise.
20531         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20532         (round_test): Use ALL_RM_TEST.
20533         (signbit_test): Likewise.
20534         (trunc_test): Likewise.
20535         (significand_test): Likewise.
20536         (main): Don't call removed functions.
20538 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20540         [BZ #16674]
20541         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20542         || __USE_XOPEN2K8].
20543         (ILL_ILLOPN): Likewise.
20544         (ILL_ILLADR): Likewise.
20545         (ILL_ILLTRP): Likewise.
20546         (ILL_PRVOPC): Likewise.
20547         (ILL_PRVREG): Likewise.
20548         (ILL_COPROC): Likewise.
20549         (ILL_BADSTK): Likewise.
20550         (FPE_INTDIV): Likewise.
20551         (FPE_INTOVF): Likewise.
20552         (FPE_FLTDIV): Likewise.
20553         (FPE_FLTOVF): Likewise.
20554         (FPE_FLTUND): Likewise.
20555         (FPE_FLTRES): Likewise.
20556         (FPE_FLTINV): Likewise.
20557         (FPE_FLTSUB): Likewise.
20558         (SEGV_MAPERR): Likewise.
20559         (SEGV_ACCERR): Likewise.
20560         (BUS_ADRALN): Likewise.
20561         (BUS_ADRERR): Likewise.
20562         (BUS_OBJERR): Likewise.
20563         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20564         (TRAP_TRACE): Likewise.
20565         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20566         __USE_XOPEN2K8].
20567         (CLD_KILLED): Likewise.
20568         (CLD_DUMPED): Likewise.
20569         (CLD_TRAPPED): Likewise.
20570         (CLD_STOPPED): Likewise.
20571         (CLD_CONTINUED): Likewise.
20572         (POLL_IN): Likewise.
20573         (POLL_OUT): Likewise.
20574         (POLL_MSG): Likewise.
20575         (POLL_ERR): Likewise.
20576         (POLL_PRI): Likewise.
20577         (POLL_HUP): Likewise.
20578         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20579         Likewise.
20580         (ILL_ILLOPN): Likewise.
20581         (ILL_ILLADR): Likewise.
20582         (ILL_ILLTRP): Likewise.
20583         (ILL_PRVOPC): Likewise.
20584         (ILL_PRVREG): Likewise.
20585         (ILL_COPROC): Likewise.
20586         (ILL_BADSTK): Likewise.
20587         (FPE_INTDIV): Likewise.
20588         (FPE_INTOVF): Likewise.
20589         (FPE_FLTDIV): Likewise.
20590         (FPE_FLTOVF): Likewise.
20591         (FPE_FLTUND): Likewise.
20592         (FPE_FLTRES): Likewise.
20593         (FPE_FLTINV): Likewise.
20594         (FPE_FLTSUB): Likewise.
20595         (SEGV_MAPERR): Likewise.
20596         (SEGV_ACCERR): Likewise.
20597         (BUS_ADRALN): Likewise.
20598         (BUS_ADRERR): Likewise.
20599         (BUS_OBJERR): Likewise.
20600         (BUS_MCEERR_AR): Likewise.
20601         (BUS_MCEERR_AO): Likewise.
20602         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20603         (TRAP_TRACE): Likewise.
20604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20605         __USE_XOPEN2K8].
20606         (CLD_KILLED): Likewise.
20607         (CLD_DUMPED): Likewise.
20608         (CLD_TRAPPED): Likewise.
20609         (CLD_STOPPED): Likewise.
20610         (CLD_CONTINUED): Likewise.
20611         (POLL_IN): Likewise.
20612         (POLL_OUT): Likewise.
20613         (POLL_MSG): Likewise.
20614         (POLL_ERR): Likewise.
20615         (POLL_PRI): Likewise.
20616         (POLL_HUP): Likewise.
20617         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20618         (ILL_ILLOPN): Likewise.
20619         (ILL_ILLADR): Likewise.
20620         (ILL_ILLTRP): Likewise.
20621         (ILL_PRVOPC): Likewise.
20622         (ILL_PRVREG): Likewise.
20623         (ILL_COPROC): Likewise.
20624         (ILL_BADSTK): Likewise.
20625         (FPE_INTDIV): Likewise.
20626         (FPE_INTOVF): Likewise.
20627         (FPE_FLTDIV): Likewise.
20628         (FPE_FLTOVF): Likewise.
20629         (FPE_FLTUND): Likewise.
20630         (FPE_FLTRES): Likewise.
20631         (FPE_FLTINV): Likewise.
20632         (FPE_FLTSUB): Likewise.
20633         (SEGV_MAPERR): Likewise.
20634         (SEGV_ACCERR): Likewise.
20635         (BUS_ADRALN): Likewise.
20636         (BUS_ADRERR): Likewise.
20637         (BUS_OBJERR): Likewise.
20638         (BUS_MCEERR_AR): Likewise.
20639         (BUS_MCEERR_AO): Likewise.
20640         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20641         (TRAP_TRACE): Likewise.
20642         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20643         __USE_XOPEN2K8].
20644         (CLD_KILLED): Likewise.
20645         (CLD_DUMPED): Likewise.
20646         (CLD_TRAPPED): Likewise.
20647         (CLD_STOPPED): Likewise.
20648         (CLD_CONTINUED): Likewise.
20649         (POLL_IN): Likewise.
20650         (POLL_OUT): Likewise.
20651         (POLL_MSG): Likewise.
20652         (POLL_ERR): Likewise.
20653         (POLL_PRI): Likewise.
20654         (POLL_HUP): Likewise.
20655         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20656         Likewise.
20657         (ILL_ILLOPN): Likewise.
20658         (ILL_ILLADR): Likewise.
20659         (ILL_ILLTRP): Likewise.
20660         (ILL_PRVOPC): Likewise.
20661         (ILL_PRVREG): Likewise.
20662         (ILL_COPROC): Likewise.
20663         (ILL_BADSTK): Likewise.
20664         (ILL_BADIADDR): Likewise.
20665         (ILL_BREAK): Likewise.
20666         (FPE_INTDIV): Likewise.
20667         (FPE_INTOVF): Likewise.
20668         (FPE_FLTDIV): Likewise.
20669         (FPE_FLTOVF): Likewise.
20670         (FPE_FLTUND): Likewise.
20671         (FPE_FLTRES): Likewise.
20672         (FPE_FLTINV): Likewise.
20673         (FPE_FLTSUB): Likewise.
20674         (FPE_DECOVF): Likewise.
20675         (FPE_DECDIV): Likewise.
20676         (FPE_DECERR): Likewise.
20677         (FPE_INVASC): Likewise.
20678         (FPE_INVDEC): Likewise.
20679         (SEGV_MAPERR): Likewise.
20680         (SEGV_ACCERR): Likewise.
20681         (SEGV_PSTKOVF): Likewise.
20682         (BUS_ADRALN): Likewise.
20683         (BUS_ADRERR): Likewise.
20684         (BUS_OBJERR): Likewise.
20685         (BUS_MCEERR_AR): Likewise.
20686         (BUS_MCEERR_AO): Likewise.
20687         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20688         (TRAP_TRACE): Likewise.
20689         (TRAP_BRANCH): Likewise.
20690         (TRAP_HWBKPT): Likewise.
20691         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20692         __USE_XOPEN2K8].
20693         (CLD_KILLED): Likewise.
20694         (CLD_DUMPED): Likewise.
20695         (CLD_TRAPPED): Likewise.
20696         (CLD_STOPPED): Likewise.
20697         (CLD_CONTINUED): Likewise.
20698         (POLL_IN): Likewise.
20699         (POLL_OUT): Likewise.
20700         (POLL_MSG): Likewise.
20701         (POLL_ERR): Likewise.
20702         (POLL_PRI): Likewise.
20703         (POLL_HUP): Likewise.
20704         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20705         (ILL_ILLOPN): Likewise.
20706         (ILL_ILLADR): Likewise.
20707         (ILL_ILLTRP): Likewise.
20708         (ILL_PRVOPC): Likewise.
20709         (ILL_PRVREG): Likewise.
20710         (ILL_COPROC): Likewise.
20711         (ILL_BADSTK): Likewise.
20712         (FPE_INTDIV): Likewise.
20713         (FPE_INTOVF): Likewise.
20714         (FPE_FLTDIV): Likewise.
20715         (FPE_FLTOVF): Likewise.
20716         (FPE_FLTUND): Likewise.
20717         (FPE_FLTRES): Likewise.
20718         (FPE_FLTINV): Likewise.
20719         (FPE_FLTSUB): Likewise.
20720         (SEGV_MAPERR): Likewise.
20721         (SEGV_ACCERR): Likewise.
20722         (BUS_ADRALN): Likewise.
20723         (BUS_ADRERR): Likewise.
20724         (BUS_OBJERR): Likewise.
20725         (BUS_MCEERR_AR): Likewise.
20726         (BUS_MCEERR_AO): Likewise.
20727         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20728         (TRAP_TRACE): Likewise.
20729         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20730         __USE_XOPEN2K8].
20731         (CLD_KILLED): Likewise.
20732         (CLD_DUMPED): Likewise.
20733         (CLD_TRAPPED): Likewise.
20734         (CLD_STOPPED): Likewise.
20735         (CLD_CONTINUED): Likewise.
20736         (POLL_IN): Likewise.
20737         (POLL_OUT): Likewise.
20738         (POLL_MSG): Likewise.
20739         (POLL_ERR): Likewise.
20740         (POLL_PRI): Likewise.
20741         (POLL_HUP): Likewise.
20742         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20743         (ILL_ILLOPN): Likewise.
20744         (ILL_ILLADR): Likewise.
20745         (ILL_ILLTRP): Likewise.
20746         (ILL_PRVOPC): Likewise.
20747         (ILL_PRVREG): Likewise.
20748         (ILL_COPROC): Likewise.
20749         (ILL_BADSTK): Likewise.
20750         (FPE_INTDIV): Likewise.
20751         (FPE_INTOVF): Likewise.
20752         (FPE_FLTDIV): Likewise.
20753         (FPE_FLTOVF): Likewise.
20754         (FPE_FLTUND): Likewise.
20755         (FPE_FLTRES): Likewise.
20756         (FPE_FLTINV): Likewise.
20757         (FPE_FLTSUB): Likewise.
20758         (SEGV_MAPERR): Likewise.
20759         (SEGV_ACCERR): Likewise.
20760         (BUS_ADRALN): Likewise.
20761         (BUS_ADRERR): Likewise.
20762         (BUS_OBJERR): Likewise.
20763         (BUS_MCEERR_AR): Likewise.
20764         (BUS_MCEERR_AO): Likewise.
20765         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20766         (TRAP_TRACE): Likewise.
20767         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20768         __USE_XOPEN2K8].
20769         (CLD_KILLED): Likewise.
20770         (CLD_DUMPED): Likewise.
20771         (CLD_TRAPPED): Likewise.
20772         (CLD_STOPPED): Likewise.
20773         (CLD_CONTINUED): Likewise.
20774         (POLL_IN): Likewise.
20775         (POLL_OUT): Likewise.
20776         (POLL_MSG): Likewise.
20777         (POLL_ERR): Likewise.
20778         (POLL_PRI): Likewise.
20779         (POLL_HUP): Likewise.
20780         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20781         (ILL_ILLOPN): Likewise.
20782         (ILL_ILLADR): Likewise.
20783         (ILL_ILLTRP): Likewise.
20784         (ILL_PRVOPC): Likewise.
20785         (ILL_PRVREG): Likewise.
20786         (ILL_COPROC): Likewise.
20787         (ILL_BADSTK): Likewise.
20788         (FPE_INTDIV): Likewise.
20789         (FPE_INTOVF): Likewise.
20790         (FPE_FLTDIV): Likewise.
20791         (FPE_FLTOVF): Likewise.
20792         (FPE_FLTUND): Likewise.
20793         (FPE_FLTRES): Likewise.
20794         (FPE_FLTINV): Likewise.
20795         (FPE_FLTSUB): Likewise.
20796         (SEGV_MAPERR): Likewise.
20797         (SEGV_ACCERR): Likewise.
20798         (BUS_ADRALN): Likewise.
20799         (BUS_ADRERR): Likewise.
20800         (BUS_OBJERR): Likewise.
20801         (BUS_MCEERR_AR): Likewise.
20802         (BUS_MCEERR_AO): Likewise.
20803         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20804         (TRAP_TRACE): Likewise.
20805         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20806         __USE_XOPEN2K8].
20807         (CLD_KILLED): Likewise.
20808         (CLD_DUMPED): Likewise.
20809         (CLD_TRAPPED): Likewise.
20810         (CLD_STOPPED): Likewise.
20811         (CLD_CONTINUED): Likewise.
20812         (POLL_IN): Likewise.
20813         (POLL_OUT): Likewise.
20814         (POLL_MSG): Likewise.
20815         (POLL_ERR): Likewise.
20816         (POLL_PRI): Likewise.
20817         (POLL_HUP): Likewise.
20818         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20819         (ILL_ILLOPN): Likewise.
20820         (ILL_ILLADR): Likewise.
20821         (ILL_ILLTRP): Likewise.
20822         (ILL_PRVOPC): Likewise.
20823         (ILL_PRVREG): Likewise.
20824         (ILL_COPROC): Likewise.
20825         (ILL_BADSTK): Likewise.
20826         (ILL_DBLFLT): Likewise.
20827         (ILL_HARDWALL): Likewise.
20828         (FPE_INTDIV): Likewise.
20829         (FPE_INTOVF): Likewise.
20830         (FPE_FLTDIV): Likewise.
20831         (FPE_FLTOVF): Likewise.
20832         (FPE_FLTUND): Likewise.
20833         (FPE_FLTRES): Likewise.
20834         (FPE_FLTINV): Likewise.
20835         (FPE_FLTSUB): Likewise.
20836         (SEGV_MAPERR): Likewise.
20837         (SEGV_ACCERR): Likewise.
20838         (BUS_ADRALN): Likewise.
20839         (BUS_ADRERR): Likewise.
20840         (BUS_OBJERR): Likewise.
20841         (BUS_MCEERR_AR): Likewise.
20842         (BUS_MCEERR_AO): Likewise.
20843         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20844         (TRAP_TRACE): Likewise.
20845         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20846         __USE_XOPEN2K8].
20847         (CLD_KILLED): Likewise.
20848         (CLD_DUMPED): Likewise.
20849         (CLD_TRAPPED): Likewise.
20850         (CLD_STOPPED): Likewise.
20851         (CLD_CONTINUED): Likewise.
20852         (POLL_IN): Likewise.
20853         (POLL_OUT): Likewise.
20854         (POLL_MSG): Likewise.
20855         (POLL_ERR): Likewise.
20856         (POLL_PRI): Likewise.
20857         (POLL_HUP): Likewise.
20858         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20859         (ILL_ILLOPN): Likewise.
20860         (ILL_ILLADR): Likewise.
20861         (ILL_ILLTRP): Likewise.
20862         (ILL_PRVOPC): Likewise.
20863         (ILL_PRVREG): Likewise.
20864         (ILL_COPROC): Likewise.
20865         (ILL_BADSTK): Likewise.
20866         (FPE_INTDIV): Likewise.
20867         (FPE_INTOVF): Likewise.
20868         (FPE_FLTDIV): Likewise.
20869         (FPE_FLTOVF): Likewise.
20870         (FPE_FLTUND): Likewise.
20871         (FPE_FLTRES): Likewise.
20872         (FPE_FLTINV): Likewise.
20873         (FPE_FLTSUB): Likewise.
20874         (SEGV_MAPERR): Likewise.
20875         (SEGV_ACCERR): Likewise.
20876         (BUS_ADRALN): Likewise.
20877         (BUS_ADRERR): Likewise.
20878         (BUS_OBJERR): Likewise.
20879         (BUS_MCEERR_AR): Likewise.
20880         (BUS_MCEERR_AO): Likewise.
20881         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20882         (TRAP_TRACE): Likewise.
20883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20884         __USE_XOPEN2K8].
20885         (CLD_KILLED): Likewise.
20886         (CLD_DUMPED): Likewise.
20887         (CLD_TRAPPED): Likewise.
20888         (CLD_STOPPED): Likewise.
20889         (CLD_CONTINUED): Likewise.
20890         (POLL_IN): Likewise.
20891         (POLL_OUT): Likewise.
20892         (POLL_MSG): Likewise.
20893         (POLL_ERR): Likewise.
20894         (POLL_PRI): Likewise.
20895         (POLL_HUP): Likewise.
20896         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20897         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20899         [BZ #16670]
20900         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20901         before #include of <time.h>.
20902         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20903         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20904         (test-xfail-UNIX98/sched.h/conform): Likewise.
20906 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20908         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20909         error absence of trapping exception support.
20910         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20912 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20914         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20915         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20916         * timezone/Makefile (testdata): Move definition above include of
20917         Rules.
20918         (test-zones): New variable.
20919         (tests-special): Add zone files.
20920         (build-testdata): Use $(evaluate-test).
20922         * elf/Makefile (tests-special): Rename tests to end with .out.
20923         ($(objpfx)noload-mem): Likewise.
20924         ($(objpfx)tst-leaks1-mem): Likewise.
20925         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20926         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20927         $(objpfx)test-iconvconfig.out.
20928         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20929         set -e inside subshell and redirect output to file.
20930         * iconvdata/Makefile (generated): Rename tests to end with .out.
20931         Correct type.
20932         (tests-special): Rename tests to end with .out.
20933         ($(objpfx)mtrace-tst-loading): Likewise.
20934         * intl/Makefile (generated): Likewise.
20935         (tests-special): Likewise.
20936         ($(objpfx)mtrace-tst-gettext): Likewise.
20937         * misc/Makefile (generated): Likewise.
20938         (tests-special): Likewise.
20939         ($(objpfx)tst-error1-mem): Likewise.
20940         * nptl/Makefile (tests-special): Likewise.
20941         ($(objpfx)tst-stack3-mem): Likewise.
20942         (generated): Likewise.
20943         * posix/Makefile (generated): Likewise.
20944         (tests-special): Likewise.
20945         (xtests-special): Likewise.
20946         ($(objpfx)tst-fnmatch-mem): Likewise.
20947         ($(objpfx)bug-regex2-mem): Likewise.
20948         ($(objpfx)bug-regex14-mem): Likewise.
20949         ($(objpfx)bug-regex21-mem): Likewise.
20950         ($(objpfx)bug-regex31-mem): Likewise.
20951         ($(objpfx)tst-vfork3-mem): Likewise.
20952         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20953         ($(objpfx)tst-pcre-mem): Likewise.
20954         ($(objpfx)tst-boost-mem): Likewise.
20955         ($(objpfx)bug-ga2-mem): Likewise.
20956         ($(objpfx)bug-glob2-mem): Likewise.
20957         * resolv/Makefile (generate): Likewise.
20958         (tests-special): Likewise.
20959         (xtests-special): Likewise.
20960         (generated): Likewise.
20961         ($(objpfx)mtrace-tst-leaks): Likewise.
20962         ($(objpfx)mtrace-tst-leaks2): Likewise.
20964         * scripts/merge-test-results.sh: New file.
20965         * Makefile (tests-special-notdir): New variable.
20966         (tests): Run merge-test-results.sh.
20967         (xtests): Likewise.
20968         * Rules (tests-special-notdir): New variable.
20969         (xtests-special-notdir): Likewise.
20970         (tests): Run merge-test-results.sh
20971         (xtests): Likewise.
20973         * Makeconfig (test-xfail-name): New variable.
20974         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20975         compute variable name for expected failures.
20976         * conform/Makefile (conformtest-headers-data): New variable.
20977         (conformtest-standards): Likewise.
20978         (conformtest-headers-ISO): Likewise.
20979         (conformtest-headers-ISO99): Likewise.
20980         (conformtest-headers-ISO11): Likewise.
20981         (conformtest-headers-POSIX): Likewise.
20982         (conformtest-headers-XPG3): Likewise.
20983         (conformtest-headers-XPG4): Likewise.
20984         (conformtest-headers-UNIX98): Likewise.
20985         (conformtest-headers-XOPEN2K): Likewise.
20986         (conformtest-headers-POSIX2008): Likewise.
20987         (conformtest-headers-XOPEN2K8): Likewise.
20988         (conformtest-header-list-base): Likewise.
20989         (conformtest-header-list-tests): Likewise.
20990         (conformtest-header-base): Likewise.
20991         (conformtest-header-tests): Likewise.
20992         (tests-special): Add $(conformtest-header-list-tests).  If
20993         [$(fast-check) && !$(cross-compiling)], add
20994         $(conformtest-header-tests) instead of
20995         $(objpfx)run-conformtest.out.
20996         (generated): Add $(conformtest-header-list-base).  If
20997         [$(fast-check) && !$(cross-compiling)], add
20998         $(conformtest-header-base).  Remove previous setting.
20999         ($(conformtest-header-list-tests)): New target.
21000         (test-xfail-run-conformtest): Remove variable.
21001         ($(objpfx)run-conformtest.out): Remove target.
21002         (test-xfail-ISO11/complex.h/conform): New variable.
21003         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21004         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21005         (test-xfail-XPG3/varargs.h/conform): Likewise.
21006         (test-xfail-XPG4/varargs.h/conform): Likewise.
21007         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21008         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21009         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21010         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21011         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21012         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21013         (test-xfail-XPG3/ftw.h/conform): Likewise.
21014         (test-xfail-XPG3/grp.h/conform): Likewise.
21015         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21016         (test-xfail-XPG3/limits.h/conform): Likewise.
21017         (test-xfail-XPG3/pwd.h/conform): Likewise.
21018         (test-xfail-XPG3/search.h/conform): Likewise.
21019         (test-xfail-XPG3/signal.h/conform): Likewise.
21020         (test-xfail-XPG3/stdio.h/conform): Likewise.
21021         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21022         (test-xfail-XPG3/string.h/conform): Likewise.
21023         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21024         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21025         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21026         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21027         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21028         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21029         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21030         (test-xfail-XPG3/termios.h/conform): Likewise.
21031         (test-xfail-XPG3/time.h/conform): Likewise.
21032         (test-xfail-XPG3/unistd.h/conform): Likewise.
21033         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21034         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21035         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21036         (test-xfail-XPG4/netdb.h/conform): Likewise.
21037         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21038         (test-xfail-XPG4/signal.h/conform): Likewise.
21039         (test-xfail-XPG4/stdio.h/conform): Likewise.
21040         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21041         (test-xfail-XPG4/stropts.h/conform): Likewise.
21042         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21043         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21044         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21045         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21046         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21047         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21048         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21049         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21050         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21051         (test-xfail-XPG4/termios.h/conform): Likewise.
21052         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21053         (test-xfail-XPG4/unistd.h/conform): Likewise.
21054         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21055         (test-xfail-POSIX/sched.h/conform): Likewise.
21056         (test-xfail-POSIX/signal.h/conform): Likewise.
21057         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21058         (test-xfail-POSIX/tar.h/conform): Likewise.
21059         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21060         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21061         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21062         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21063         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21064         (test-xfail-UNIX98/sched.h/conform): Likewise.
21065         (test-xfail-UNIX98/signal.h/conform): Likewise.
21066         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21067         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21068         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21069         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21070         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21071         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21072         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21073         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21074         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21075         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21076         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21077         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21078         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21079         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21080         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21081         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21082         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21083         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21084         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21085         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21086         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21087         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21088         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21089         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21090         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21091         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21092         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21093         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21094         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21095         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21096         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21097         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21098         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21099         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21100         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21101         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21102         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21103         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21104         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21105         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21106         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21107         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21108         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21109         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21110         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21111         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21112         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21113         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21114         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21115         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21116         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21117         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21118         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21119         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21120         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21121         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21122         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21123         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21124         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21125         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21126         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21127         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21128         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21129         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21130         (conformtest-cc-flags): Likewise.
21131         ($(conformtest-header-tests): New target.
21132         * conform/check-header-lists.sh: New file.
21133         * conform/run-conformtest.sh: Remove.
21135         * conform/conformtest.pl: Allow ' and \ in values given for
21136         constants.
21137         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21138         inclusion.
21139         [POSIX] (sys/types.h): Likewise.
21140         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21141         inclusion.
21142         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21143         inclusion.
21144         * conform/data/signal.h-data (SIGIO): Remove expectation.
21145         [XPG3] (SIGBUS): Do not expect.
21146         [POSIX || XPG3] (SIGPOLL): Likewise.
21147         [POSIX || XPG3] (SIGPROF): Likewise.
21148         [POSIX || XPG3] (SIGSYS): Likewise.
21149         [XPG3] (SIGTRAP): Likewise.
21150         [POSIX || XPG3] (SIGURG): Likewise.
21151         [POSIX || XPG3] (SIGVTALRM): Likewise.
21152         [POSIX || XPG3] (SIGXCPU): Likewise.
21153         [POSIX || XPG3] (SIGXFSZ): Likewise.
21154         [POSIX] (SA_SIGINFO): Expect.
21155         [XPG3] (siginfo_t): Do not expect type or contents.
21156         [POSIX] (si_pid): Do not expect element.
21157         [POSIX] (si_uid): Likewise.
21158         [POSIX] (si_addr): Likewise.
21159         [POSIX] (si_status): Likewise.
21160         [POSIX] (si_band): Likewise.
21161         [XPG4] (si_value): Likewise.
21162         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21163         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21164         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21165         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21166         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21167         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21168         [POSIX || XPG3] (ILL_COPROC): Likewise.
21169         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21170         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21171         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21172         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21173         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21174         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21175         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21176         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21177         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21178         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21179         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21180         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21181         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21182         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21183         [POSIX || XPG3] (CLD_EXITED): Likewise.
21184         [POSIX || XPG3] (CLD_KILLED): Likewise.
21185         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21186         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21187         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21188         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21189         [POSIX || XPG3] (POLL_IN): Likewise.
21190         [POSIX || XPG3] (POLL_OUT): Likewise.
21191         [POSIX || XPG3] (POLL_MSG): Likewise.
21192         [POSIX || XPG3] (POLL_ERR): Likewise.
21193         [POSIX || XPG3] (POLL_PRI): Likewise.
21194         [POSIX || XPG3] (POLL_HUP): Likewise.
21195         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21196         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21197         (SIG*): Do not allow.
21198         [XPG3] (si_*): Likewise.
21199         [XPG3] (SI_*): Likewise.
21200         [XPG3 || XPG4] (sigev_*): Likewise.
21201         [XPG3 || XPG4] (SIGEV_*): Likewise.
21202         [XPG3 || XPG4] (sival_*): Likewise.
21203         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21204         [POSIX || XPG3] (BUS_*): Likewise.
21205         [POSIX || XPG3] (CLD_*): Likewise.
21206         [POSIX || XPG3] (FPE_*): Likewise.
21207         [POSIX || XPG3] (ILL_*): Likewise.
21208         [POSIX || XPG3] (POLL_*): Likewise.
21209         [POSIX || XPG3] (SEGV_*): Likewise.
21210         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21211         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21212         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21213         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21214         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21215         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21216         Specify type and value.
21217         (TVERSLEN): Likewise.
21218         (REGTYPE): Likewise.
21219         (AREGTYPE): Likewise.
21220         (LNKTYPE): Likewise.
21221         (SYMTYPE): Likewise.
21222         (CHRTYPE): Likewise.
21223         (BLKTYPE): Likewise.
21224         (DIRTYPE): Likewise.
21225         (FIFOTYPE): Likewise.
21226         (CONTTYPE): Likewise.
21227         (TSUID): Likewise.
21228         (TSGID): Likewise.
21229         (TSVTX): Likewise.
21230         (TUREAD): Likewise.
21231         (TUWRITE): Likewise.
21232         (TUEXEC): Likewise.
21233         (TGREAD): Likewise.
21234         (TGWRITE): Likewise.
21235         (TGEXEC): Likewise.
21236         (TOREAD): Likewise.
21237         (TOWRITE): Likewise.
21238         (TOEXEC): Likewise.
21239         [POSIX] (TSVTX): Expect constant.
21241 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21243         * Makefile (tests): Change dependencies to ....
21244         (tests-special): ... additions to this variable.
21245         (tests): Depend on $(tests-special).
21246         * Makerules (check-abi-list): New variable.
21247         (check-abi): Depend on $(check-abi-list).
21248         [$(subdir) = elf] (tests-special): Add
21249         $(objpfx)check-abi-libc.out.
21250         [$(build-shared) = yes && subdir] (tests-special): Add
21251         $(check-abi-list).
21252         [$(build-shared) = yes && subdir] (tests): Do not depend on
21253         check-abi.
21254         * Rules (tests): Depend on $(tests-special).
21255         (xtests): Depend on $(xtests-special).
21256         * catgets/Makefile (tests): Change dependencies to ....
21257         (tests-special): ... additions to this variable.
21258         * conform/Makefile (tests): Change dependencies to ....
21259         (tests-special): ... additions to this variable.
21260         * elf/Makefile (tests): Change dependencies to ....
21261         (tests-special): ... additions to this variable.
21262         * grp/Makefile (tests): Change dependencies to ....
21263         (tests-special): ... additions to this variable.
21264         * iconv/Makefile (xtests): Change dependencies to ....
21265         (xtests-special): ... additions to this variable.
21266         * iconvdata/Makefile (tests): Change dependencies to ....
21267         (tests-special): ... additions to this variable.
21268         * intl/Makefile (tests): Change dependencies to ....
21269         (tests-special): ... additions to this variable.  Also add
21270         $(objpfx)tst-gettext.out.
21271         * io/Makefile (tests): Change dependencies to ....
21272         (tests-special): ... additions to this variable.
21273         * libio/Makefile (tests): Change dependencies to ....
21274         (tests-special): ... additions to this variable.
21275         * malloc/Makefile (tests): Change dependencies to ....
21276         (tests-special): ... additions to this variable.
21277         * misc/Makefile (tests): Change dependencies to ....
21278         (tests-special): ... additions to this variable.
21279         * nptl/Makefile (tests): Change dependencies to ....
21280         (tests-special): ... additions to this variable.
21281         * nptl_db/Makefile (tests): Change dependencies to ....
21282         (tests-special): ... additions to this variable.
21283         * posix/Makefile (tests): Change dependencies to ....
21284         (tests-special): ... additions to this variable.
21285         (xtests): Change dependencies to ....
21286         (xtests-special): ... additions to this variable.
21287         * resolv/Makefile (tests): Change dependencies to ....
21288         (tests-special): ... additions to this variable.
21289         (xtests): Change dependencies to ....
21290         (xtests-special): ... additions to this variable.
21291         * stdio-common/Makefile (tests): Change dependencies to ....
21292         (tests-special): ... additions to this variable.
21293         (do-tst-unbputc): Remove target.
21294         (do-tst-printf): Likewise.
21295         * stdlib/Makefile (tests): Change dependencies to ....
21296         (tests-special): ... additions to this variable.
21297         * string/Makefile (tests): Change dependencies to ....
21298         (tests-special): ... additions to this variable.
21299         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21300         (tests-special): ... additions to this variable.
21302         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21303         whole file.
21304         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21305         whole file.
21306         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21307         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21309         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21310         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21311         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21312         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21313         * conform/data/libgen.h-data [XPG3]: Likewise.
21314         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21315         * conform/data/ndbm.h-data [XPG3]: Likewise.
21316         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21317         * conform/data/netdb.h-data [XPG3]: Likewise.
21318         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21319         * conform/data/poll.h-data [XPG3]: Likewise.
21320         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21321         * conform/data/strings.h-data [XPG3]: Likewise.
21322         * conform/data/stropts.h-data [XPG3]: Likewise.
21323         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21324         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21325         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21326         Likewise.
21327         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21328         * conform/data/sys/time.h-data [XPG3]: Likewise.
21329         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21330         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21331         * conform/data/sys/un.h-data [XPG3]: Likewise.
21332         * conform/data/syslog.h-data [XPG3]: Likewise.
21333         * conform/data/ucontext.h-data [XPG3]: Likewise.
21334         * conform/data/utmpx.h-data [XPG3]: Likewise.
21335         * conform/data/varargs.h-data [UNIX98]: Enable file.
21337         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21339         * math/libm-test.inc (struct test_f_f_data): Move expected results
21340         into structure for each rounding mode.
21341         (struct test_ff_f_data): Likewise.
21342         (struct test_ff_f_data_nexttoward): Likewise.
21343         (struct test_fi_f_data): Likewise.
21344         (struct test_fl_f_data): Likewise.
21345         (struct test_if_f_data): Likewise.
21346         (struct test_fff_f_data): Likewise.
21347         (struct test_c_f_data): Likewise.
21348         (struct test_f_f1_data): Likewise.
21349         (struct test_fF_f1_data): Likewise.
21350         (struct test_ffI_f1_data): Likewise.
21351         (struct test_c_c_data): Likewise.
21352         (struct test_cc_c_data): Likewise.
21353         (struct test_f_i_data): Likewise.
21354         (struct test_ff_i_data): Likewise.
21355         (struct test_f_l_data): Likewise.
21356         (struct test_f_L_data): Likewise.
21357         (struct test_fFF_11_data): Likewise.
21358         (RM_): New macro.
21359         (RM_FE_DOWNWARD): Likewise.
21360         (RM_FE_TONEAREST): Likewise.
21361         (RM_FE_TOWARDZERO): Likewise.
21362         (RM_FE_UPWARD): Likewise.
21363         (RUN_TEST_LOOP_f_f): Update references to expected results.
21364         (RUN_TEST_LOOP_2_f): Likewise.
21365         (RUN_TEST_LOOP_fff_f): Likewise.
21366         (RUN_TEST_LOOP_c_f): Likewise.
21367         (RUN_TEST_LOOP_f_f1): Likewise.
21368         (RUN_TEST_LOOP_fF_f1): Likewise.
21369         (RUN_TEST_LOOP_fI_f1): Likewise.
21370         (RUN_TEST_LOOP_ffI_f1): Likewise.
21371         (RUN_TEST_LOOP_c_c): Likewise.
21372         (RUN_TEST_LOOP_cc_c): Likewise.
21373         (RUN_TEST_LOOP_f_i): Likewise.
21374         (RUN_TEST_LOOP_f_i_tg): Likewise.
21375         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21376         (RUN_TEST_LOOP_f_b): Likewise.
21377         (RUN_TEST_LOOP_f_b_tg): Likewise.
21378         (RUN_TEST_LOOP_f_l): Likewise.
21379         (RUN_TEST_LOOP_f_L): Likewise.
21380         (RUN_TEST_LOOP_fFF_11): Likewise.
21381         * math/gen-libm-test.pl (parse_args): Output four copies of
21382         expected results for each test.
21384         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21385         (__ASSUME_UTIMES): Remove.
21386         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21387         (__ASSUME_UTIMES): Likewise.
21389         * math/gen-auto-libm-tests.c: Update comment on output format.
21390         (output_for_one_input_case): Generate before-rounding and
21391         after-rounding information as conditions on output flags not
21392         floating-point format.
21393         * math/auto-libm-test-out: Regenerated.
21394         * math/gen-libm-test.pl (cond_value): New function.
21395         (or_cond_value): Use cond_value.
21396         (generate_testfile): Handle conditional exceptions.
21398 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21400         * math/libm-test.inc (max_valid_error): New variable.
21401         (init_max_error): Take new argument specifying whether function
21402         results are exactly determined.  Set max_valid_error and bound
21403         other variables for errors based on this argument.
21404         (set_max_error): Do not record results above max_valid_error.
21405         (check_float_internal): Only accept errors of up to 0.5ulps if
21406         also at most max_valid_error.
21407         (START): Take new argument EXACT and pass it to init_max_error.
21408         (acos_test): Update call to START.
21409         (acos_test_tonearest): Likewise.
21410         (acos_test_towardzero): Likewise.
21411         (acos_test_downward): Likewise.
21412         (acos_test_upward): Likewise.
21413         (acosh_test): Likewise.
21414         (asin_test): Likewise.
21415         (asin_test_tonearest): Likewise.
21416         (asin_test_towardzero): Likewise.
21417         (asin_test_downward): Likewise.
21418         (asin_test_upward): Likewise.
21419         (asinh_test): Likewise.
21420         (atan_test): Likewise.
21421         (atanh_test): Likewise.
21422         (atan2_test): Likewise.
21423         (cabs_test): Likewise.
21424         (cacos_test): Likewise.
21425         (cacosh_test): Likewise.
21426         (carg_test): Likewise.
21427         (casin_test): Likewise.
21428         (casinh_test): Likewise.
21429         (catan_test): Likewise.
21430         (catanh_test): Likewise.
21431         (cbrt_test): Likewise.
21432         (ccos_test): Likewise.
21433         (ccosh_test): Likewise.
21434         (ceil_test): Likewise.
21435         (cexp_test): Likewise.
21436         (cimag_test): Likewise.
21437         (clog_test): Likewise.
21438         (clog10_test): Likewise.
21439         (conj_test): Likewise.
21440         (copysign_test): Likewise.
21441         (cos_test): Likewise.
21442         (cos_test_tonearest): Likewise.
21443         (cos_test_towardzero): Likewise.
21444         (cos_test_downward): Likewise.
21445         (cos_test_upward): Likewise.
21446         (cosh_test): Likewise.
21447         (cosh_test_tonearest): Likewise.
21448         (cosh_test_towardzero): Likewise.
21449         (cosh_test_downward): Likewise.
21450         (cosh_test_upward): Likewise.
21451         (cpow_test): Likewise.
21452         (cproj_test): Likewise.
21453         (creal_test): Likewise.
21454         (csin_test): Likewise.
21455         (csinh_test): Likewise.
21456         (csqrt_test): Likewise.
21457         (ctan_test): Likewise.
21458         (ctan_test_tonearest): Likewise.
21459         (ctan_test_towardzero): Likewise.
21460         (ctan_test_downward): Likewise.
21461         (ctan_test_upward): Likewise.
21462         (ctanh_test): Likewise.
21463         (ctanh_test_tonearest): Likewise.
21464         (ctanh_test_towardzero): Likewise.
21465         (ctanh_test_downward): Likewise.
21466         (ctanh_test_upward): Likewise.
21467         (erf_test): Likewise.
21468         (erfc_test): Likewise.
21469         (exp_test): Likewise.
21470         (exp_test_tonearest): Likewise.
21471         (exp_test_towardzero): Likewise.
21472         (exp_test_downward): Likewise.
21473         (exp_test_upward): Likewise.
21474         (exp10_test): Likewise.
21475         (exp10_test_tonearest): Likewise.
21476         (exp10_test_towardzero): Likewise.
21477         (exp10_test_downward): Likewise.
21478         (exp10_test_upward): Likewise.
21479         (pow10_test): Likewise.
21480         (exp2_test): Likewise.
21481         (expm1_test): Likewise.
21482         (expm1_test_tonearest): Likewise.
21483         (expm1_test_towardzero): Likewise.
21484         (expm1_test_downward): Likewise.
21485         (expm1_test_upward): Likewise.
21486         (fabs_test): Likewise.
21487         (fdim_test): Likewise.
21488         (floor_test): Likewise.
21489         (fma_test): Likewise.
21490         (fma_test_towardzero): Likewise.
21491         (fma_test_downward): Likewise.
21492         (fma_test_upward): Likewise.
21493         (fmax_test): Likewise.
21494         (fmin_test): Likewise.
21495         (fmod_test): Likewise.
21496         (fpclassify_test): Likewise.
21497         (frexp_test): Likewise.
21498         (hypot_test): Likewise.
21499         (ilogb_test): Likewise.
21500         (isfinite_test): Likewise.
21501         (finite_test): Likewise.
21502         (isgreater_test): Likewise.
21503         (isgreaterequal_test): Likewise.
21504         (isinf_test): Likewise.
21505         (isless_test): Likewise.
21506         (islessequal_test): Likewise.
21507         (islessgreater_test): Likewise.
21508         (isnan_test): Likewise.
21509         (isnormal_test): Likewise.
21510         (issignaling_test): Likewise.
21511         (isunordered_test): Likewise.
21512         (j0_test): Likewise.
21513         (j1_test): Likewise.
21514         (jn_test): Likewise.
21515         (ldexp_test): Likewise.
21516         (lgamma_test): Likewise.
21517         (gamma_test): Likewise.
21518         (lrint_test): Likewise.
21519         (lrint_test_tonearest): Likewise.
21520         (lrint_test_towardzero): Likewise.
21521         (lrint_test_downward): Likewise.
21522         (lrint_test_upward): Likewise.
21523         (llrint_test): Likewise.
21524         (llrint_test_tonearest): Likewise.
21525         (llrint_test_towardzero): Likewise.
21526         (llrint_test_downward): Likewise.
21527         (llrint_test_upward): Likewise.
21528         (log_test): Likewise.
21529         (log10_test): Likewise.
21530         (log1p_test): Likewise.
21531         (log2_test): Likewise.
21532         (logb_test): Likewise.
21533         (logb_test_downward): Likewise.
21534         (lround_test): Likewise.
21535         (llround_test): Likewise.
21536         (modf_test): Likewise.
21537         (nearbyint_test): Likewise.
21538         (nextafter_test): Likewise.
21539         (nexttoward_test): Likewise.
21540         (pow_test): Likewise.
21541         (pow_test_tonearest): Likewise.
21542         (pow_test_towardzero): Likewise.
21543         (pow_test_downward): Likewise.
21544         (pow_test_upward): Likewise.
21545         (remainder_test): Likewise.
21546         (drem_test): Likewise.
21547         (remainder_test_tonearest): Likewise.
21548         (drem_test_tonearest): Likewise.
21549         (remainder_test_towardzero): Likewise.
21550         (drem_test_towardzero): Likewise.
21551         (remainder_test_downward): Likewise.
21552         (drem_test_downward): Likewise.
21553         (remainder_test_upward): Likewise.
21554         (drem_test_upward): Likewise.
21555         (remquo_test): Likewise.
21556         (rint_test): Likewise.
21557         (rint_test_tonearest): Likewise.
21558         (rint_test_towardzero): Likewise.
21559         (rint_test_downward): Likewise.
21560         (rint_test_upward): Likewise.
21561         (round_test): Likewise.
21562         (scalb_test): Likewise.
21563         (scalbn_test): Likewise.
21564         (scalbln_test): Likewise.
21565         (signbit_test): Likewise.
21566         (sin_test): Likewise.
21567         (sin_test_tonearest): Likewise.
21568         (sin_test_towardzero): Likewise.
21569         (sin_test_downward): Likewise.
21570         (sin_test_upward): Likewise.
21571         (sincos_test): Likewise.
21572         (sinh_test): Likewise.
21573         (sinh_test_tonearest): Likewise.
21574         (sinh_test_towardzero): Likewise.
21575         (sinh_test_downward): Likewise.
21576         (sinh_test_upward): Likewise.
21577         (sqrt_test): Likewise.
21578         (sqrt_test_tonearest): Likewise.
21579         (sqrt_test_towardzero): Likewise.
21580         (sqrt_test_downward): Likewise.
21581         (sqrt_test_upward): Likewise.
21582         (tan_test): Likewise.
21583         (tan_test_tonearest): Likewise.
21584         (tan_test_towardzero): Likewise.
21585         (tan_test_downward): Likewise.
21586         (tan_test_upward): Likewise.
21587         (tanh_test): Likewise.
21588         (tgamma_test): Likewise.
21589         (trunc_test): Likewise.
21590         (y0_test): Likewise.
21591         (y1_test): Likewise.
21592         (yn_test): Likewise.
21593         (significand_test): Likewise.
21595         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21596         individual tests in comment.
21597         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21598         (prev_max_error): New variable.
21599         (prev_real_max_error): Likewise.
21600         (prev_imag_max_error): Likewise.
21601         (compare_ulp_data): Don't refer to test names in comment.
21602         (find_test_ulps): Remove function.
21603         (find_function_ulps): Likewise.
21604         (find_complex_function_ulps): Likewise.
21605         (init_max_error): Take function name as argument.  Look up ulps
21606         for that function.
21607         (print_ulps): Remove function.
21608         (print_max_error): Use prev_max_error instead of calling
21609         find_function_ulps.
21610         (print_complex_max_error): Use prev_real_max_error and
21611         prev_imag_max_error instead of calling find_complex_function_ulps.
21612         (check_float_internal): Take max_ulp parameter instead of calling
21613         find_test_ulps.  Don't call print_ulps.
21614         (check_float): Update call to check_float_internal.
21615         (check_complex): Update calls to check_float_internal.
21616         (START): Pass argument to init_max_error.
21617         * math/gen-libm-test.pl (%results): Don't include "kind"
21618         information.
21619         (parse_ulps): Don't handle ulps of individual tests.
21620         (print_ulps_file): Likewise.
21621         (output_ulps): Likewise.
21622         * math/README.libm-test: Update.
21623         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21624         individual tests.
21625         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21626         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21627         * sysdeps/arm/libm-test-ulps: Likewise.
21628         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21629         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21630         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21631         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21632         * sysdeps/microblaze/libm-test-ulps: Likewise.
21633         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21634         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21635         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21636         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21637         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21638         * sysdeps/sh/libm-test-ulps: Likewise.
21639         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21640         * sysdeps/tile/libm-test-ulps: Likewise.
21641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21643 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21645         * math/libm-test.inc (print_complex_max_error): Check separately
21646         whether real and imaginary errors are within allowed range and
21647         pass 0 to print_complex_function_ulps instead of value within
21648         allowed range.
21650 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21652         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21653         formatting.
21654         (get_handles_fopen): Likewise.
21655         (do_write_test): Likewise.
21657         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21659         * libio/fileops.c (do_ftell): Use cached offset when
21660         available.
21661         * libio/iofwide.c (do_ftell_wide): Likewise.
21662         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21663         _IO_file_attach.
21664         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21666         [BZ #16532]
21667         * libio/libioP.h (get_file_offset): New function.
21668         * libio/fileops.c (get_file_offset): Likewise.
21669         (do_ftell): Likewise.
21670         (_IO_new_file_seekoff): Split out ftell logic.
21671         * libio/wfileops.c (do_ftell_wide): Likewise.
21672         (_IO_wfile_seekoff): Split out ftell logic.
21673         * libio/tst-ftell-active-handler.c: New test case.
21674         * libio/Makefile (tests): Add it.
21676 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21678         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21679         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21681 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21683         [BZ #16639]
21684         * nscd/connections.c (nscd_init): Call do_exit.
21685         (start_threads): Call do_exit and notify_parent.
21686         (begin_drop_privileges): Call do_exit.
21687         (finish_drop_privileges): Likewise.
21688         * nscd/selinux.c (preserve_capabilities): Likewise.
21689         (install_real_capabilities): Likewise.
21690         (nscd_selinux_enabled): Likewise.
21691         (avc_create_thread): Likewise.
21692         (avc_alloc_lock): Likewise.
21693         (nscd_avc_init): Likewise.
21694         * nscd/nscd.c (parent_fd): New static variable.
21695         (main): Create a pipe between parent and child processes.
21696         Skip closing parent_fd.
21697         (monitor_child): New function.
21698         (do_exit): Likewise.
21699         (notify_parent): Likewise.
21700         * nscd/nscd.h (notify_parent): Likewise.
21701         (do_exit): Likewise.
21703 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21705         * malloc/malloc.c (__libc_calloc): Revert last change.
21707 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21711 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21713         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21715         implementation.
21716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21717         (__libc_ifunc_impl_list): Likewise.
21718         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21719         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21720         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21721         * string/strrchr.c: Define STRRCHR.
21723 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21725         * benchtest/bench-strtok.c (simple_strtok): Delete.
21726         (strtok_string): Use as benchmark.
21727         * string/strtok (STRTOK): New macro.
21729 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21731         * manual/threads.texi: Add header and standard comments to all
21732         functions.
21734         * elf/dl-lookup.c (check_match): New function.
21735         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21736         (do_lookup_x): Remove nested function check_match. Use non-nested
21737         function check_match.
21739 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21741         * csu/Makefile (generated, before-compile): Use += rather than =.
21742         * catgets/Makefile (generated, generated-dirs): Likewise.
21743         * debug/Makefile (generated): Likewise.
21744         * dlfcn/Makefile (generated): Likewise.
21745         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21746         * iconvdata/Makefile (before-compile, generated): Likewise.
21747         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21748         * libio/Makefile (generated): Likewise.
21749         * malloc/Makefile (generated): Likewise.
21750         * manual/Makefile (generated, generated-dirs): Likewise.
21751         * misc/Makefile (generated): Likewise.
21752         * posix/Makefile (generated): Likewise.
21753         * resolv/Makefile (generated): Likewise.
21754         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21755         * timezone/Makefile (generated, generated-dirs): Likewise.
21757         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21759 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21761         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21762         power8 implementation.
21763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21764         file: POWER8 llround ifunc implementation.
21765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21766         (__lllround): Add POWER8 implementation.
21767         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21768         POWER8 llround implementation.
21770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21771         power8 implementation.
21772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21773         file: POWER8 llrint ifunc implementation.
21774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21775         Add POWER8 implementation.
21776         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21777         POWER8 llrint implementation.
21779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21780         power8 implementation.
21781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21782         file: POWER8 finite ifunc implementation.
21783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21784         Add POWER8 implementation.
21785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21786         Likewise.
21787         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21788         POWER8 finite implementation.
21789         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21792         power8 implementation.
21793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21794         file: POWER8 isinf ifunc implementation.
21795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21796         POWER8 implementation.
21797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21798         Likewise.
21799         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21800         isinf implementation.
21801         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21803         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21804         (INIT_ARCH): Add hwcap2 initialization.
21805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21806         power8 implementation.
21807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21808         file: POWER8 isnan ifunc implementation.
21809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21810         POWER8 implementation.
21811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21812         Likewise.
21813         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21814         isnan implementation.
21815         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21817 2014-02-27  Joey Ye  <joey.ye@arm.com>
21819         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21820         (_FP_NANFRAC_Q): Set to zero.
21822 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21824         [BZ #16623]
21825         * math/auto-libm-test-in: New test inputs.
21826         * math/auto-libm-test-out: Regenerate.
21827         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21828         and DA.
21829         (__cos): Likewise.
21830         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21832 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21834         * scripts/evaluate-test.sh: Take new argument indicating whether
21835         failure is expected.
21836         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21837         indicating whether failure is expected.
21838         * conform/Makefile (test-xfail-run-conformtest): New variable.
21839         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21840         level.
21841         * posix/Makefile (test-xfail-annexc): New variable.
21842         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21844 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21846         * argp/Makefile: Include Makeconfig immediately after defining
21847         subdir.
21848         * assert/Makefile: Likewise.
21849         * benchtests/Makefile: Likewise.
21850         * catgets/Makefile: Likewise.
21851         * conform/Makefile: Likewise.
21852         * crypt/Makefile: Likewise.
21853         * csu/Makefile: Likewise.
21854         (all): Remove target.
21855         * ctype/Makefile: Include Makeconfig immediately after defining
21856         subdir.
21857         * debug/Makefile: Likewise.
21858         * dirent/Makefile: Likewise.
21859         * dlfcn/Makefile: Likewise.
21860         * gmon/Makefile: Likewise.
21861         * gnulib/Makefile: Likewise.
21862         * grp/Makefile: Likewise.
21863         * gshadow/Makefile: Likewise.
21864         * hesiod/Makefile: Likewise.
21865         * hurd/Makefile: Likewise.
21866         (all): Remove target.
21867         * iconvdata/Makefile: Include Makeconfig immediately after
21868         defining subdir.
21869         * inet/Makefile: Likewise.
21870         * intl/Makefile: Likewise.
21871         * io/Makefile: Likewise.
21872         * libio/Makefile: Likewise.
21873         (all): Remove target.
21874         * locale/Makefile: Include Makeconfig immediately after defining
21875         subdir.
21876         * login/Makefile: Likewise.
21877         * mach/Makefile: Likewise.
21878         (all): Remove target.
21879         * malloc/Makefile: Include Makeconfig immediately after defining
21880         subdir.
21881         (all): Remove target.
21882         * manual/Makefile: Include Makeconfig immediately after defining
21883         subdir.
21884         * math/Makefile: Likewise.
21885         * misc/Makefile: Likewise.
21886         * nis/Makefile: Likewise.
21887         * nss/Makefile: Likewise.
21888         * po/Makefile: Likewise.
21889         (all): Remove target.
21890         * posix/Makefile: Include Makeconfig immediately after defining
21891         subdir.
21892         * pwd/Makefile: Likewise.
21893         * resolv/Makefile: Likewise.
21894         * resource/Makefile: Likewise.
21895         * rt/Makefile: Likewise.
21896         * setjmp/Makefile: Likewise.
21897         * shadow/Makefile: Likewise.
21898         * signal/Makefile: Likewise.
21899         * socket/Makefile: Likewise.
21900         * soft-fp/Makefile: Likewise.
21901         * stdio-common/Makefile: Likewise.
21902         * stdlib/Makefile: Likewise.
21903         * streams/Makefile: Likewise.
21904         * string/Makefile: Likewise.
21905         * sunrpc/Makefile: Likewise.
21906         (all): Remove target.
21907         * sysvipc/Makefile: Include Makeconfig immediately after defining
21908         subdir.
21909         * termios/Makefile: Likewise.
21910         * time/Makefile: Likewise.
21911         * timezone/Makefile: Likewise.
21912         (all): Remove target.
21913         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21914         subdir.
21915         * wctype/Makefile: Likewise.
21917 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21919         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21920         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21921         (libc_feholdexcept_setround_mips): Ditto.
21922         (libc_feholdsetround): New.
21923         (libc_feholdsetroundf): New.
21924         (libc_feholdsetroundl): New.
21925         (libc_feupdateenv_test_mips): New.
21926         (libc_feupdateenv_test): New.
21927         (libc_feupdateenv_testf): New.
21928         (libc_feupdateenv_testl): New.
21929         (libc_feresetround): New.
21930         (libc_feresetroundf): New.
21931         (libc_feresetroundl): New.
21932         (libc_fetestexcept_mips): New.
21933         (libc_fetestexcept): New.
21934         (libc_fetestexceptf): New.
21935         (libc_fetestexceptl): New.
21936         (HAVE_RM_CTX): New.
21937         (libc_feholdexcept_setround_mips_ctx): New.
21938         (libc_feholdexcept_setround_ctx): New.
21939         (libc_feholdexcept_setroundf_ctx): New.
21940         (libc_feholdexcept_setroundl_ctx): New.
21941         (libc_fesetenv_mips_ctx): New.
21942         (libc_fesetenv_ctx): New.
21943         (libc_fesetenv_ctxf): New.
21944         (libc_fesetenv_ctxl): New.
21945         (libc_feupdateenv_mips_ctx): New.
21946         (libc_feupdateenv_ctx): New.
21947         (libc_feupdateenvf_ctx): New.
21948         (libc_feupdateenvl_ctx): New.
21949         (libc_feholdsetround_mips_ctx): New.
21950         (libc_feholdsetround_ctx): New.
21951         (libc_feholdsetroundf_ctx): New.
21952         (libc_feholdsetroundl_ctx): New.
21953         (libc_feresetround_mips_ctx): New.
21954         (libc_feresetround_ctx): New.
21955         (libc_feresetroundf_ctx): New.
21956         (libc_feresetroundl_ctx): New.
21958 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21960         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21962         * manual/ipc.texi: New file.
21963         * manual/Makefile (chapters): Add ipc.
21964         * manual/job.texi: Add "Inter-Process Communication" to next.
21965         * manual/process.texi: Add "Inter-Process Communication" to prev.
21967 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21971 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21973         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21975         * manual/arith.texi: Fix spaces after sentences.
21976         * manual/charset.texi: Likewise.
21977         * manual/errno.texi: Likewise.
21978         * manual/install.texi: Likewise.
21979         * manual/llio.texi: Likewise.
21980         * manual/locale.texi: Likewise.
21981         * manual/maint.texi: Likewise.
21982         * manual/math.texi: Likewise.
21983         * manual/memory.texi: Likewise.
21984         * manual/message.texi: Likewise.
21985         * manual/probes.texi: Likewise.
21986         * manual/resource.texi: Likewise.
21987         * manual/signal.texi: Likewise.
21988         * manual/socket.texi: Likewise.
21989         * manual/stdio.texi: Likewise.
21990         * manual/string.texi: Likewise.
21991         * manual/time.texi: Likewise.
21992         * manual/users.texi: Likewise.
21994 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21996         [BZ #16632]
21997         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21998         _DEFAULT_SOURCE is defined.
22000 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22001             Carlos O'Donell  <carlos@redhat.com>
22003         [BZ #16613]
22004         * elf/dl-tls.c (_dl_count_modids): New function.
22005         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22006         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22007         audit library and increment generation counter.
22008         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22009         * elf/tst-audit9.c: New file.
22010         * elf/tst-auditmod9a.c: New file.
22011         * elf/tst-auditmod9b.c: New file.
22012         * elf/Makefile: Add rules to build and run tst-audit9.
22014 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22016         [BZ #15347]
22017         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22019 2014-02-25  Will Newton  <will.newton@linaro.org>
22021         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22022         (__longjmp): Restore sp and lr before restoring callee
22023         saved registers.  Add longjmp and longjmp_target
22024         SystemTap probe point.
22025         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22026         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22027         Define to zero to match jmpbuf layout.
22028         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22029         (__sigsetjmp): Save sp and lr before saving callee
22030         saved registers.  Add setjmp SystemTap probe point.
22032 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22034         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22036 2014-02-24  Andreas Schwab  <schwab@suse.de>
22038         [BZ #15804]
22039         * elf/pldd.c (wait_for_ptrace_stop): New function.
22040         (main): Call it after attaching.
22042 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22044         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22045         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22046         Versions files is now verboten.
22047         * hurd/Versions (libc: GLIBC_2.0):
22048         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22049         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22050         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22051         * mach/Versions: Likewise.
22053         * csu/Versions: Remove unused %include.
22054         * resolv/Versions: Likewise.
22056 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22058         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22059         ($(objpfx)check-local-headers.out): Likewise.
22060         ($(objpfx)begin-end-check.out): Likewise.
22061         * Makerules (check-abi-%.out): Likewise.
22062         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22063         ($(objpfx)test2.cat): Likewise.
22064         ($(objpfx)de/libc.cat): Likewise.
22065         ($(objpfx)test-gencat.out): Likewise.
22066         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22067         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22068         ($(objpfx)noload-mem): Likewise.
22069         ($(objpfx)tst-pathopt.out): Likewise.
22070         ($(objpfx)tst-rtld-load-self.out): Likewise.
22071         ($(objpfx)tst-array1-cmp.out): Likewise.
22072         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22073         ($(objpfx)tst-array2-cmp.out): Likewise.
22074         ($(objpfx)tst-array3-cmp.out): Likewise.
22075         ($(objpfx)tst-array4-cmp.out): Likewise.
22076         ($(objpfx)tst-array5-cmp.out): Likewise.
22077         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22078         ($(objpfx)check-textrel.out): Likewise.
22079         ($(objpfx)check-execstack.out): Likewise.
22080         ($(objpfx)check-localplt.out): Likewise.
22081         ($(objpfx)order2-cmp.out): Likewise.
22082         ($(objpfx)tst-leaks1-mem): Likewise.
22083         ($(objpfx)tst-leaks1-static-mem): Likewise.
22084         ($(objpfx)tst-initorder-cmp.out): Likewise.
22085         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22086         ($(objpfx)tst-unused-dep.out): Likewise.
22087         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22088         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22089         * iconv/Makefile (test-iconvconfig): Likewise.
22090         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22091         ($(objpfx)iconv-test.out): Likewise.
22092         ($(objpfx)tst-tables.out): Likewise.
22093         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22094         ($(objpfx)tst-gettext.out): Likewise.
22095         ($(objpfx)tst-translit.out): Likewise.
22096         ($(objpfx)tst-gettext2.out): Likewise.
22097         ($(objpfx)tst-gettext4.out): Likewise.
22098         ($(objpfx)tst-gettext6.out): Likewise.
22099         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22100         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22101         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22102         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22103         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22104         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22105         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22106         ($(objpfx)wordexp-tst.out): Likewise.
22107         ($(objpfx)annexc.out): Likewise.
22108         ($(objpfx)tst-fnmatch-mem): Likewise.
22109         ($(objpfx)bug-regex2-mem): Likewise.
22110         ($(objpfx)bug-regex14-mem): Likewise.
22111         ($(objpfx)bug-regex21-mem): Likewise.
22112         ($(objpfx)bug-regex31-mem): Likewise.
22113         ($(objpfx)tst-vfork3-mem): Likewise.
22114         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22115         ($(objpfx)tst-pcre-mem): Likewise.
22116         ($(objpfx)tst-boost-mem): Likewise.
22117         ($(objpfx)tst-getconf.out): Likewise.
22118         ($(objpfx)bug-ga2-mem): Likewise.
22119         ($(objpfx)bug-glob2-mem): Likewise.
22120         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22121         ($(objpfx)mtrace-tst-leaks2): Likewise.
22122         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22123         ($(objpfx)tst-printf.out): Likewise.
22124         ($(objpfx)tst-setvbuf1.out): Likewise.
22125         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22126         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22127         ($(objpfx)tst-fmtmsg.out): Likewise.
22128         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22129         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22131         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22132         * bits/sigaction.h [__USE_MISC]: Likewise.
22133         * bits/waitstatus.h: Update #endif comments.
22134         * ctype/ctype.h: Likewise.
22135         * dirent/dirent.h: Likewise.
22136         [__USE_MISC]: Remove redundant conditionals.
22137         * grp/grp.h: Update #endif comments.
22138         [__USE_GNU]: Remove redundant conditionals.
22139         [__USE_MISC]: Likewise.
22140         * inet/netinet/in.h [__USE_GNU]: Likewise.
22141         * io/sys/stat.h [__USE_MISC]: Likewise.
22142         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22143         * libio/bits/stdio.h: Update #endif comments.
22144         [__USE_MISC]: Remove redundant conditionals.
22145         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22146         * libio/stdio.h: Update #endif comments.
22147         [__USE_MISC]: Remove redundant conditionals.
22148         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22149         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22150         * math/math.h: Update #else and #endif comments.
22151         [__USE_MISC]: Remove redundant conditionals.
22152         * misc/sys/uio.h: Update #endif comments.
22153         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22154         * posix/glob.h [__USE_MISC]: Likewise.
22155         * posix/sys/types.h: Update #endif comments.
22156         [__USE_MISC]: Remove redundant conditionals.
22157         * posix/sys/wait.h: Update #endif comments.
22158         [__USE_MISC]: Remove redundant conditionals.
22159         * posix/unistd.h: Update #endif comments.
22160         [__USE_MISC]: Remove redundant conditionals.
22161         * pwd/pwd.h [__USE_GNU]: Likewise.
22162         [__USE_MISC]: Likewise.
22163         * resolv/netdb.h [__USE_GNU]: Likewise.
22164         * signal/signal.h: Update #endif comments.
22165         [__USE_MISC]: Remove redundant conditionals.
22166         * stdlib/stdlib.h: Update #else and #endif comments.
22167         [__USE_MISC]: Remove redundant conditionals.
22168         [__USE_GNU]: Likewise.
22169         * string/bits/string2.h [__USE_MISC]: Likewise.
22170         * string/string.h: Update #endif comments.
22171         [__USE_MISC]: Remove redundant conditionals.
22172         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22173         Likewise.
22174         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22175         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22176         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22177         Likewise.
22178         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22179         Likewise.
22180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22181         comments.
22182         [__USE_MISC]: Remove redundant conditionals.
22183         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22184         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22185         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22186         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22187         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22188         Likewise.
22189         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22190         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22191         Likewise.
22192         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22193         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22194         Likewise.
22195         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22196         Likewise.
22197         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22198         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22199         Likewise.
22200         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22201         Likewise.
22202         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22203         * sysdeps/x86/bits/string.h: Update #endif comments.
22204         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22205         conditionals.
22206         * time/sys/time.h: Update #endif comments.
22207         * time/time.h: Likewise.
22208         [__USE_MISC]: Remove redundant conditionals.
22210 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22212         [BZ #16600]
22213         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22215 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22217         * Versions.def (librt): Add GLIBC_2.17.
22219 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22221         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22222         synonym for _SYS_AUXV_H to allow direct inclusion.
22223         * sysdeps/sparc/bits/hwcap.h: Likewise.
22224         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22225         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22226         * sysdeps/sparc/sysdep.h: Likewise.
22228 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22230         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22232 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22234         * benchtests/bench-strrchr.c: Print length instead of position.
22236 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22238         [BZ #16611]
22239         * sysdeps/unix/sysv/linux/kernel-features.h
22240         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22241         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22242         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22243         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22244         Likewise.
22245         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22246         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22247         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22248         (__ASSUME_SENDMMSG): Define instead of using previous
22249         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22250         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22251         (__ASSUME_SENDMMSG_SYSCALL): Define.
22252         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22253         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22254         Likewise.
22255         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22256         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22257         Likewise.
22258         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22259         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22260         Likewise.
22261         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22262         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22263         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22264         [__ASSUME_SENDMMSG]: Change conditionals to
22265         [__ASSUME_SENDMMSG_SOCKETCALL].
22266         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22267         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22268         Define.
22269         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22270         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22271         Likewise.
22272         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22273         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22274         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22275         [!__ASSUME_SENDMMSG]: Change conditional to
22276         [!__ASSUME_SENDMMSG_SOCKETCALL].
22277         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22278         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22279         Define.
22281         [BZ #16610]
22282         * sysdeps/unix/sysv/linux/kernel-features.h
22283         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22284         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22285         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22286         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22287         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22288         [__i386__ || __sparc__]
22289         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22290         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22291         (__ASSUME_RECVMMSG): Define instead of using previous
22292         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22293         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22294         (__ASSUME_RECVMMSG_SYSCALL): Define.
22295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22296         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22297         Likewise.
22298         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22299         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22300         Likewise.
22301         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22302         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22303         Likewise.
22304         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22305         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22306         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22307         [__ASSUME_RECVMMSG]: Change condition to
22308         [__ASSUME_RECVMMSG_SOCKETCALL].
22309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22310         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22311         Define.
22312         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22313         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22315         Likewise.
22316         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22317         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22318         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22319         [!__ASSUME_RECVMMSG]: Change condition to
22320         [!__ASSUME_RECVMMSG_SOCKETCALL].
22321         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22322         (__ASSUME_RECVMMSG_SYSCALL): Define.
22324         [BZ #16609]
22325         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22326         __powerpc__ || __s390__ || __sh__ || __sparc__]
22327         (__ASSUME_SOCKETCALL): Define.
22328         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22329         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22330         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22331         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22332         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22333         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22334         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22335         (__ASSUME_ACCEPT4): Define instead of using previous
22336         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22337         __powerpc__ || __sparc__ || __s390__)] condition.
22338         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22339         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22340         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22341         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22342         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22343         [!__ASSUME_ACCEPT4]: Change condition to
22344         [!__ASSUME_ACCEPT4_SOCKETCALL].
22345         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22346         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22347         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22348         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22349         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22350         __ASSUME_ACCEPT4_SYSCALL.
22351         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22352         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22353         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22354         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22355         __ASSUME_ACCEPT4_SYSCALL.
22356         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22357         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22358         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22359         [__ASSUME_ACCEPT4]: Change condition to
22360         [__ASSUME_ACCEPT4_SOCKETCALL].
22361         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22362         (__ASSUME_SOCKETCALL): Define.
22363         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22365         (__ASSUME_SOCKETCALL): Define.
22366         (__ASSUME_ACCEPT4): Remove.
22367         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22368         Define.
22369         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22370         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22371         Likewise.
22372         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22373         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22375         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22376         macro.
22377         (HWCAP_ARM_LPAE): Likewise.
22378         (HWCAP_ARM_EVTSTRM): Likewise.
22379         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22380         Add vpfd32, lpae and evtstrm.
22381         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22382         Increase to 22.
22384 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22386         * math/auto-libm-test-in: Add tests of clog10.
22387         * math/auto-libm-test-out: Regenerated.
22388         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22389         * sysdeps/i386/fpu/libm-test-ulps: Update.
22390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22392 2014-02-18  Andreas Schwab  <schwab@suse.de>
22394         [BZ #16574]
22395         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22396         Store non-zero if the second buffer was newly allocated.
22397         (send_dg): Likewise.
22398         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22399         to send_vc and send_dg.
22400         (res_nsend): Pass NULL for ansp2_malloced.
22401         * resolv/res_query.c (__libc_res_nquery): Add parameter
22402         answerp2_malloced and pass it down to __libc_res_nsend.
22403         (res_nquery): Pass additional NULL to __libc_res_nquery.
22404         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22405         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22406         second answer buffer if answerp2_malloced was set.
22407         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22408         (__libc_res_nquerydomain): Add parameter
22409         answerp2_malloced and pass it down to __libc_res_nquery.
22410         (res_nquerydomain): Pass additional NULL to
22411         __libc_res_nquerydomain.
22412         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22413         additional NULL to __libc_res_nsend and __libc_res_nquery.
22414         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22415         additional NULL to __libc_res_nsearch.
22416         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22417         parameter of __libc_res_nsearch to check for separately allocated
22418         second buffer.
22419         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22420         __libc_res_nquery.
22421         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22422         additional NULL to __libc_res_nquery.
22423         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22424         __libc_res_nsearch.
22425         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22426         * include/resolv.h: Update prototypes of __libc_res_nquery,
22427         __libc_res_nsearch, __libc_res_nsend.
22429 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22431         * math/auto-libm-test-in: Add tests of fma.
22432         * math/auto-libm-test-out: Regenerated.
22433         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22434         (fma_towardzero_test_data): Likewise.
22435         (fma_downward_test_data): Likewise.
22436         (fma_upward_test_data): Likewise.
22437         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22438         mpc_mode.
22439         (rounding_modes): Add values for new field.
22440         (func_calc_method): Add value mpfr_fff_f.
22441         (func_calc_desc): Add mpfr_fff_f union field.
22442         (test_function): Add field exact_args.
22443         (FUNC): Add macro argument EXACT_ARGS.
22444         (FUNC_mpfr_f_f): Update call to FUNC.
22445         (FUNC_mpfr_f_f): Likewise.
22446         (FUNC_mpfr_ff_f): Likewise.
22447         (FUNC_mpfr_if_f): Likewise.
22448         (FUNC_mpc_c_f): Likewise.
22449         (FUNC_mpc_c_c): Likewise.
22450         (test_functions): Add fma.  Update calls to FUNC.
22451         (handle_input_arg): Add argument exact_args.
22452         (add_test): Update call to handle_input_arg.
22453         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22454         (output_for_one_input_case): Update call to calc_generic_results.
22455         Recalculate exact zero results in each rounding mode.
22457         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22458         non-negative before setting low bit.
22459         * math/auto-libm-test-in: Mark one asin test possibly having
22460         spurious underflow.
22461         * math/auto-libm-test-out: Regenerated.
22462         * sysdeps/i386/fpu/libm-test-ulps: Update.
22463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22465 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22467         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22468         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22469         ports/sysdeps/unix/sysv/linux/microblaze.
22470         * README: Add missing listing for microblaze*-*-linux-gnu.
22472 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22474         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22475         duplicate code
22477 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22479         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22480         * sysdeps/unix/sysv/linux/ia64: Move directory from
22481         ports/sysdeps/unix/sysv/linux/ia64.
22482         * README: Update listing for ia64-*-linux-gnu.
22484 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22485             Joseph Myers  <joseph@codesourcery.com>
22487         * Makeconfig (test-name): New variable.
22488         (evaluate-test): Likewise.
22489         * Makerules (do-test-clean): Remove .test-result files.
22490         (common-mostlyclean): Likewise.
22491         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22492         * scripts/evaluate-test.sh: New file.
22494 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22496         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22497         separate $(objpfx)tst-fopenloc-cmp.out and
22498         $(objpfx)tst-fopenloc-mem.out targets.
22499         (tests): Update dependencies.
22500         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22501         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22502         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22503         (tst-rxspencer-no-utf8-ARGS): New variable.
22504         (tst-rxspencer-no-utf8-ENV): Likewise.
22505         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22506         instead of $(objpfx)tst-rxspencer-mem.
22507         ($(objpfx)tst-rxspencer-mem): Change target to
22508         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22509         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22510         * posix/tst-rxspencer-no-utf8.c: New file.
22512         * elf/Makefile ($(objpfx)order.out): Remove rule.
22513         [$(run-built-tests) = yes] (tests): Depend on
22514         $(objpfx)order-cmp.out.
22515         ($(objpfx)order-cmp.out): New rule.
22516         [$(run-built-tests) = yes] (tests): Depend on
22517         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22518         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22519         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22520         $(objpfx)tst-array5-static-cmp.out.
22521         ($(objpfx)tst-array1.out): Remove rule.
22522         ($(objpfx)tst-array1-cmp.out): New rule.
22523         ($(objpfx)tst-array1-static.out): Remove rule.
22524         ($(objpfx)tst-array1-static-cmp.out): New rule.
22525         ($(objpfx)tst-array2.out): Remove rule.
22526         ($(objpfx)tst-array2-cmp.out): New rule.
22527         ($(objpfx)tst-array3.out): Remove rule.
22528         ($(objpfx)tst-array3-cmp.out): New rule.
22529         ($(objpfx)tst-array4.out): Remove rule.
22530         ($(objpfx)tst-array4-cmp.out): New rule.
22531         ($(objpfx)tst-array5.out): Remove rule.
22532         ($(objpfx)tst-array5-cmp.out): New rule.
22533         ($(objpfx)tst-array5-static.out): Remove rule.
22534         ($(objpfx)tst-array5-static-cmp.out): New rule.
22535         [$(run-built-tests) = yes] (tests): Depend on
22536         $(objpfx)order2-cmp.out.
22537         ($(objpfx)order2.out): Remove rule.
22538         ($(objpfx)order2-cmp.out): New rule.
22539         ($(objpfx)tst-initorder.out): Remove rule.
22540         [$(run-built-tests) = yes] (tests): Depend on
22541         $(objpfx)tst-initorder-cmp.out.
22542         ($(objpfx)tst-initorder-cmp.out): New rule.
22543         ($(objpfx)tst-initorder2.out): Remove rule.
22544         [$(run-built-tests) = yes] (tests): Depend on
22545         $(objpfx)tst-initorder2-cmp.out.
22546         ($(objpfx)tst-initorder2-cmp.out): New rule.
22547         [$(run-built-tests) = yes] (tests): Depend on
22548         $(objpfx)tst-unused-dep-cmp.out.
22549         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22550         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22551         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22552         on $(objpfx)tst-setvbuf1-cmp.out.
22553         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22554         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22555         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22556         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22557         ($(objpfx)tst-svc.out): Remove rule.
22558         ($(objpfx)tst-svc-cmp.out): New rule.
22560 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22562         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22563         * ctype/ctype.h [__USE_MISC]: Likewise.
22564         * dirent/dirent.h [__USE_MISC]: Likewise.
22565         * grp/grp.h [__USE_MISC]: Likewise.
22566         * io/fcntl.h [__USE_MISC]: Likewise.
22567         * io/sys/stat.h [__USE_MISC]: Likewise.
22568         * libio/stdio.h [__USE_MISC]: Likewise.
22569         * posix/unistd.h [__USE_MISC]: Likewise.
22570         * pwd/pwd.h [__USE_MISC]: Likewise.
22571         * stdlib.h [__USE_MISC]: Likewise.
22572         * string/bits/string2.h [__USE_MISC]: Likewise.
22573         * string/string.h [__USE_MISC]: Likewise.
22574         * time/time.h [__USE_MISC]: Likewise.
22576 2014-02-13  Andreas Schwab  <schwab@suse.de>
22578         [BZ #16574]
22579         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22580         second answer buffer if it was separately allocated.
22582 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22584         * sysdeps/mips/math-tests.h: Include <features.h>.
22585         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22586         (ROUNDING_TESTS_long_double): Do not define.
22587         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22588         (EXCEPTION_TESTS_long_double): Likewise.
22589         * sysdeps/mips/mips64/libm-test-ulps: Update.
22591         * include/features.h (__USE_BSD): Remove macro definitions.
22592         (__USE_SVID): Likewise.
22593         (_BSD_SOURCE): Likewise.
22594         (_SVID_SOURCE): Likewise.
22595         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22596         from definition of _DEFAULT_SOURCE.
22597         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22598         [_DEFAULT_SOURCE].
22599         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22600         * bits/mman.h [__USE_BSD]: Likewise.
22601         * bits/termios.h [__USE_BSD]: Likewise.
22602         * bits/waitstatus.h [__USE_BSD]: Likewise.
22603         * ctype/ctype.h [__USE_SVID]: Likewise.
22604         * dirent/dirent.h [__USE_BSD]: Likewise.
22605         * grp/grp.h [__USE_SVID]: Likewise.
22606         [__USE_BSD]: Likewise.
22607         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22608         * io/fcntl.h [__USE_BSD]: Likewise.
22609         * io/ftw.h [__USE_BSD]: Likewise.
22610         * io/sys/stat.h [__USE_BSD]: Likewise.
22611         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22612         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22613         * libio/stdio.h [__USE_SVID]: Likewise.
22614         [__USE_BSD]: Likewise.
22615         * math/math.h [__USE_SVID]: Likewise.
22616         [__USE_BSD]: Likewise.
22617         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22618         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22619         * misc/search.h [__USE_SVID]: Likewise.
22620         * misc/sys/mman.h [__USE_BSD]: Likewise.
22621         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22622         * misc/sys/uio.h [__USE_BSD]: Likewise.
22623         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22624         * posix/glob.h [__USE_BSD]: Likewise.
22625         * posix/regex.h [__USE_BSD]: Likewise.
22626         * posix/sys/types.h [__USE_BSD]: Likewise.
22627         [__USE_SVID]: Likewise.
22628         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22629         * posix/sys/wait.h [__USE_BSD]: Likewise.
22630         [__USE_SVID]: Likewise.
22631         * posix/unistd.h [__USE_BSD]: Likewise.
22632         [__USE_SVID]: Likewise.
22633         * pwd/pwd.h [__USE_SVID]: Likewise.
22634         * resolv/netdb.h [__USE_BSD]: Likewise.
22635         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22636         * signal/signal.h [__USE_BSD]: Likewise.
22637         [__USE_SVID]: Likewise.
22638         * socket/sys/socket.h [__USE_BSD]: Likewise.
22639         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22640         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22641         [__USE_SVID]: Likewise.
22642         * string/bits/string2.h [__USE_BSD]: Likewise.
22643         [__USE_SVID]: Likewise.
22644         * string/bits/string3.h [__USE_BSD]: Likewise.
22645         * string/endian.h [__USE_BSD]: Likewise.
22646         * string/string.h [__USE_SVID]: Likewise.
22647         [__USE_BSD]: Likewise.
22648         * string/strings.h [__USE_BSD]: Likewise.
22649         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22650         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22651         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22652         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22653         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22654         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22655         Likewise.
22656         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22657         Likewise.
22658         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22659         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22660         Likewise.
22661         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22662         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22663         Likewise.
22664         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22665         Likewise.
22666         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22667         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22668         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22669         Likewise.
22670         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22671         Likewise.
22672         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22673         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22674         * termios/termios.h [__USE_BSD]: Likewise.
22675         * time/sys/time.h [__USE_BSD]: Likewise.
22676         * time/time.h [__USE_BSD]: Likewise.
22677         [__USE_SVID]: Likewise.
22679         * Makefile (subdir_targets): Remove subdir_lint.out.
22681         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22682         (do-tst-printf): Likewise.
22683         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22684         $(objpfx)tst-printf.out.
22686         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22688         * Makerules (check-abi-%): Change target to
22689         $(objpfx)check-abi-%.out.
22690         (check-abi target): Update dependencies.
22691         (check-abi-pattern variable): Redirect output of diff to $@.
22692         (check-abi variable): Likewise.
22693         * elf/Makefile (check-abi): Update dependencies.
22695         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22696         unused.
22697         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22698         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22699         subnormal range.
22700         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22701         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22702         value has largest subnormal exponent.
22703         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22704         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22705         * sysdeps/aarch64/soft-fp/sfp-machine.h
22706         (_FP_TININESS_AFTER_ROUNDING): New macro.
22707         * sysdeps/alpha/soft-fp/sfp-machine.h
22708         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22709         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22710         Likewise.
22711         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22712         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22713         * sysdeps/mips/soft-fp/sfp-machine.h
22714         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22715         * sysdeps/powerpc/soft-fp/sfp-machine.h
22716         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22717         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22718         Likewise.
22719         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22720         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22721         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22722         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22723         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22724         Likewise.
22726 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22728         [BZ #16545]
22729         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22730         model 1.
22732 2014-02-12  Richard Henderson  <rth@redhat.com>
22734         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22735         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22736         * sysdeps/unix/sysv/linux/alpha: Move directory from
22737         ports/sysdeps/unix/sysv/linux/alpha.
22738         * README: Update listing for alpha-*-linux-gnu.
22740 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22742         * include/features.h: Update comment documenting feature test
22743         macros.
22744         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22745         _DEFAULT_SOURCE.
22746         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22747         (_SVID_SOURCE): Likewise.
22748         (_DEFAULT_SOURCE): Update description of default features.
22749         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22750         with _GNU_SOURCE.
22751         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22752         (S_ISVTX): Likewise.
22753         * manual/math.texi (Mathematical Constants): Likewise.
22754         * manual/signal.texi (Interrupted Primitives): Likewise.
22755         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22756         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22757         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22758         Don't refer to _SVID_SOURCE in warning text.
22760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22762         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22763         already defined.
22764         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22765         * sysdeps/mips/dl-lookup.c: Remove.
22766         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22768 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22770         [BZ #16447]
22771         * math/auto-libm-test-in: Add testcase for expl.
22772         * math/auto-libm-test-out: Regenerate.
22773         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22774         calculation of unsafe.
22775         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22777 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22779         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22780         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22781         ports/sysdeps/unix/sysv/linux/aarch64.
22782         * README: Update listing for aarch64*-*-linux-gnu.
22784 2014-02-11  Will Newton  <will.newton@linaro.org>
22786         * manual/probes.texi (Mathematical Function Probes): Use
22787         "triggered" instead of "hit".
22789         * manual/probes.texi (Internal Probes): Add documentation
22790         of setjmp, longjmp and longjmp_target probes.
22792         * include/stap-probe.h: Add comment about probe argument
22793         format.
22795         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22796         definition.  (tr_where, tr_freehook, tr_mallochook,
22797         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22799 2014-02-11  David S. Miller  <davem@davemloft.net>
22801         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22802         processing int_tests.
22804 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22806         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22807         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22808         * sysdeps/unix/sysv/linux/mips: Move directory from
22809         ports/sysdeps/unix/sysv/linux/mips.
22810         * README: Update listing for mips-*-linux-gnu and
22811         mips64-*-linux-gnu.
22813 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22815         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22816         * sysdeps/unix/sysv/linux/m68k: Move directory from
22817         ports/sysdeps/unix/sysv/linux/m68k.
22818         * README: Update listing for m68k-*-linux-gnu.
22820 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22822         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22823         * sysdeps/unix/sysv/linux/generic: Move directory from
22824         ports/sysdeps/unix/sysv/linux/generic.
22825         * sysdeps/unix/sysv/linux/tile: Move directory from
22826         ports/sysdeps/unix/sysv/linux/tile.
22827         * README: Update listing for tile*-*-linux-gnu.
22829 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22831         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22832         __builtin_expect.
22833         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22834         * catgets/open_catalog.c (__open_catalog): Likewise.
22835         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22836         * debug/confstr_chk.c: Likewise.
22837         * debug/fread_chk.c (__fread_chk): Likewise.
22838         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22839         * debug/getgroups_chk.c: Likewise.
22840         * debug/mbsnrtowcs_chk.c: Likewise.
22841         * debug/mbsrtowcs_chk.c: Likewise.
22842         * debug/mbstowcs_chk.c: Likewise.
22843         * debug/memcpy_chk.c: Likewise.
22844         * debug/memmove_chk.c: Likewise.
22845         * debug/mempcpy_chk.c: Likewise.
22846         * debug/memset_chk.c: Likewise.
22847         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22848         * debug/strcat_chk.c (__strcat_chk): Likewise.
22849         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22850         * debug/strncat_chk.c (__strncat_chk): Likewise.
22851         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22852         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22853         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22854         * debug/wcpncpy_chk.c: Likewise.
22855         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22856         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22857         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22858         * debug/wcsncpy_chk.c: Likewise.
22859         * debug/wcsnrtombs_chk.c: Likewise.
22860         * debug/wcsrtombs_chk.c: Likewise.
22861         * debug/wcstombs_chk.c: Likewise.
22862         * debug/wmemcpy_chk.c: Likewise.
22863         * debug/wmemmove_chk.c: Likewise.
22864         * debug/wmempcpy_chk.c: Likewise.
22865         * debug/wmemset_chk.c: Likewise.
22866         * dirent/scandirat.c (SCANDIRAT): Likewise.
22867         * dlfcn/dladdr1.c (dladdr1): Likewise.
22868         * dlfcn/dladdr.c (dladdr): Likewise.
22869         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22870         * dlfcn/dlerror.c (__dlerror): Likewise.
22871         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22872         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22873         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22874         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22875         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22876         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22877         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22878         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22879         Likewise.
22880         * elf/dl-conflict.c: Likewise.
22881         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22882         * elf/dl-dst.h: Likewise.
22883         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22884         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22885         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22886         * elf/dl-init.c (call_init, _dl_init): Likewise.
22887         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22888         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22889         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22890         Likewise.
22891         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22892         Likewise.
22893         * elf/dl-minimal.c (__libc_memalign): Likewise.
22894         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22895         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22896         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22897         * elf/dl-sym.c (do_sym): Likewise.
22898         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22899         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22900         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22901         * elf/dl-writev.h (_dl_writev): Likewise.
22902         * elf/ldconfig.c (search_dir): Likewise.
22903         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22904         (dl_main): Likewise.
22905         * elf/setup-vdso.h (setup_vdso): Likewise.
22906         * grp/compat-initgroups.c (compat_call): Likewise.
22907         * grp/fgetgrent.c (fgetgrent): Likewise.
22908         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22909         * grp/putgrent.c (putgrent): Likewise.
22910         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22911         Likewise.
22912         * hurd/hurdinit.c: Likewise.
22913         * iconvdata/8bit-gap.c (struct): Likewise.
22914         * iconvdata/ansi_x3.110.c : Likewise.
22915         * iconvdata/big5.c : Likewise.
22916         * iconvdata/big5hkscs.c : Likewise.
22917         * iconvdata/cp1255.c: Likewise.
22918         * iconvdata/cp1258.c : Likewise.
22919         * iconvdata/cp932.c : Likewise.
22920         * iconvdata/euc-cn.c: Likewise.
22921         * iconvdata/euc-jisx0213.c : Likewise.
22922         * iconvdata/euc-jp.c: Likewise.
22923         * iconvdata/euc-jp-ms.c : Likewise.
22924         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22925         * iconvdata/gb18030.c : Likewise.
22926         * iconvdata/gbbig5.c (const): Likewise.
22927         * iconvdata/gbgbk.c: Likewise.
22928         * iconvdata/gbk.c : Likewise.
22929         * iconvdata/ibm1364.c : Likewise.
22930         * iconvdata/ibm930.c : Likewise.
22931         * iconvdata/ibm932.c: Likewise.
22932         * iconvdata/ibm933.c : Likewise.
22933         * iconvdata/ibm935.c : Likewise.
22934         * iconvdata/ibm937.c : Likewise.
22935         * iconvdata/ibm939.c : Likewise.
22936         * iconvdata/ibm943.c: Likewise.
22937         * iconvdata/iso_11548-1.c: Likewise.
22938         * iconvdata/iso-2022-cn.c : Likewise.
22939         * iconvdata/iso-2022-cn-ext.c : Likewise.
22940         * iconvdata/iso-2022-jp-3.c: Likewise.
22941         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22942         * iconvdata/iso-2022-kr.c : Likewise.
22943         * iconvdata/iso646.c (gconv_end): Likewise.
22944         * iconvdata/iso_6937-2.c : Likewise.
22945         * iconvdata/iso_6937.c : Likewise.
22946         * iconvdata/iso8859-1.c: Likewise.
22947         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22948         * iconvdata/shift_jisx0213.c : Likewise.
22949         * iconvdata/sjis.c : Likewise.
22950         * iconvdata/t.61.c : Likewise.
22951         * iconvdata/tcvn5712-1.c : Likewise.
22952         * iconvdata/tscii.c: Likewise.
22953         * iconvdata/uhc.c : Likewise.
22954         * iconvdata/unicode.c (gconv_end): Likewise.
22955         * iconvdata/utf-16.c (gconv_end): Likewise.
22956         * iconvdata/utf-32.c (gconv_end): Likewise.
22957         * iconvdata/utf-7.c (base64): Likewise.
22958         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22959         * iconv/gconv_close.c (__gconv_close): Likewise.
22960         * iconv/gconv_open.c (__gconv_open): Likewise.
22961         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22962         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22963         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22964         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22965         (ucs4le_internal_loop_single): Likewise.
22966         * iconv/iconv.c (iconv): Likewise.
22967         * iconv/iconv_close.c: Likewise.
22968         * iconv/loop.c (SINGLE): Likewise.
22969         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22970         * include/atomic.h: Likewise.
22971         * inet/inet6_option.c (option_alloc): Likewise.
22972         * intl/bindtextdom.c (set_binding_values): Likewise.
22973         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22974         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22975         * intl/localealias.c (read_alias_file): Likewise.
22976         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22977         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22978         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22979         * libio/fmemopen.c (fmemopen): Likewise.
22980         * libio/iofgets.c (_IO_fgets): Likewise.
22981         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22982         * libio/iofgetws.c (fgetws): Likewise.
22983         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22984         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22985         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22986         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22987         * locale/findlocale.c (_nl_find_locale): Likewise.
22988         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22989         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22990         Likewise.
22991         * locale/setlocale.c (setlocale): Likewise.
22992         * login/programs/pt_chown.c (main): Likewise.
22993         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22994         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22995         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22996         (mmap, mmap64, mremap, munmap): Likewise.
22997         * math/e_exp2l.c: Likewise.
22998         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22999         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23000         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23001         * math/s_catan.c (__catan): Likewise.
23002         * math/s_catanf.c (__catanf): Likewise.
23003         * math/s_catanh.c (__catanh): Likewise.
23004         * math/s_catanhf.c (__catanhf): Likewise.
23005         * math/s_catanhl.c (__catanhl): Likewise.
23006         * math/s_catanl.c (__catanl): Likewise.
23007         * math/s_ccosh.c (__ccosh): Likewise.
23008         * math/s_ccoshf.c (__ccoshf): Likewise.
23009         * math/s_ccoshl.c (__ccoshl): Likewise.
23010         * math/s_cexp.c (__cexp): Likewise.
23011         * math/s_cexpf.c (__cexpf): Likewise.
23012         * math/s_cexpl.c (__cexpl): Likewise.
23013         * math/s_clog10.c (__clog10): Likewise.
23014         * math/s_clog10f.c (__clog10f): Likewise.
23015         * math/s_clog10l.c (__clog10l): Likewise.
23016         * math/s_clog.c (__clog): Likewise.
23017         * math/s_clogf.c (__clogf): Likewise.
23018         * math/s_clogl.c (__clogl): Likewise.
23019         * math/s_csin.c (__csin): Likewise.
23020         * math/s_csinf.c (__csinf): Likewise.
23021         * math/s_csinh.c (__csinh): Likewise.
23022         * math/s_csinhf.c (__csinhf): Likewise.
23023         * math/s_csinhl.c (__csinhl): Likewise.
23024         * math/s_csinl.c (__csinl): Likewise.
23025         * math/s_csqrt.c (__csqrt): Likewise.
23026         * math/s_csqrtf.c (__csqrtf): Likewise.
23027         * math/s_csqrtl.c (__csqrtl): Likewise.
23028         * math/s_ctan.c (__ctan): Likewise.
23029         * math/s_ctanf.c (__ctanf): Likewise.
23030         * math/s_ctanh.c (__ctanh): Likewise.
23031         * math/s_ctanhf.c (__ctanhf): Likewise.
23032         * math/s_ctanhl.c (__ctanhl): Likewise.
23033         * math/s_ctanl.c (__ctanl): Likewise.
23034         * math/w_pow.c: Likewise.
23035         * math/w_powf.c: Likewise.
23036         * math/w_powl.c: Likewise.
23037         * math/w_scalb.c (sysv_scalb): Likewise.
23038         * math/w_scalbf.c (sysv_scalbf): Likewise.
23039         * math/w_scalbl.c (sysv_scalbl): Likewise.
23040         * misc/error.c (error_tail): Likewise.
23041         * misc/pselect.c (__pselect): Likewise.
23042         * nis/nis_callback.c (__nis_create_callback): Likewise.
23043         * nis/nis_call.c (__nisfind_server): Likewise.
23044         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23045         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23046         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23047         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23048         * nis/nis_lookup.c (nis_lookup): Likewise.
23049         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23050         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23051         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23052         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23053         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23054         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23055         * nis/nss_compat/compat-initgroups.c (add_group)
23056         (internal_getgrent_r): Likewise.
23057         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23058         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23059         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23060         (internal_getspnam_r): Likewise.
23061         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23062         (_nss_nis_getaliasbyname_r): Likewise.
23063         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23064         (_nss_nis_getntohost_r): Likewise.
23065         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23066         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23067         (_nss_nis_getgrgid_r): Likewise.
23068         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23069         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23070         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23071         (_nss_nis_gethostbyname4_r): Likewise.
23072         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23073         (initgroups_netid): Likewise.
23074         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23075         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23076         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23077         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23078         (_nss_nis_getprotobynumber_r): Likewise.
23079         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23080         (_nss_nis_getsecretkey): Likewise.
23081         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23082         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23083         (_nss_nis_getpwuid_r): Likewise.
23084         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23085         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23086         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23087         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23088         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23089         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23090         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23091         Likewise.
23092         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23093         (_nss_nisplus_getntohost_r): Likewise.
23094         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23095         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23096         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23097         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23098         Likewise.
23099         * nis/nss_nisplus/nisplus-initgroups.c
23100         (_nss_nisplus_initgroups_dyn): Likewise.
23101         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23102         (_nss_nisplus_getnetbyaddr_r): Likewise.
23103         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23104         (_nss_nisplus_getprotobynumber_r): Likewise.
23105         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23106         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23107         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23108         Likewise.
23109         * nis/nss_nisplus/nisplus-service.c
23110         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23111         (_nss_nisplus_getservbyport_r): Likewise.
23112         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23113         (_nss_nisplus_getspnam_r): Likewise.
23114         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23115         Likewise.
23116         * nscd/aicache.c (addhstaiX): Likewise.
23117         * nscd/cache.c (cache_search, prune_cache): Likewise.
23118         * nscd/connections.c (register_traced_file, send_ro_fd)
23119         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23120         (main_loop_epoll): Likewise.
23121         * nscd/grpcache.c (addgrbyX): Likewise.
23122         * nscd/hstcache.c (addhstbyX): Likewise.
23123         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23124         * nscd/mem.c (gc, mempool_alloc): Likewise.
23125         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23126         (addinnetgrX): Likewise.
23127         * nscd/nscd-client.h (__nscd_acquire_maplock)
23128         (__nscd_drop_map_ref): Likewise.
23129         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23130         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23131         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23132         Likewise.
23133         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23134         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23135         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23136         (__nscd_get_map_ref): Likewise.
23137         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23138         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23139         Likewise.
23140         * nscd/pwdcache.c (addpwbyX): Likewise.
23141         * nscd/selinux.c (preserve_capabilities): Likewise.
23142         * nscd/servicescache.c (addservbyX): Likewise.
23143         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23144         * posix/fnmatch.c (fnmatch): Likewise.
23145         * posix/getopt.c (_getopt_internal_r): Likewise.
23146         * posix/glob.c (glob, glob_in_dir): Likewise.
23147         * posix/wordexp.c (exec_comm_child): Likewise.
23148         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23149         (getanswer_r, gaih_getanswer_slice): Likewise.
23150         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23151         * resolv/res_init.c: Likewise.
23152         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23153         * resolv/res_query.c (__libc_res_nquery): Likewise.
23154         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23155         Likewise.
23156         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23157         * stdio-common/perror.c (perror): Likewise.
23158         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23159         * stdio-common/tmpnam.c (tmpnam): Likewise.
23160         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23161         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23162         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23163         Likewise.
23164         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23165         * stdlib/putenv.c (putenv): Likewise.
23166         * stdlib/setenv.c (__add_to_environ): Likewise.
23167         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23168         * stdlib/strtol_l.c (INTERNAL): Likewise.
23169         * string/memmem.c (memmem): Likewise.
23170         * string/strerror.c (strerror): Likewise.
23171         * string/strnlen.c (__strnlen): Likewise.
23172         * string/test-memmem.c (simple_memmem): Likewise.
23173         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23174         * sunrpc/pm_getport.c (__get_socket): Likewise.
23175         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23176         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23177         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23178         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23179         Likewise.
23180         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23181         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23182         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23183         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23184         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23185         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23186         Likewise.
23187         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23188         Likewise.
23189         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23190         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23191         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23192         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23193         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23195         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23196         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23197         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23198         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23199         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23200         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23201         Likewise.
23202         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23203         Likewise.
23204         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23205         Likewise.
23206         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23207         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23208         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23209         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23210         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23211         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23212         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23213         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23214         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23215         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23216         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23217         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23218         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23219         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23220         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23221         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23222         Likewise.
23223         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23224         Likewise.
23225         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23226         Likewise.
23227         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23228         Likewise.
23229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23231         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23232         Likewise.
23233         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23234         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23235         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23236         * sysdeps/posix/sleep.c: Likewise.
23237         * sysdeps/posix/tempname.c: Likewise.
23238         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23239         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23240         Likewise.
23241         * sysdeps/powerpc/powerpc32/dl-machine.h
23242         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23243         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23245         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23246         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23247         Likewise.
23248         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23249         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23250         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23251         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23252         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23253         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23254         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23255         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23256         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23257         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23258         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23259         (elf_machine_lazy_rel): Likewise.
23260         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23262         (elf_machine_lazy_rel): Likewise.
23263         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23264         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23265         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23266         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23267         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23268         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23269         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23271         Likewise.
23272         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23273         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23274         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23275         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23276         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23277         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23278         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23279         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23280         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23281         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23282         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23283         Likewise.
23284         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23285         (__posix_fallocate64_l64): Likewise.
23286         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23287         (posix_fallocate): Likewise.
23288         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23289         Likewise.
23290         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23291         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23292         (getifaddrs_internal): Likewise.
23293         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23294         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23295         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23296         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23297         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23298         (__posix_fallocate64_l64): Likewise.
23299         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23300         Likewise.
23301         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23302         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23303         (__get_clockfreq): Likewise.
23304         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23305         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23306         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23309         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23310         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23311         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23312         Likewise.
23313         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23314         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23315         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23316         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23317         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23318         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23319         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23320         Likewise.
23321         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23322         (posix_fallocate): Likewise.
23323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23324         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23325         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23326         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23327         (elf_machine_rela, elf_machine_rela_relative)
23328         (elf_machine_lazy_rel): Likewise.
23329         * time/asctime.c (asctime_internal): Likewise.
23330         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23331         * time/tzset.c (__tzset_parse_tz): Likewise.
23332         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23333         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23334         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23335         * wcsmbs/wcsmbsload.h: Likewise.
23337         [BZ #15894]
23338         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23340         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23341         (arena_get2): Remove THREAD_STATS conditionals.
23342         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23343         (__malloc_stats, int): Likewise.
23345 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23347         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23348         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23350         * manual/setjmp.texi: Fix typos/grammar errors.
23352         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23353         Only return early when n is <= 0.  Delete unused return statement.
23355         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23356         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23357         * debug/tst-longjmp_chk3.c: New file.
23359         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23360         (test_main): Replace code with set_fortify_handler call.
23361         * debug/test-strcpy_chk.c: Likewise.
23362         * debug/tst-chk1.c: Likewise.
23363         * debug/tst-longjmp_chk.c: Likewise.
23364         * test-skeleton.c: Include fcntl.h & paths.h
23365         (set_fortify_handler): Define.
23367         * debug/tst-longjmp_chk.c: Add header comment and include
23368         ../test-skeleton.c.
23369         (do_test): Mark static.
23370         (TEST_FUNCTION): Define.
23372         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23373         (IP_PMTUDISC_INTERFACE): Likewise.
23374         (IP_MULTICAST_IF): Likewise.
23375         (IP_MULTICAST_TTL): Likewise.
23376         (IP_MULTICAST_LOOP): Likewise.
23377         (IP_ADD_MEMBERSHIP): Likewise.
23378         (IP_DROP_MEMBERSHIP): Likewise.
23379         (IP_UNBLOCK_SOURCE): Likewise.
23380         (IP_BLOCK_SOURCE): Likewise.
23381         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23382         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23383         (IP_MSFILTER): Likewise.
23384         (MCAST_JOIN_GROUP): Likewise.
23385         (MCAST_BLOCK_SOURCE): Likewise.
23386         (MCAST_UNBLOCK_SOURCE): Likewise.
23387         (MCAST_LEAVE_GROUP): Likewise.
23388         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23389         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23390         (MCAST_MSFILTER): Likewise.
23391         (IP_MULTICAST_ALL): Likewise.
23392         (IP_UNICAST_IF): Likewise.
23394         * timezone/Makefile: Delete $(have-ksh) check.
23395         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23396         * timezone/tzselect.ksh: Add +x mode bits.
23398         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23399         (ANON_INODE_FS_MAGIC): Likewise.
23400         (BDEVFS_MAGIC): Likewise.
23401         (BINFMTFS_MAGIC): Likewise.
23402         (BTRFS_TEST_MAGIC): Likewise.
23403         (CRAMFS_MAGIC_WEND): Likewise.
23404         (DEBUGFS_MAGIC): Likewise.
23405         (ECRYPTFS_SUPER_MAGIC): Likewise.
23406         (EXT3_SUPER_MAGIC): Likewise.
23407         (EXT4_SUPER_MAGIC): Likewise.
23408         (FUTEXFS_SUPER_MAGIC): Likewise.
23409         (HOSTFS_SUPER_MAGIC): Likewise.
23410         (HUGETLBFS_MAGIC): Likewise.
23411         (MINIX3_SUPER_MAGIC): Likewise.
23412         (MTD_INODE_FS_MAGIC): Likewise.
23413         (NILFS_SUPER_MAGIC): Likewise.
23414         (OPENPROM_SUPER_MAGIC): Likewise.
23415         (PIPEFS_MAGIC): Likewise.
23416         (PSTOREFS_MAGIC): Likewise.
23417         (QNX6_SUPER_MAGIC): Likewise.
23418         (RAMFS_MAGIC): Likewise.
23419         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23420         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23421         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23422         (SECURITYFS_MAGIC): Likewise.
23423         (SELINUX_MAGIC): Likewise.
23424         (SMACK_MAGIC): Likewise.
23425         (SOCKFS_MAGIC): Likewise.
23426         (SQUASHFS_MAGIC): Likewise.
23427         (STACK_END_MAGIC): Likewise.
23428         (TMPFS_MAGIC): Likewise.
23429         (USBDEVICE_SUPER_MAGIC): Likewise.
23430         (V9FS_MAGIC): Likewise.
23431         (XENFS_SUPER_MAGIC): Likewise.
23432         (CRAMFS_MAGIC): Fix typo in comment.
23433         (EXT2_SUPER_MAGIC): Update comment.
23434         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23436 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23438         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23439         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23440         * sysdeps/unix/sysv/linux/arm: Move directory from
23441         ports/sysdeps/unix/sysv/linux/arm.
23442         * README: Update listing for arm-*-linux-gnueabi.
23444         * README: Remove mention of am33.
23446 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23448         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23449         than the comma operator, to avoid "rhs of comma has no effect"
23450         compiler warnings.
23451         (__sigfillset, __sigandset, __sigorset): Likewise.
23452         * include/signal.h (__sigemptyset): Likewise.
23453         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23455 2014-02-07  Allan McRae  <allan@archlinux.org>
23457         * version.h (RELEASE): Set to "development".
23458         (VERSION): Set to "2.19.90"
23459         * NEWS: Add 2.20 section.
23461 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23463         [BZ #16529]
23464         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23466 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23468         * manual/contrib.texi: Update entry for Carlos O'Donell,
23469         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23471 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23473         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23475         * sysdeps/unix/sysv/linux/kernel-features.h
23476         [__LINUX_KERNEL_VERSION >= 0x020621]
23477         (__ASSUME_PROC_PID_TASK_COMM): Define.
23479 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23481         [BZ #16398]
23482         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23483         conversion when destination buffer does not have enough space.
23484         * libio/tst-ftell-partial-wide.c: New test case.
23485         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23487         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23488         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23489         Leonard and Allan McRae.
23491 2014-02-04  David S. Miller  <davem@davemloft.net>
23493         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23494         32-bit.
23496 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23499         New file
23500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23501         New file
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23503         New file.
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23505         New file.
23506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23507         New file.
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23509         New file.
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23511         New file.
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23513         New file.
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23515         New file.
23516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23517         New file.
23518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23519         New file.
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23521         New file.
23522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23523         New file.
23525 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23527         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23528         * shlib-versions: Likewise.
23530 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23531             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23533         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23534         (abilist-pattern): New variable, set to %-le.abilist.
23536         * Makerules (abilist-pattern): New variable.
23537         (vpath): Use $(abilist-pattern) in place of %.abilist.
23538         (check-abi-% pattern rule): Likewise.
23539         (check-abi, update-abi): Likewise.
23541 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23545 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23547         * manual/startup.texi: Add next, previous, and top entries for
23548         the `Program Arguments' and `Environment Variables' nodes.
23550 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23552         * manual/macros.texi: Add comments before MTASC-safety macros.
23554         * manual/users.texi: Document MTASC-safety properties.
23556         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23557         (pthread_getspecific, pthread_setspecific): Format with
23558         @deftypefun, and add @safety note.
23559         * manual/signal.texi: Move comments that analyze the above
23560         functions to their home place.
23562 2014-02-03  Allan McRae  <allan@archlinux.org>
23564         * po/sl.po: Update Slovenian translation from translation project.
23566 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23568         * manual/time.texi (timegm): Add missing blank after @c.
23569         Reported by Joseph Myers <joseph@codesourcery.com>.
23571 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23573         * manual/check-safety.sh: New.
23574         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23576         * manual/terminal.texi: Document MTASC-safety properties.
23578         * manual/filesys.texi: Document MTASC-safety properties.
23580         * manual/errno.texi: Document MTASC-safety properties.
23582         * manual/intro.texi: Document safety identifiers and
23583         conditionals.
23585         * manual/string.texi (wcstok): Fix prototype.
23586         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23588         * manual/time.texi: Document MTASC-safety properties.
23590         * manual/string.texi: Document MTASC-safety properties.
23592         * manual/threads.texi: Document MTASC-safety properties.
23594         * manual/stdio.texi: Document MTASC-safety properties.
23596         * manual/syslog.texi: Document MTASC-safety properties.
23598         * manual/sysinfo.texi: Document MTASC-safety properties.
23600         * manual/startup.texi: Document MTASC-safety properties.
23602         * manual/socket.texi: Document MTASC-safety properties.
23604         * manual/signal.texi: Document MTASC-safety properties.
23606 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23608         * manual/setjmp.texi: Document MTASC-safety properties.
23610         * manual/search.texi: Document MTASC-safety properties.
23612         * manual/resource.texi: Document MTASC-safety properties.
23614         * manual/process.texi: Document MTASC-safety properties.
23616         * manual/platform.texi: Document MTASC-safety properties.
23618         * manual/pipe.texi: Document MTASC-safety properties.
23620         * manual/pattern.texi: Document MTASC-safety properties.
23622         * manual/message.texi: Document MTASC-safety properties.
23624         [BZ #12751]
23625         * manual/memory.texi: Document MTASC-safety properties.
23627         * manual/math.texi: Document MTASC-safety properties.
23629         * manual/locale.texi: Document MTASC-safety properties.
23631         * manual/llio.texi: Document MTASC-safety properties.
23633         * manual/libdl.texi: New.
23635         * manual/lang.texi: Document MTASC-safety properties.
23637         * manual/job.texi: Document MTASC-safety properties.
23639         * manual/getopt.texi: Document MTASC-safety properties.
23641         * manual/ctype.texi: Document MTASC-safety properties.
23643 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23645         [BZ #16046]
23646         * csu/libc-tls.c (static_map): Remove variable.
23647         (__libc_setup_tls): Use main executable's link map for TLS data.
23648         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23649         casing for LM_ID_BASE and GL(dl_nns).
23650         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23651         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23652         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23653         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23654         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23655         member.
23656         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23657         l_phnum members.
23659 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23661         * manual/debug.texi: Document MTASC-safety properties.
23663 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23665         [BZ #16510]
23666         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23667         of __x86_64__ when disabling x87 inline functions.
23669 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23671         * manual/charset.texi: Document MTASC-safety properties.
23673         * manual/crypt.texi: Document MTASC-safety properties.
23675         * manual/conf.texi: Document MTASC-safety properties.
23677         * manual/arith.texi: Document MTASC-safety properties.
23679         * manual/argp.texi: Document MTASC-safety properties.
23681         * manual/macros.texi: Introduce macros to document multi
23682         thread, asynchronous signal and asynchronous cancellation
23683         safety properties.
23684         * manual/intro.texi: Introduce the properties themselves.
23686 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23688         * sysdeps/sh/sh4/Makefile: New file.
23690 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23692         * math/gen-libm-test.pl ($srcdir): New variable.
23693         ($auto_input): Use it.
23695 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23697         [BZ #16506]
23698         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23699         access beyond array bounds when parsing netgroups file.
23701         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23702         the old buffer before realloc.
23704 2014-01-27  Allan McRae  <allan@archlinux.org>
23706         * po/fr.po: Update French translation from translation project.
23708 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23710         * sysdeps/sh/libm-test-ulps: Regenerate.
23712 2014-01-24  David S. Miller  <davem@davemloft.net>
23714         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23716 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23718         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23719         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23721 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23723         [BZ #16474]
23724         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23725         string pointers after reallocation.
23727 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23729         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23730         __SH4A__ instead of __SH_FPU_ANY__.
23732 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23734         * sysdeps/sh/fpu_control.h: New file.
23735         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23736         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23737         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23738         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23739         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23740         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23741         * sysdeps/sh/sys/ucontext.h: Remove.
23742         * sysdeps/sh/sys: Remove directory.
23744 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23746         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23747         s390/sys/ucontext.h.
23748         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23749         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23751 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23753         [BZ #15605]
23754         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23756 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23758         [BZ#16431]
23759         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23760         Adjust the vDSO correctly for internal calls.
23761         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23763 2014-01-20  Allan McRae  <allan@archlinux.org>
23765         * po/ca.po: Update Catalan translation from translation project.
23767 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23769         * sysdeps/s390/sotruss-lib.c: New file.
23771 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23773         [BZ#16430]
23774         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23775         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23776         local calls issues by not having a PLT stub required for IFUNC calls.
23777         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23779 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23781         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23782         * math/test-fpucw-static.c: Likewise.
23784 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23786         [BZ #16453]
23787         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23789 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23791         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23792         implementation for powerpc.
23794 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23796         [BZ #14782]
23797         * sysdeps/posix/system.c (__libc_system): Do not enable
23798         asynchronous cancellation.
23800 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23802         [BZ #16427]
23803         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23804         handling only for numbers special also in the IEEE case.
23806 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23808         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23810 2014-01-11  Allan McRae  <allan@archlinux.org>
23812         * po/bg.po: Update Bulgarian translation from translation project.
23814         * po/de.po: Update German translation from translation project.
23816 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23818         * sysdeps/generic/gcc-compat.h: New file.
23820 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23822         * benchtests/asin-inputs: Correct slow inputs.
23823         * benchtests/acos-inputs: Likewise.
23825 2014-01-10  Allan McRae  <allan@archlinux.org>
23827         * po:sv.po: Update Swedish translation from translation project.
23829         * po/vi.po: Update Vietnamese translation from translation project.
23831         * po/eo.po: Update Esperanto translation from translation project.
23833         * po/cs.po: Update Czech translation from translation project.
23835         * po/nl.po: Update Dutch translation from translation project.
23837         * po/pl.po: Update Polish translation from translation project.
23839         * po/ru.po: Update Russian translation from translation project.
23841         * po/uk.po: Update Ukrainian translation from translation project.
23843 2014-01-08  Brooks Moses  <bmoses@google.com>
23845         * elf/dl-load.c: Fix comment typo.
23847 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23849         * po/header.pot: Rename to...
23850         * po/pot.header: ... this.
23851         * po/Makefile: Use pot.header.
23853 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23854             Maxim Kuvyrkov  <maxim@kugelworks.com>
23856         [BZ #16394]
23857         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23858         SRC and DEST against LEN.
23860 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23862         [BZ #16414]
23863         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23864         implementation.
23865         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23867 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23871 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23873         [BZ #16408]
23874         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23875         for large positive arguments.
23877 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23879         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23881         * math/auto-libm-test-in: Mark various tests with
23882         xfail-rounding:ldbl-128ibm.
23883         * math/auto-libm-test-out: Regenerated.
23885         [BZ #16407]
23886         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23887         Increase overflow threshold.
23889 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23891         [BZ #14286]
23892         * stdio-common/vfprintf.c: Check for integer overflow.
23894 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23896         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23897         the first argument and return value of __tls_get_addr_internal.
23899 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23901         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23902         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23904 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23906         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23907         * sysdeps/s390/rtld-global-offsets.sym: New file.
23908         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23909         GLIBC_2.19 symbol.
23910         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23911         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23912         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23913         ... this.
23914         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23915         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23916         ... this.
23917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23918         Regenerate.
23919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23920         Regenerate.
23921         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23922         halfs of GPRs for high_gprs contexts.
23923         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23924         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23925         field.
23926         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23927         uc_flags field.
23928         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23929         64 bit versions:
23930         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23931         for high GPRs (uc_high_gprs) and for future extensions
23932         (__reserved).
23933         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23934         for future extensions (__reserved).
23935         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23936         64 bit versions:
23937         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23938         SC_HIGHGPRS offset definition.
23939         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23940         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23942         * Versions.def: Add GLIBC_2.19 for libpthread.
23943         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23944         siglongjmp for libpthread with GLIBC_2.19 symver.
23945         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23946         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23947         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23948         * sysdeps/s390/__longjmp.c: New file.
23949         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23950         * sysdeps/s390/longjmp.c: New file.
23951         * sysdeps/s390/setjmp.S: New file.
23952         * sysdeps/s390/sigjmp.S: New file.
23953         * sysdeps/s390/v1-longjmp.c: New file.
23954         * sysdeps/s390/v1-setjmp.h: New file.
23955         * sysdeps/s390/v1-sigjmp.c: New file.
23956         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23957         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23958         GLIBC_2.19 version.
23959         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23960         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23961         versioned symbols for ____longjmp_chk.
23962         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23963         Likewise.
23964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23965         Regenerate.
23966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23967         Regenerate.
23968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23969         Regenerate.
23970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23971         Regenerate.
23972         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23973         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23974         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23975         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23976         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23977         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23978         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23979         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23980         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23981         * sysdeps/s390/rtld-__longjmp.c: New file.
23982         * sysdeps/s390/rtld-setjmp.S: New file.
23984 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23986         [BZ #16400]
23987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23988         Return -__logl (x) for small positive arguments without evaluating
23989         a polynomial.
23991 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23993         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23994         Rename to ...
23995         (__ptrace_peeksiginfo_args): ... this.
23996         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23997         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23998         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24000 2014-01-06  Allan McRae  <allan@archlinux.org>
24002         * inet/netinet/in.h: Fix typo in comment.
24004 2014-01-05  Andreas Jaeger  <aj@suse.de>
24006         * sysdeps/i386/fpu/libm-test-ulps: Update.
24008 2014-01-05  Allan McRae  <allan@archlinux.org>
24010         * po/libc.pot: Regenerated.
24012         * malloc/memusagestat.c: Fix gettext call formatting.
24014 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24016         * nscd/nscd.c: Improve usage() output.
24018 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24020         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24021         * sysdeps/unix/sysv/linux/configure: Regenerated.
24022         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24023         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24025 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24027         [BZ #16390]
24028         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24029         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24031 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24033         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24034         extra tokens at end of #undef directive.
24035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24036         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24037         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24039 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24041         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24043         * math/auto-libm-test-in: Mark various tests with
24044         xfail-rounding:ldbl-128ibm.
24045         * math/auto-libm-test-out: Regenerated.
24047 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24049         [BZ #16386]
24050         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24051         numbers with subnormal high part when calculating exponent.
24053         [BZ #16385]
24054         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24055         fabs.
24057         [BZ #16384]
24058         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24059         M_LN2l.
24060         (__ieee754_acoshl): Use __log1pl not __log1p.
24062 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24064         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24065         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24066         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24067         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24068         (reused_arena, arena_get2): Convert to GNU style.
24069         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24070         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24071         (memalign_check, __malloc_set_state): Likewise.
24072         * malloc/mallocbug.c (main): Likewise.
24073         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24074         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24075         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24076         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24077         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24078         (__posix_memalign, malloc_info): Likewise.
24079         * malloc/malloc.h: Likewise.
24080         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24081         (mallochook, memalignhook, reallochook, mabort): Likewise.
24082         * malloc/mcheck.h: Likewise.
24083         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24084         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24085         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24086         * malloc/morecore.c (__default_morecore): Likewise.
24087         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24088         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24089         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24090         (print_and_abort): Likewise.
24091         * malloc/obstack.h: Likewise.
24092         * malloc/set-freeres.c (__libc_freeres): Likewise.
24093         * malloc/tst-mallocstate.c (main): Likewise.
24094         * malloc/tst-mtrace.c (main): Likewise.
24095         * malloc/tst-realloc.c (do_test): Likewise.
24097 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24099         [BZ #16366]
24100         * nscd/netgroupcache.c (do_notfound): New function.
24101         (addgetnetgrentX): Use it.
24103         [BZ # 16365]
24104         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24105         NSS_STATUS_NOTFOUND.
24107 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24109         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24112 2014-01-01  Allan McRae  <allan@archlinux.org>
24114         * scripts/update-copyrights: Update configure input file suffix.
24116         * NEWS: Update copyright year.
24117         * catgets/gencat.c: Likewise.
24118         * csu/version.c: Likewise.
24119         * debug/catchsegv.sh: Likewise.
24120         * debug/pcprofiledump.c: Likewise.
24121         * debug/xtrace.sh: Likewise.
24122         * elf/ldconfig.c: Likewise.
24123         * elf/ldd.bash.in: Likewise.
24124         * elf/pldd.c: Likewise.
24125         * elf/sotruss.ksh: Likewise.
24126         * elf/sprof.c: Likewise.
24127         * iconv/iconv_prog.c: Likewise.
24128         * iconv/iconvconfig.c: Likewise.
24129         * locale/programs/locale.c: Likewise.
24130         * locale/programs/localedef.c: Likewise.
24131         * login/programs/pt_chown.c: Likewise.
24132         * malloc/memusage.sh: Likewise.
24133         * malloc/memusagestat.c: Likewise.
24134         * malloc/mtrace.pl: Likewise.
24135         * manual/libc.texinfo: Likewise.
24136         * nscd/nscd.c: Likewise.
24137         * nss/getent.c: Likewise.
24138         * nss/makedb.c: Likewise.
24139         * posix/getconf.c: Likewise.
24140         * scripts/test-installation.pl: Likewise.
24142         * All files with FSF copyright notices: Update copyright dates
24143         using scripts/update-copyrights.
24144         * intl/plural.c: Regenerated.
24145         * locale/programs/charmap-kw.h: Likewise.
24146         * locale/programs/locfile-kw.h: Likewise.
24148 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24150         * sysdeps/unix/sysv/linux/configure: Regenerated.
24151         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24152         the linux/fanotify.h header.
24153         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24154         HAVE_LINUX_FANOTIFY_H is defined.
24156 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24158         * benchtests/cos-inputs: New inputs.
24159         * benchtests/sin-inputs: Likewise.
24161         * benchtests/atan-inputs: New inputs. Fix name of multiple
24162         precision fallback inputs.
24164         * benchtests/atanh-inputs: New inputs.
24165         * benchtests/tanh-inputs: Likewise.
24167         * benchtests/acosh-inputs: New inputs.
24168         * benchtests/asinh-inputs: Likewise.
24170         * benchtests/cosh-inputs: New inputs.
24171         * benchtests/sinh-inputs: Likewise.
24173         * benchtests/acos-inputs: Add more inputs.
24174         * benchtests/asin-inputs: Likewise.
24176 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24178         [BZ #16375]
24179         * manual/arith.texi: Fix spelling.
24180         * manual/charset.texi: Likewise.
24181         * manual/errno.texi: Likewise.
24182         * manual/filesys.texi: Likewise.
24183         * manual/lang.texi: Likewise.
24184         * manual/llio.texi: Likewise.
24185         * manual/locale.texi: Likewise.
24186         * manual/message.texi: Likewise.
24187         * manual/resource.texi: Likewise.
24188         * manual/search.texi: Likewise.
24189         * manual/setjmp.texi: Likewise.
24190         * manual/stdio.texi: Likewise.
24191         * manual/string.texi: Likewise.
24192         * manual/sysinfo.texi: Likewise.
24193         * manual/time.texi: Likewise.
24195 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24197         * po/sl.po: New file.
24199 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24201         * .gitignore: Add core/.gdbinit/.gdb_history.
24203 2013-12-27  Allan McRae  <allan@archlinux.org>
24205         [BZ #16369]
24206         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24207         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24209 2013-12-24  Brooks Moses  <bmoses@google.com>
24211         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24212         all compilers that claim C++98 compliance, not just GCC.
24213         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24214         Likewise.
24216 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24218         * NEWS: Restore accidentally deleted bug-fix entries.
24220 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24221             Ondřej Bílka  <neleai@seznam.cz>
24223         [BZ #15073]
24224         * malloc/malloc.c (_int_free): Perform sanity check only if we
24225         have_lock.
24227 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24229         [BZ #12986]
24230         * manual/stdio.texi (String Input Conversions): Clarify that character
24231         classes are not supported.
24233 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24237 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24239         [BZ #16337]
24240         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24241         Calculate results for small negative arguments directly rather
24242         than using reflection formula with special underflow handling.
24244         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24245         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24246         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24247         (fchflags): Likewise.
24248         (revoke): Likewise.
24249         (setlogin): Likewise.
24250         (sigaltstack): Likewise.
24251         (wait4): Likewise.
24252         (sigblock): Remove.
24253         (sigsetmask): Likewise.
24254         (wait3): Likewise.
24255         (waitpid): Likewise.
24256         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24257         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24258         file.
24259         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24260         * sysdeps/unix/bsd/Makefile: ... here.
24261         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24262         * sysdeps/unix/bsd/Versions: ... here.
24263         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24264         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24265         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24266         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24267         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24268         * sysdeps/unix/bsd/sigblock.c: ... here.
24269         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24270         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24271         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24272         * sysdeps/unix/bsd/sigvec.c: ... here.
24273         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24274         * sysdeps/unix/bsd/tcdrain.c: ... here.
24275         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24276         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24277         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24278         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24279         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24280         * sysdeps/unix/bsd/wait.c: ... here.
24281         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24282         * sysdeps/unix/bsd/wait3.c: ... here.
24283         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24284         * sysdeps/unix/bsd/waitpid.c: ... here.
24286 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24288         [BZ #16356]
24289         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24290         round-to-nearest for [!USE_AS_EXPM1L].
24291         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24292         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24293         more tests of exp and exp10.  Expect some exp10 tests to miss
24294         exceptions or fail in directed rounding modes.
24295         * math/auto-libm-test-out: Regenerated.
24296         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24297         (exp10_test_tonearest): New function.
24298         (exp10_towardzero_test_data): New array.
24299         (exp10_test_towardzero): New function.
24300         (exp10_downward_test_data): New array.
24301         (exp10_test_downward): New function.
24302         (exp10_upward_test_data): New array.
24303         (exp10_test_upward): New function.
24304         (main): Call the new functions.
24305         * sysdeps/i386/fpu/libm-test-ulps: Update.
24306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24308 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24310         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24311         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24312         * math/auto-libm-test-out: Regenerated.
24313         * math/libm-test.inc (acosh_test_data): Add more tests.
24314         (atanh_test_data): Likewise.
24315         (ceil_test_data): Likewise.
24316         (copysign_test_data): Likewise.
24317         * sysdeps/i386/fpu/libm-test-ulps: Update.
24318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24320         * timezone/checktab.awk: Update from tzcode 2013i.
24321         * timezone/private.h: Likewise.
24322         * timezone/scheck.c: Likewise.
24323         * timezone/tzfile.h: Likewise.
24324         * timezone/tzselect.ksh: Likewise.
24325         * timezone/zdump.c: Likewise.
24326         * timezone/zic.c: Likewise.
24328         * math/auto-libm-test-in: Add tests of cpow.
24329         * math/auto-libm-test-out: Regenerated.
24330         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24331         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24332         mpc_cc_c.
24333         (func_calc_desc): Add mpc_cc_c union field.
24334         (test_functions): Add cpow.
24335         (special_fill_2pi): New function.
24336         (special_real_inputs): Add 2pi.
24337         (calc_generic_results): Handle mpc_cc_c.
24338         * sysdeps/i386/fpu/libm-test-ulps: Update.
24339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24341         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24342         csqrt, ctan and ctanh.
24343         * math/auto-libm-test-out: Regenerated.
24344         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24345         (TEST_COND_x86): Likewise.
24346         (ccos_test_data): Use AUTO_TESTS_c_c.
24347         (ccosh_test_data): Likewise.
24348         (cexp_test_data): Likewise.
24349         (clog_test_data): Likewise.
24350         (csqrt_test_data): Likewise.
24351         (ctan_test_data): Likewise.
24352         (ctan_tonearest_test_data): Likewise.
24353         (ctan_towardzero_test_data): Likewise.
24354         (ctan_downward_test_data): Likewise.
24355         (ctan_upward_test_data): Likewise.
24356         (ctanh_test_data): Likewise.
24357         (ctanh_tonearest_test_data): Likewise.
24358         (ctanh_towardzero_test_data): Likewise.
24359         (ctanh_downward_test_data): Likewise.
24360         (ctanh_upward_test_data): Likewise.
24361         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24362         mpc_c_c.
24363         (func_calc_desc): Add mpc_c_c union field.
24364         (FUNC_mpc_c_c): New macro.
24365         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24366         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24367         ctanh.
24368         (special_fill_min_subnorm_p120): New function.
24369         (special_real_inputs): Add min_subnorm_p120.
24370         (calc_generic_results): Handle mpc_c_c.
24371         * sysdeps/i386/fpu/libm-test-ulps: Update.
24372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24374 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24376         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24377         (do_sin_slow): New functions.
24378         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24379         (cslow2, csloww1, csloww2): Use the new functions.
24381         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24382         Use M to change sign of result instead of X.  Assume X is
24383         positive.
24384         (csloww1): Likewise.
24385         (__sin): Adjust.
24386         (__cos): Adjust.
24388         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24389         arguments A and DA.
24390         (__sin): Adjust.
24391         (__cos): Likewise.
24393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24394         (__cos): Likewise.
24395         (sloww1): Don't adjust sign of DX.
24396         (csloww1): Likewise.
24397         (sloww2): Use X directly and don't adjust sign of DX.
24398         (csloww2): Likewise.
24400 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24402         * math/auto-libm-test-in: Add tests of cabs and carg.
24403         * math/auto-libm-test-out: Regenerated.
24404         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24405         (carg_test_data): Likewise.
24406         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24407         mpc_c_f.
24408         (func_calc_desc): Add mpc_c_f union field.
24409         (test_functions): Add cabs and carg.
24410         (calc_generic_results): Handle mpc_c_f.
24412         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24413         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24414         as a macro and a compat symbol.
24415         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24416         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24417         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24418         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24419         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24420         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24421         not use .hidden.
24422         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24423         Likewise.
24424         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24425         Likewise.
24426         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24427         Likewise.
24428         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24429         Likewise.
24430         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24431         Likewise.
24432         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24433         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24434         from GLIBC_2.3.2.
24436 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24440 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24442         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24443         trailing whitespace removed.
24444         * scripts/config.guess: Update to version 2013-11-29.
24445         * scripts/config.sub: Update to version 2013-10-01.
24447         * math/auto-libm-test-in: Add tests of sincos.
24448         * math/auto-libm-test-out: Regenerated.
24449         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24450         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24451         mpfr_f_11.
24452         (func_calc_desc): Add mpfr_f_11 union field.
24453         (test_functions): Add sincos.
24454         (calc_generic_results): Handle mpfr_f_11.
24455         * sysdeps/i386/fpu/libm-test-ulps: Update.
24456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24458 2013-12-19  Andreas Schwab  <schwab@suse.de>
24460         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24461         CALL_MCOUNT.
24462         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24463         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24464         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24466 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24468         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24469         * sysdeps/i386/fpu/libm-test-ulps: Update.
24470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24472         [BZ #16293]
24473         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24474         round-to-nearest mode when using frndint.
24475         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24476         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24477         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24478         Likewise.
24479         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24480         sinh test to fail.
24481         * math/auto-libm-test-out: Regenerated.
24482         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24483         (TEST_COND_x86): Likewise.
24484         (expm1_tonearest_test_data): New array.
24485         (expm1_test_tonearest): New function.
24486         (expm1_towardzero_test_data): New array.
24487         (expm1_test_towardzero): New function.
24488         (expm1_downward_test_data): New array.
24489         (expm1_test_downward): New function.
24490         (expm1_upward_test_data): New array.
24491         (expm1_test_upward): New function.
24492         (main): Run the new test functions.
24493         * sysdeps/i386/fpu/libm-test-ulps: Update.
24494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24496         * include/features.h: Update comment documenting feature test
24497         macros.  Mention _DEFAULT_SOURCE in comment.
24498         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24499         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24500         _BSD_SOURCE and _SVID_SOURCE.
24501         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24502         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24503         !_SVID_SOURCE]: Likewise.
24504         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24505         (__USE_POSIX_IMPLICITLY): Define.
24506         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24507         (_POSIX_SOURCE): Undefine and redefine.
24508         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24509         (_POSIX_C_SOURCE): Likewise.
24510         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24511         (Feature Test Macros): Update documentation of default features.
24513 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24515         * benchtests/Makefile: Add bench-strtok.
24516         * benchtests/bench-strtok.c: New file: strtok benchtest.
24518 2013-12-19  Allan McRae  <allan@archlinux.org>
24520         * manual/install.texi: Suppress menu for plain text output.
24521         * INSTALL: Regenerated.
24523 2013-12-18  Brooks Moses  <bmoses@google.com>
24525         [BZ #15846]
24526         * misc/getauxval.c: Include errno.h.
24527         (__getauxval): Set errno to ENOENT if the requested type is not
24528         found.
24529         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24530         don't declare with __attribute_const__.
24531         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24532         * manual/startup.texi: Document that getauxval sets errno.
24534 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24536         * math/auto-libm-test-in: Add tests of jn and yn.
24537         * math/auto-libm-test-out: Regenerated.
24538         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24539         (yn_test_data): Likewise.
24540         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24541         mpfr_if_f.
24542         (func_calc_desc): Add mpfr_if_f union field.
24543         (FUNC_mpfr_if_f): New macro.
24544         (test_functions): Add jn and yn.
24545         (calc_generic_results): Assert type of second input for
24546         mpfr_ff_f.  Handle mpfr_if_f.
24547         (output_for_one_input_case): Disable all checking for arguments
24548         fitting floating-point types in case of an integer argument.
24549         * sysdeps/i386/fpu/libm-test-ulps: Update.
24550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24553         Don't expect fegetround reference in libm.so.
24555 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24557         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24558         $(config-cflags-nofma).
24560 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24562         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24563         * math/auto-libm-test-out: Regenerated.
24565         [BZ #16338]
24566         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24567         to determine exponent and adjust argument to have exponent of -1.
24568         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24569         log2.
24570         * math/auto-libm-test-out: Regenerated.
24571         * sysdeps/i386/fpu/libm-test-ulps: Update.
24572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24574 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24576         * manual/probes.texi: Remove cases when per-thread arenas are
24577         disabled.
24579 2013-12-18  Andreas Schwab  <schwab@suse.de>
24581         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24582         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24583         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24584         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24585         * sysdeps/i386/i686/multiarch/Makefile: Update.
24586         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24588 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24590         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24591         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24593 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24595         [BZ #15968]
24596         Support TZ transition times < 00:00:00.
24597         This is needed for version-3 tz-format files; it supports time
24598         stamps past 2037 for America/Godthab (the only entry in the tz
24599         database for which this change is relevant).
24600         * manual/time.texi (TZ Variable): Document transition times
24601         from -167:59:59 through -00:00:01.
24602         * time/tzset.c (tz_rule): Time of day is now signed.
24603         (__tzset_parse_tz): Parse negative time of day.
24605         Document TZ transition times >= 25:00:00.
24606         * manual/time.texi (TZ Variable): Document transition times from
24607         25:00:00 through 167:59:59.  These are already supported, and this
24608         support will help with version-3 tz-format files.
24610         * manual/time.texi (TZ Variable): Modernize North America example
24611         to reflect current (i.e., 2007-and-later) daylight saving rules.
24613         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24615 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24617         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24618         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24620         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24621         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24622         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24623         * sysdeps/unix/bsd/clock.c: Likewise.
24624         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24625         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24626         * sysdeps/unix/bsd/init-posix.c: Likewise.
24627         * sysdeps/unix/bsd/poll.c: Likewise.
24628         * sysdeps/unix/bsd/ptsname.c: Likewise.
24629         * sysdeps/unix/bsd/seekdir.c: Likewise.
24630         * sysdeps/unix/bsd/setegid.c: Likewise.
24631         * sysdeps/unix/bsd/seteuid.c: Likewise.
24632         * sysdeps/unix/bsd/setgid.c: Likewise.
24633         * sysdeps/unix/bsd/setrgid.c: Likewise.
24634         * sysdeps/unix/bsd/setruid.c: Likewise.
24635         * sysdeps/unix/bsd/setsid.c: Likewise.
24636         * sysdeps/unix/bsd/setuid.c: Likewise.
24637         * sysdeps/unix/bsd/sigaction.c: Likewise.
24638         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24639         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24640         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24641         * sysdeps/unix/bsd/telldir.c: Likewise.
24642         * sysdeps/unix/bsd/times.c: Likewise.
24643         * sysdeps/unix/bsd/usleep.c: Likewise.
24645         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24646         ($(objpfx)libbsd-compat.a): Remove rule.
24648         * include/features.h (__FAVOR_BSD): Do not define.
24649         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24650         features conflicting with POSIX.
24651         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24652         (_BSD_SOURCE): Remove description of not being a subset of other
24653         feature test macros.
24654         * manual/job.texi (getpgrp): Do not document BSD version.
24655         (getpgid): Do not document by reference to BSD getpgrp.
24656         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24657         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24658         * signal/signal.h [__FAVOR_BSD]: Likewise.
24659         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24660         instead of making contents conditional on [__FAVOR_BSD].
24661         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24663 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24667 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24669         [BZ #16314]
24670         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24671         values below 2**-450, not 2**-500.
24672         * math/auto-libm-test-in: Don't allow spurious underflow from
24673         hypot.
24674         * math/auto-libm-test-out: Regenerated.
24676         [BZ #16316]
24677         [BZ #16330]
24678         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24679         values of ha and hb and sort them after adjusting subnormal
24680         arguments.
24681         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24682         Likewise.
24683         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24684         values of ea and eb and sort them after adjusting subnormal
24685         arguments.
24686         * math/auto-libm-test-in: Do not expect some hypot tests of
24687         subnormals to fail.  Add more hypot tests.
24688         * math/auto-libm-test-out: Regenerated.
24690 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24692         [BZ #13304]
24693         * sysdeps/sh/s_fma.c: New file.
24694         * sysdeps/sh/s_fmaf.c: New file.
24695         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24696         version.
24697         * sysdeps/sh/Implies: Add sh/soft-fp.
24699 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24701         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24702         level of indirection to members `objname', `errstring', `malloced'.
24703         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24704         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24705         it as the __longjmp argument (just pass 1 instead).
24706         (_dl_catch_error): Initialize C with argument pointers and address of
24707         volatile local ERRCODE rather than copying values out of C at return.
24709 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24711         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24712         * math/auto-libm-test-out: Regenerated.
24713         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24714         (hypot_test_data): Likewise.
24715         (pow_test_data): Likewise.
24716         (pow_tonearest_test_data): Likewise.
24717         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24718         mpfr_ff_f.
24719         (func_calc_desc): Add mpfr_ff_f union field.
24720         (FUNC_mpfr_ff_f): New macro.
24721         (test_functions): Add atan2, hypot and pow.
24722         (special_fill_min): New function.
24723         (special_fill_minus_min): Likewise.
24724         (special_fill_min_subnorm): Likewise.
24725         (special_fill_minus_min_subnorm): Likewise.
24726         (special_real_inputs): Add min, -min, min_subnorm and
24727         -min_subnorm.
24728         (calc_generic_results): Handle mpfr_ff_f.
24729         * sysdeps/i386/fpu/libm-test-ulps: Update.
24730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24732 2013-12-16  Will Newton  <will.newton@linaro.org>
24734         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24735         (Aligned Memory Blocks): Add documentation for aligned_alloc
24736         and suggest it as an alternative to posix_memalign.
24737         (Hooks for Malloc): Document __memalign_hook is also called
24738         for aligned_alloc.  (Summary of Malloc): Add summary for
24739         aligned alloc.  Document __memalign_hook is also called
24740         for aligned_alloc.
24742 2013-12-16  Will Newton  <will.newton@linaro.org>
24744         * manual/memory.texi (Malloc Examples): Clarify default
24745         alignment documentation.  Suggest posix_memalign rather
24746         than memalign or valloc.
24747         (Aligned Memory Blocks): Remove suggestion to use memalign
24748         or valloc.  Remove obsolete comment about BSD.
24749         Document memalign errno values and mark the function obsolete.
24750         Document posix_memalign returned error codes.  Mark valloc
24751         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24752         called for posix_memalign and valloc.
24753         (Summary of Malloc): Add posix_memalign to function summary.
24754         __memalign_hook is also called for posix_memalign and valloc.
24756 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24758         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24759         TAYLOR_SIN.
24760         (__sin): Adjust.
24761         (__cos): Likewise.
24762         (sloww): Use mynumber union.  Expand ternary operator into
24763         if-else statements.
24764         (cslow): use mynumber union.
24766 2013-12-16  Allan McRae  <allan@archlinux.org>
24768         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24769         * configure: Regenerated.
24771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24773         [BZ #14120]
24774         * configure.ac: Added --enable-maintainer-mode. Check for
24775         autoconf when enabled.
24776         * configure: Regenerated.
24778         * nscd/nscd.service: New file.
24779         * nscd/nscd.tmpfiles: New file.
24781 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24783         [BZ #12100]
24784         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24785         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24786         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24787         (strstr): Add __strstr_sse2_unaligned ifunc.
24788         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24789         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24790         (strcasestr): Remove __strcasestr_sse42 ifunc.
24791         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24795 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24797         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24798         * sysdeps/sh/bits/fenv.h: ... here.
24799         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24801 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24803         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24806         hypotf multiarch implementations.
24807         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24808         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24809         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24810         multiarch hypot for PPC64.
24811         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24812         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24813         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24814         multiarch hypotf for PPC64.
24816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24817         modff multiarch implementations.
24818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24821         multiarch modf for PPC64.
24822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24825         multiarch modff for PPC64.
24827         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24828         and logl multiarch implementations.
24829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24832         multiarch logb for PPC64.
24833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24836         multiarch logb for PPC64.
24837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24840         multiarch logb for PPC64.
24842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24843         isinff multiarch implementation.
24844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24845         file.
24846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24848         multiarch isinf for PPC64.
24849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24850         file.
24851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24852         multiarch isinff for PPC64.
24854         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24855         finitef multiarch implementation.
24856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24857         file.
24858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24860         multiarch finite for PPC64.
24861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24862         file.
24863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24864         multiarch finitef for PPC64.
24866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24867         lrint multiarch implementation.
24868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24869         file.
24870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24872         multiarch llrint for PPC64.
24873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24874         multiarch lrint for PPC64.
24876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24877         copysignf multiarch implementation.
24878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24879         file.
24880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24881         file.
24882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24883         multiarch copysign for PPC64.
24884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24885         multiarch copysignf for PPC64.
24887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24888         multiarch implementation.
24889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24890         file.
24891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24892         file.
24893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24894         file.
24895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24896         file.
24897         multiarch llround for PPC64.
24898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24899         multiarch trunc for PPC64.
24900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24901         multiarch truncf for PPC64.
24903         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24904         multiarch implementation.
24905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24906         file.
24907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24908         file.
24909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24910         file.
24911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24912         file.
24913         multiarch llround for PPC64.
24914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24915         multiarch round for PPC64.
24916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24917         multiarch roundf for PPC64.
24919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24920         multiarch implementation.
24921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24922         file.
24923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24924         file.
24925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24926         file.
24927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24928         file.
24929         multiarch llround for PPC64.
24930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24931         multiarch floor for PPC64.
24932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24933         multiarch floorf for PPC64.
24935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24936         multiarch implementation.
24937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24938         file.
24939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24940         file.
24941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24942         file.
24943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24944         file.
24945         multiarch llround for PPC64.
24946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24947         multiarch ceil for PPC64.
24948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24949         multiarch ceilf for PPC64.
24951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24952         multiarch implementation.
24953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24954         file.
24955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24956         file.
24957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24958         file.
24959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24960         multiarch llround for PPC64.
24961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24962         multiarch lround for PPC64.
24964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24965         multiarch implementation.
24966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24969         file.
24970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24973         multiarch isnan for PPC64.
24974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24975         multiarch isnanf for PPC64.
24977         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24978         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24979         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24980         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24981         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24984         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24985         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24986         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24987         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24990         multiarch implementations.
24991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24992         (__libc_ifunc_impl_list): Likewise.
24993         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24995         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24996         multiarch stpcpy for PPC64.
24998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24999         multiarch implementations.
25000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25001         (__libc_ifunc_impl_list): Likewise.
25002         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25003         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25004         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25005         multiarch strcpy for PPC64.
25007         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25008         redefine function name.
25009         (_wordcopy_fwd_dest_aligned): Likewise.
25010         (_wordcopy_bwd_aligned): Likewise.
25011         (_wordcopy_bwd_dest_aligned): Likewise.
25012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25013         multiarch implementations.
25014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25015         (__libc_ifunc_impl_list): Likewise.
25016         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25017         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25018         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25020         multiarch wcscpy for PPC64.
25022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25023         multiarch implementations.
25024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25025         (__libc_ifunc_impl_list): Likewise.
25026         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25027         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25028         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25029         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25030         multiarch wcscpy for PPC64.
25032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25033         multiarch implementations.
25034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25035         (__libc_ifunc_impl_list): Likewise.
25036         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25037         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25038         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25039         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25040         multiarch wcsrchr for PPC64.
25042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25043         multiarch implementations.
25044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25045         (__libc_ifunc_impl_list): Likewise.
25046         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25047         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25048         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25049         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25050         multiarch wcschr for PPC64.
25052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25053         multiarch implementations.
25054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25055         (__libc_ifunc_impl_list): Likewise.
25056         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25057         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25058         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25059         multiarch strchrnul for PPC64.
25061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25062         implementations.
25063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25064         (__libc_ifunc_impl_list): Likewise.
25065         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25066         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25067         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25068         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25069         strchr for PPC64.
25071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25072         implementations.
25073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25074         (__libc_ifunc_impl_list): Likewise.
25075         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25076         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25077         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25078         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25079         strncmp for PPC64.
25081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25082         multiarch implementations.
25083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25084         (__libc_ifunc_impl_list): Likewise.
25085         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25086         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25087         strncasecmp for PPC64.
25088         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25089         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25090         multiarch strncasecmp_l for PPC64.
25092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25093         multiarch implementations.
25094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25095         (__libc_ifunc_impl_list): Likewise.
25096         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25097         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25098         multiarch strcasecmp for PPC64.
25099         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25100         file.
25101         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25102         multiarch strcasecmp_l for PPC64.
25104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25105         implementations.
25106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25107         (__libc_ifunc_impl_list): Likewise.
25108         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25109         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25110         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25111         strnlen for PPC64.
25113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25114         implementations.
25115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25116         (__libc_ifunc_impl_list): Likewise.
25117         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25118         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25119         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25120         strlen for PPC64.
25122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25123         implementations.
25124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25125         (__libc_ifunc_impl_list): Likewise.
25126         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25127         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25128         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25129         rawmemrchr for PPC64.
25131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25132         implementation.
25133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25134         (__libc_ifunc_impl_list): Likewise.
25135         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25136         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25137         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25138         memrchr for PPC64.
25140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25141         implementation.
25142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25143         (__libc_ifunc_impl_list): Likewise.
25144         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25145         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25146         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25147         memchr for PPC64.
25149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25150         implementation.
25151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25152         (__libc_ifunc_impl_list): Likewise.
25153         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25154         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25155         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25156         mempcpy for PPC64.
25158         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25159         avoid cretion of __bzero symbol.
25160         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25161         Likewise.
25162         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25163         Likewise.
25164         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25165         Likewise.
25166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25167         multiarch implementations.
25168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25169         (__libc_ifunc_impl_list): Likewise.
25170         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25171         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25172         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25173         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25174         bzero for PPC32.
25175         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25176         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25177         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25178         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25179         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25180         memset for PPC64.
25181         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25183         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25185         implementations.
25186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25187         (__libc_ifunc_impl_list): Likewise.
25188         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25189         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25190         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25191         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25192         memcmp for PPC64.
25194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25195         multiarch for POWER/PPC64.
25196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25197         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25198         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25199         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25200         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25201         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25202         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25203         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25204         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25205         memcpy for PPC64.
25207         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25208         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25209         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25210         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25211         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25212         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25213         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25214         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25215         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25216         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25217         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25218         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25219         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25220         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25221         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25230 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25232         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25234 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25236         * benchtests/Makefile (bench): Add exp2 and log2.
25237         (LDLIBS-bench-exp2): Add -lm.
25238         (LDLIBS-bench-log2): Likewise.
25239         * benchtests/exp2-inputs: New inputs file.
25240         * benchtests/log2-inputs: New inputs file.
25241         * benchtests/log-inputs: Add new inputs.
25242         * benchtests/tan-inputs: Likewise.
25244 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25246         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25247         definition...
25248         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25249         (csloww2): ... from here.
25251         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25252         instead of structures.
25253         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25254         (POLYNOMIAL): Likewise.
25255         (TAYLOR_SLOW): Likewise.
25256         (__sin): Likewise.
25257         (__cos): Likewise.
25258         (slow1): Likewise.
25259         (slow2): Likewise.
25260         (sloww): Likewise.
25261         (sloww1); Likewise.
25262         (sloww2): Likewise.
25263         (bsloww1): Likewise.
25264         (bsloww2): Likewise.
25265         (cslow2): Likewise.
25266         (csloww): Likewise.
25267         (csloww1): Likewise.
25268         (csloww2): Likewise.
25270 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25272         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25273         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25274         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25275         * malloc/hooks.c (realloc_check): Likewise.
25277         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25278         * malloc/arena.c: Remove PER_THREAD conditional.
25279         [!PER_THREAD]: Remove code.
25280         (ptmalloc_unlock_all2): Likewise.
25281         (ptmalloc_init): Likewise.
25282         (_int_new_arena): Likewise.
25283         (arena_get2): Likewise.
25284         * malloc/hooks.c (__malloc_get_state): Likewise.
25285         (__malloc_set_state): Likewise.
25286         * malloc/malloc.c: Likewise.
25287         (struct malloc_state): Likewise.
25288         (struct malloc_par): Likewise.
25289         (__libc_realloc): Likewise.
25290         (__libc_mallopt): Likewise.
25292 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25294         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25296 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25298         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25299         macro to a function.  Check for zero perturb_byte.
25300         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25302         * malloc/malloc.c: (force_reg): Remove.
25303         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25304         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25305         force_reg by atomic_forced_read.
25306         * malloc/arena.c (ptmalloc_init): Likewise.
25307         * malloc/hooks.c (top_check): Likewise.
25309 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25313 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25317 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25319         * math/auto-libm-test-in: Add tests of lgamma.
25320         * math/auto-libm-test-out: Regenerated.
25321         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25322         (M_LOG_2_SQRT_PIl): Likewise.
25323         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25324         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25325         mpfr_f_f1.
25326         (func_calc_desc): Add mpfr_f_f1 union field.
25327         (ARGS1): New macro.
25328         (ARGS2): Likewise.
25329         (ARGS3): Likewise.
25330         (ARGS4): Likewise.
25331         (RET1): Likewise.
25332         (RET2): Likewise.
25333         (CALC): Likewise.
25334         (FUNC): Likewise.
25335         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25336         (test_functions): Add lgamma.
25337         (calc_generic_results): Handle mpfr_f_f1.
25338         * sysdeps/i386/fpu/libm-test-ulps: Update.
25339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25341 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25343         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25344         __mpn_add_n for PowerPC64/POWER7.
25345         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25346         __mpn_sub_n for PowerPC64/POWER7.
25348         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25349         __mpn_addmul_1 for PowerPC64.
25350         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25351         __mpn_submul_1 for PowerPC64.
25352         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25353         for PowerPC64.
25354         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25355         for PowerPC64.
25357 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25359         [BZ #15089]
25360         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25362 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25364         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25366         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25367         add multiarch folders.
25368         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25369         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25370         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25371         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25372         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25373         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25374         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25375         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25376         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25377         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25378         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25387         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25389         New file.
25390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25391         New file.
25392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25393         multiarch __ieee754_hypot for PowerPC32.
25394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25395         New file.
25396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25397         New file.
25398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25399         multiarch __ieee754_hypotf for PowerPC32.
25401         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25402         long_double_symbol only if __logbl is defined.
25403         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25404         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25405         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25406         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25408         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25409         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25410         path for implementation.
25411         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25412         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25414         logb, and logbl multiarch implementations for PowerPC32.
25415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25416         file.
25417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25418         file.
25419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25420         multiarch logb for PowerPC32.
25421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25422         file.
25423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25424         file.
25425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25426         multiarch logbf for PowerPC32.
25427         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25429         file.
25430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25431         multiarch logbl implementation for PowerPC32.
25433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25434         and modff multiarch implementations.
25435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25436         New file.
25437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25438         New file.
25439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25440         multiarch modf for PowerPC32.
25441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25442         New file.
25443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25444         New file.
25445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25446         multiarch modff for PowerPC32.
25448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25449         and lrintf multiarch implementations.
25450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25451         New file.
25452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25453         New file.
25454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25455         multiarch lrint for PowerPC32.
25456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25457         file: multiarch lrintf for PowerPC32.
25459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25460         and lroundf multiarch implementations.
25461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25462         New file.
25463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25464         New file.
25465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25466         New file.
25467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25468         multiarch lround for PowerPC32.
25469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25470         file: multiarch lroundf for PowerPC32.
25472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25473         copysign and copysignf multiarch implementations.
25474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25475         New file.
25476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25477         New file.
25478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25479         file: multiarch copysign for PowerPC32.
25480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25481         file: multiarch copysignf for PowerPC32.
25483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25484         and truncf multiarch implementations.
25485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25486         New file.
25487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25488         file.
25489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25490         multiarch trunc for PowerPC32.
25491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25492         New file.
25493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25494         New file.
25495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25496         multiarch truncf for PowerPC32.
25498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25499         and roundf multiarch implementations.
25500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25501         New file.
25502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25503         file.
25504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25505         multiarch round for PowerPC32.
25506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25507         New file.
25508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25509         New file.
25510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25511         multiarch roundf for PowerPC32.
25513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25514         and floorf multiarch implementations.
25515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25516         New file.
25517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25518         file.
25519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25520         multiarch floor for PowerPC32.
25521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25522         New file.
25523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25524         New file.
25525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25526         multiarch floorf for PowerPC32.
25528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25529         and ceilf multiarch implementations.
25530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25531         New file.
25532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25533         file.
25534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25535         multiarch ceil for PowerPC32.
25536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25537         New file.
25538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25539         file.
25540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25541         multiarch ceilf for PowerPC32.
25543         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25544         is defined.
25545         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25546         FINITEF is defined.
25547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25548         and finitef multiarch implementations.
25549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25550         New file.
25551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25552         file.
25553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25554         multiarch finite for PowerPC32.
25555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25556         New file.
25557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25558         file: multiarch finitef for PowerPC32.
25560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25561         and isinff multiarch implementations.
25562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25563         file.
25564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25565         file.
25566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25567         multiarch isinf for PowerPC32.
25568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25569         New file.
25570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25571         multiarch isinff for PowerPC32.
25573         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25574         alias when __isnan is defined.
25575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25576         and isnanf multiarch implementations.
25577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25578         file.
25579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25580         file.
25581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25582         file.
25583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25584         file.
25585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25586         multiarch isnan for PowerPC32.
25587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25588         New file.
25589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25590         New file.
25591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25592         multiarch isnanf for PowerPC32.
25594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25595         and sqrtf multiarch implementations.
25596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25597         file.
25598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25599         file.
25600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25601         multiarch sqrt for PowerPC32.
25602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25603         file.
25604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25605         file.
25606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25607         multiarch sqrtf for PowerPC32.
25609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25610         and llroundf multiarch implementations.
25611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25612         New file.
25613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25614         New file.
25615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25616         New file.
25617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25618         file: multiarch llround for PowerPC32.
25619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25620         file: multiarch llroundf for PowerPC32.
25622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25623         multiarch PowerPC32 fpu implementations.
25624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25625         New file.
25626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25627         New file.
25628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25629         multiarch llrint for PowerPC32.
25630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25631         New file.
25632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25633         New file.
25634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25635         file.
25637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25639         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25640         file.
25641         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25642         file.
25643         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25644         file.
25645         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25646         multiarch wordcopy for PPC32.
25647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25648         wordcopy objects.
25649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25650         (__libc_ifunc_impl_list): Likewise.
25651         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25652         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25653         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25654         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25655         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25656         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25658         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25660         file.
25661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25662         file.
25663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25664         file.
25665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25666         multiarch wcscpy for PPC32.
25667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25668         multiarch objects.
25669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25670         (__libc_ifunc_impl_list): Likewise.
25671         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25672         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25673         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25674         sysdeps/powerpc/power6/wcscpy.c.
25676         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25678         file.
25679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25680         file.
25681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25682         file.
25683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25684         multiarch wcsrchr for PPC32.
25685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25686         multiarch objects.
25687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25688         (__libc_ifunc_impl_list): Likewise.
25689         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25690         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25691         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25692         sysdeps/powerpc/power6/wcsrchr.c.
25694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25695         file.
25696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25697         file.
25698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25700         multiarch wcschr for PPc32.
25701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25702         multiarch objects.
25703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25704         (__libc_ifunc_impl_list): Likewise.
25705         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25706         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25707         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25708         sysdeps/powerpc/power6/wcschr.c.
25710         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25711         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25712         file.
25713         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25714         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25715         file: multiarch strchr for PPC32.
25716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25717         multiarch objects.
25718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25719         (__libc_ifunc_impl_list): Likewise.
25721         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25722         name.
25723         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25724         file.
25725         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25726         file.
25727         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25728         multiarch strchrnul for PPC32.
25729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25730         multiarch objects.
25731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25732         (__libc_ifunc_impl_list): Likewise.
25734         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25735         file.
25736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25737         multiarch strncasecmp for PPC32.
25738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25739         file.
25740         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25741         multiarch strncasecmp_l for PPC32.
25742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25743         strncasecmp multiarch objects.
25744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25745         (__libc_ifunc_impl_list): Likewise.
25747         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25748         file.
25749         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25750         multiarch strncasecmp for PPC32.
25751         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25752         New file.
25753         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25754         multiarch strcasecmp_l for PPC32.
25755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25756         multiarch objects.
25757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25758         (__libc_ifunc_impl_list): Likewise.
25760         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25761         file.
25762         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25763         file.
25764         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25765         multiarch strncmp for PPC32.
25766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25767         multiarch objects.
25768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25769         (__libc_ifunc_impl_list): Likewise.
25771         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25772         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25773         file.
25774         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25775         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25777         multiarch objects.
25778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25779         (__libc_ifunc_impl_list): Likewise.
25781         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25782         file.
25783         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25784         file.
25785         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25787         multiarch objects.
25788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25789         (__libc_ifunc_impl_list): Likewise.
25791         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25792         file.
25793         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25794         file.
25795         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25796         multiarch rawmemchr for PPC32.
25797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25798         multiarch objects.
25799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25800         (__libc_ifunc_impl_list): Likewise.
25802         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25803         file.
25804         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25805         file.
25806         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25807         file: memrchr multiarch for PPC32.
25808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25809         multiarch objects.
25810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25811         (__libc_ifunc_impl_list): Likewise.
25813         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25814         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25815         file.
25816         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25817         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25818         multiarch memchr for PPC32.
25819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25820         multiarch objects.
25821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25822         (__libc_ifunc_impl_list): Likewise.
25824         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25825         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25826         file.
25827         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25828         file.
25829         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25830         file: multiarch mempcpy for PPC32.
25831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25832         multiarch objects.
25833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25834         (__libc_ifunc_impl_list): Likewise.
25836         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25837         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25838         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25839         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25840         multiarch bzero for PPC32.
25841         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25842         file.
25843         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25844         file.
25845         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25846         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25847         file: multiarch memset for PPC32.
25848         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25850         memset multiarch objects.
25851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25852         (__libc_ifunc_impl_list): Likewise.
25854         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25855         file.
25856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25857         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25858         memcmp for PPC32.
25859         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25861         multiarch objects.
25862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25863         (__libc_ifunc_impl_list): Likewise.
25865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25868         file.
25869         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25870         file.
25871         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25872         file.
25873         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25874         multiarch memcpy for PPC32.
25875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25876         multiarch objects.
25877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25878         (__libc_ifunc_impl_list): Likewise.
25880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25881         support multiarch for POWER/PPC32.
25882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25883         Likewise.
25884         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25886         Implies file to make multiarch folder appers before the fpu and
25887         default folder for power4 configuration.
25889 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25891         * scripts/bench.pl: Append volatile keyword to type.
25893 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25895         * sysdeps/sh/sotruss-lib.c: New file.
25896         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25898 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25902 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25904         [BZ #6810]
25905         * math/w_tgamma.c: Include <errno.h>.
25906         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25907         * math/w_tgammaf.c: Include <errno.h>.
25908         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25909         * math/w_tgammal.c: Include <errno.h>.
25910         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25911         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25912         underflow.  Add more tgamma tests.
25913         * math/auto-libm-test-out: Regenerated.
25914         * sysdeps/i386/fpu/libm-test-ulps: Update.
25915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25917         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25918         sin, sinh, tan, tanh, tgamma, y0 and y1.
25919         * math/auto-libm-test-out: Regenerated.
25920         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25921         (TEST_COND_x86): Likewise.
25922         (M_E2l): Remove macro.
25923         (M_E3l): Likewise.
25924         (M_2_SQRT_PIl): Likewise.
25925         (M_SQRT_PIl): Likewise.
25926         (M_1_DIV_El): Likewise.
25927         (log_test_data): Use AUTO_TESTS_f_f.
25928         (log10_test_data): Likewise.
25929         (log1p_test_data): Likewise.
25930         (log2_test_data): Likewise.
25931         (sin_test_data): Likewise.
25932         (sin_tonearest_test_data): Likewise.
25933         (sin_towardzero_test_data): Likewise.
25934         (sin_downward_test_data): Likewise.
25935         (sin_upward_test_data): Likewise.
25936         (sinh_test_data): Likewise.
25937         (sinh_tonearest_test_data): Likewise.
25938         (sinh_towardzero_test_data): Likewise.
25939         (sinh_downward_test_data): Likewise.
25940         (sinh_upward_test_data): Likewise.
25941         (tan_test_data): Likewise.
25942         (tan_tonearest_test_data): Likewise.
25943         (tan_towardzero_test_data): Likewise.
25944         (tan_downward_test_data): Likewise.
25945         (tan_upward_test_data): Likewise.
25946         (tanh_test_data): Likewise.
25947         (tgamma_test_data): Likewise.
25948         (y0_test_data): Likewise.
25949         (y1_test_data): Likewise.
25950         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25951         (special_real_inputs): Add pi/4.
25952         * sysdeps/i386/fpu/libm-test-ulps: Update.
25953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25955 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25957         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25958         "longjmp_target" static probes.
25959         (__longjmp): Rename to __longjmp_symbol.
25960         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25961         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25962         on which longjmp to generate.
25963         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25964         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25965         probe.
25966         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25967         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25968         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25969         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25970         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25971         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25973         __longjmp_symbol based on which __longjmp to generate.
25974         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25975         probe.
25976         (setjmp): Rename to setjmp_symbol.
25977         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25978         (_setjmp): Rename to _setjmp_symbol.
25979         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25980         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25981         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25982         which setjmp to generate.
25983         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25984         "longjmp_target" static probes.
25986 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25988         * benchtests/README: Add note about output arguments.
25989         * benchtests/bench-sincos.c: Remove file.
25990         * benchtests/sincos-inputs: New file.
25991         * scripts/bench.pl: Identify output arguments and define
25992         static variables for them.
25994         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25996         [BZ #15941]
25997         * Makefile (INSTALL): Add install-plain.texi as the primary
25998         dependency.
25999         * manual/install-plain.texi: New file.
26000         * manual/install.texi: Include node directive only for
26001         non-plaintext output.
26003 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26005         * stdlib/longlong.h: Update from GCC.
26007         [BZ #6807]
26008         [BZ #15901]
26009         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26010         * math/w_j0f.c (y0f): Likewise.
26011         * math/w_j0l.c (__y0l): Likewise.
26012         * math/w_j1.c (y1): Likewise.
26013         * math/w_j1f.c (y1f): Likewise.
26014         * math/w_j1l.c (__y1l): Likewise
26015         * math/w_jn.c (yn): Likewise.
26016         * math/w_jnf.c (ynf): Likewise.
26017         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26018         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26019         value for Bessel function domain errors outside _SVID_ mode.
26020         Adjust sign of return value for yn (negative integer, 0).
26021         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26022         by zero in return for negative x and set sign appropriately for
26023         negative n.
26024         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26025         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26026         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26027         expectations in error cases.
26028         (y1_test_data): Likewise.
26029         (yn_test_data): Likewise.
26030         * sysdeps/i386/fpu/libm-test-ulps: Update.
26031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26033 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26035         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26036         "64" to "64-v1".  Add "64-v2".
26037         (abi-64-options): Rename to ...
26038         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26039         (abi-64-condition): Rename to ...
26040         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26041         (abi-64-ld-soname): Rename to ...
26042         (abi-64-v1-ld-soname): ... this.
26043         (abi-64-v2-options): Define.
26044         (abi-64-v2-condition): Likewise.
26045         (abi-64-v2-ld-soname): Likewise.
26046         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26047         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26052 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26053             Alan Modra  <amodra@gmail.com>
26055         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26056         New versions for use with the ELFv2 ABI.
26057         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26058         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26059         declaration.
26060         (struct La_ppc64v2_retval): Likewise.
26061         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26062         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26063         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26064         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26065         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26066         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26067         Do not save or restore CR.
26068         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26069         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26070         return values for ELFv2 ABI.  Fix location of FPR return registers.
26071         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26072         updated values for _CALL_ELF == 2.
26073         (La_regs, La_retval, int_retval): Likewise.
26075 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26077         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26078         (FRAME_MIN_SIZE_PARM): Likewise.
26079         (FRAME_BACKCHAIN): Likewise.
26080         (FRAME_CR_SAVE): Likewise.
26081         (FRAME_LR_SAVE): Likewise.
26082         (FRAME_TOC_SAVE): Likewise.
26083         (FRAME_PARM_SAVE): Likewise.
26084         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26085         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26086         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26087         (call_mcount_parm_offset): New macro.
26088         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26089         (PROF): Use symbolic stack frame offsets.
26090         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26091         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26092         Redefine in terms of FRAME_MIN_SIZE.
26093         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26094         (_dl_profile_resolve): Likewise.  Update comment.
26095         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26096         symbols stack frame offsets.
26097         (__sigsetjmp): Likewise.
26098         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26099         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26100         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26101         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26104         (FRAME_BACKCHAIN): Remove.
26105         (FRAME_CR_SAVE): Likewise.
26106         (FRAME_LR_SAVE): Likewise.
26107         (FRAME_COMPILER_DW): Likewise.
26108         (FRAME_LINKER_DW): Likewise.
26109         (FRAME_TOC_SAVE): Likewise.
26110         (FRAME_PARM_SAVE): Likewise.
26111         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26112         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26113         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26115         (CHECK_SP): Use symbolic stack frame offsets.
26116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26117         zone" instead of caller's parameter save area for temp storage.
26118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26119         Likewise.  Also, use symbolic stack frame offsets.
26120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26121         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26122         our own stack frame instead of the caller's.
26123         (__socket): Use symbolic stack frame offsets.
26125 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26126             Alan Modra  <amodra@gmail.com>
26128         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26129         Define.
26130         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26131         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26132         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26133         New function.
26134         (elf_machine_fixup_plt): Call it.
26135         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26136         reloc arguments.
26137         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26138         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26139         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26140         r2 before calling target.
26142 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26143             Alan Modra  <amodra@gmail.com>
26145         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26146         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26147         versions of macros to support ELFv2 ABI.
26148         (LOCALENTRY): New macro.
26149         (ENTRY, EALIGN): Use it.
26150         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26151         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26152         fall through into ENTRY entry point.
26153         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26154         Only define if _CALL_ELF != 2.
26156         (elf_machine_matches_host): Verify ABI version matches.
26157         (RTLD_START): Use LOCALENTRY.
26158         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26159         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26160         (PLT_ENTRY_WORDS): New macro.
26161         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26162         (elf_machine_runtime_setup): Support ELFv2 ABI.
26163         (elf_machine_fixup_plt): Likewise.
26164         (elf_machine_plt_conflict): Likewise.
26165         (resolve_ifunc): Likewise.
26166         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26167         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26168         Likewise.
26169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26170         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26172         (makecontext): Support ELFv2 ABI.
26173         * elf/elf.h (EF_PPC64_ABI): Define.
26175 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26177         * sysdeps/powerpc/powerpc64/sysdep.h
26178         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26179         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26180         (ENTRY) [ASSEMBLER]: ... but instead here ...
26181         (EALIGN) [ASSEMBLER]: ... and here.
26182         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26183         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26184         (ENTRY_2) [!ASSEMBLER]: Use it.
26185         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26186         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26187         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26188         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26189         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26191         Use PPC64_LOAD_FUNCPTR.
26193         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26195 2013-12-04  Alan Modra  <amodra@gmail.com>
26197         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26198         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26199         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26200         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26202         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26203         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26204         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26205         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26206         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26207         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26209 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26212         (__makecontext): Fix incorrect CFI when backtracing out of
26213         context created via makecontext.
26214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26215         (__setcontext): Fix incorrect CFI during switch to new context.
26216         (__novec_setcontext): Likewise.
26218 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26220         [BZ #4772]
26221         * time/strptime_l.c (__strptime_internal): Allow modifiers
26222         in strptime.
26223         * time/tst-strptime.c (day_tests): Add testcase.
26225 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26227         * scripts/bench.pl: Skip over blank lines.
26229 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26231         [BZ #926]
26232         * manual/time.texi (Calendar Time): Clarify what timezone functions
26233         use.
26235 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26239 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26241         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26242         implementation.
26243         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26244         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26245         * debug/memset_chk.c (__memset_chk): Likewise.
26246         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26247         * debug/strncpy_chk.c: Likewise.
26249 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26251         [BZ #15268]
26252         [BZ #15425]
26253         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26254         (__ieee754_exp): For possibly underflowing results, check size of
26255         result and force underflow exception if required.
26256         * math/auto-libm-test-in: Add more tests of exp.
26257         * math/auto-libm-test-out: Regenerated.
26258         * sysdeps/i386/fpu/libm-test-ulps: Update.
26259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26261         [BZ #16283]
26262         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26263         * math/w_exp2f.c (__exp2f): Likewise.
26264         * math/w_exp2l.c (__exp2l): Likewise.
26265         * math/auto-libm-test-in: Do not allow missing errno on exp2
26266         underflow.
26267         * math/auto-libm-test-out: Regenerated.
26269 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26271         [BZ #16274]
26272         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26273         handle filename validation.
26274         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26275         (do_open): Delete.
26277 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26279         [BZ #6786]
26280         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26281         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26282         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26283         <float.h>.
26284         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26285         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26286         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26287         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26288         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26289         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26290         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26291         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26292         Add more erfc tests.
26293         * math/auto-libm-test-out: Regenerated.
26294         * sysdeps/i386/fpu/libm-test-ulps: Update.
26295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26297         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26298         exp2, expm1, j0 and j1.
26299         * math/auto-libm-test-out: Regenerated.
26300         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26301         (erfc_test_data): Likewise.
26302         (exp_test_data): Likewise.
26303         (exp_tonearest_test_data): Likewise.
26304         (exp_towardzero_test_data): Likewise.
26305         (exp_downward_test_data): Likewise.
26306         (exp_upward_test_data): Likewise.
26307         (exp10_test_data): Likewise.
26308         (exp2_test_data): Likewise.
26309         (expm1_test_data): Likewise.
26310         (j0_test_data): Likewise.
26311         (j1_test_data): Likewise.
26312         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26313         (input_flag_type): Add flag_xfail_rounding.
26314         (input_flags): Add xfail-rounding.
26315         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26316         (output_for_one_input_case): Handle flag_xfail_rounding.
26317         * sysdeps/i386/fpu/libm-test-ulps: Update.
26318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26320 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26322         [BZ #16289]
26323         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26324         division by 0.
26326 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26328         [BZ #16195]
26329         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26330         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26331         (STAP_PROBE0): New macro.
26332         (STAP_PROBE1): Likewise.
26333         (STAP_PROBE2): Likewise.
26334         (STAP_PROBE3): Likewise.
26335         (STAP_PROBE4): Likewise.
26337 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26339         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26341 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26343         * benchtests/Makefile (bench): Add sqrt.
26344         (LDLIBS-bench-sqrt): New.
26345         * benchtests/sqrt-input: New.
26347 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26349         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26350         (GAIH_EAI): Likewise.
26351         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26352         (gaih_inet): Likewise.
26353         (getaddrinfo): Don't use GAIH_EAI.
26355         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26356         (struct gaih): Remove definition.
26358 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26360         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26361         Use HERRNOP directly.
26363 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26367 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26369         * math/gen-auto-libm-tests.c (test_functions): Add more
26370         single-argument functions.
26371         (special_fill_pi_2): New function.
26372         (special_fill_minus_pi_2): Likewise.
26373         (special_fill_pi_6): Likewise.
26374         (special_fill_minus_pi_6): Likewise.
26375         (special_fill_pi_3): Likewise.
26376         (special_fill_2pi_3): Likewise.
26377         (special_fill_e): Likewise.
26378         (special_fill_1_e): Likewise.
26379         (special_fill_e_minus_1): Likewise.
26380         (special_real_inputs): Add more special inputs.
26381         (output_for_one_input_case): Do not require ERANGE on underflow to
26382         zero if round-to-nearest result does not underflow to zero, unless
26383         exact results required.
26384         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26385         atan, atanh, cbrt, cos and cosh.
26386         * math/auto-libm-test-out: Regenerated.
26387         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26388         (acos_tonearest_test_data): Likewise.
26389         (acos_towardzero_test_data): Likewise.
26390         (acos_downward_test_data): Likewise.
26391         (acos_upward_test_data): Likewise.
26392         (acosh_test_data): Likewise.
26393         (asin_test_data): Likewise.
26394         (asin_tonearest_test_data): Likewise.
26395         (asin_towardzero_test_data): Likewise.
26396         (asin_upward_test_data): Likewise.
26397         (asinh_test_data): Likewise.
26398         (atan_test_data): Likewise.
26399         (atanh_test_data): Likewise.
26400         (cbrt_test_data): Likewise.
26401         (cos_test_data): Likewise.
26402         (cos_tonearest_test_data): Likewise.
26403         (cos_towardzero_test_data): Likewise.
26404         (cos_downward_test_data): Likewise.
26405         (cos_upward_test_data): Likewise.
26406         (cosh_test_data): Likewise.
26407         (cosh_tonearest_test_data): Likewise.
26408         (cosh_towardzero_test_data): Likewise.
26409         (cosh_downward_test_data): Likewise.
26410         (cosh_upward_test_data): Likewise.
26411         * sysdeps/i386/fpu/libm-test-ulps: Update.
26412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26414 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26416         [BZ #6787]
26417         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26418         * math/w_exp10f.c (__exp10f): Likewise.
26419         * math/w_exp10l.c (__exp10l): Likewise.
26420         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26421         errno settings in existing tests.
26423         [BZ #14032]
26424         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26425         precision control set to double precision.
26426         * sysdeps/i386/fpu/w_sqrt.c: New file.
26427         * math/auto-libm-test-in: Add more tests.
26428         * math/auto-libm-test-out: Update.
26430         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26431         (sqrt_test_tonearest): New function.
26432         (sqrt_towardzero_test_data): New variable.
26433         (sqrt_test_towardzero): New function.
26434         (sqrt_downward_test_data): New variable.
26435         (sqrt_test_downward): New function.
26436         (sqrt_upward_test_data): New variable.
26437         (sqrt_test_upward): New function.
26438         (main): Call the new functions.
26440         * math/gen-auto-libm-tests.c: New file.
26441         * math/auto-libm-test-in: Likewise.
26442         * math/auto-libm-test-out: New generated file.
26443         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26444         variables.
26445         (%beautify): Add generated representations of zero.
26446         (top level): Set $auto_input and call parse_auto_input.
26447         (beautify): Remove trailing "f" from hex float constants.
26448         (parse_args): Handle XFAIL_TEST.
26449         (convert_condition): New function.
26450         (or_value): Likewise.
26451         (or_cond_value): Likewise.
26452         (generate_testfile): Handle AUTO_TESTS_* lines.
26453         (parse_auto_input): New function.
26454         * math/libm-test.inc (XFAIL_TEST): New macro.
26455         (ERRNO_UNCHANGED): Update value.
26456         (ERRNO_EDOM): Likewise.
26457         (ERRNO_ERANGE): Likewise.
26458         (IGNORE_RESULT): Likewise.
26459         (TEST_COND_flt_32): New macro.
26460         (TEST_COND_dbl_64): Likewise.
26461         (TEST_COND_ldbl_96_intel): Likewise.
26462         (TEST_COND_ldbl_96_m68k): Likewise.
26463         (TEST_COND_ldbl_128): Likewise.
26464         (TEST_COND_ldbl_128ibm): Likewise.
26465         (TEST_COND_long32): Likewise.
26466         (TEST_COND_long64): Likewise.
26467         (TEST_COND_before_rounding): Likewise.
26468         (TEST_COND_after_rounding): Likewise.
26469         (enable_test): Handle XFAIL_TEST flag.
26470         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26471         with finite results.
26472         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26473         auto-libm-test-out.
26475 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26476             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26478         [BZ #16214]
26479         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26480         __tls_get_addr_internal instead of __tls_get_offset in order to
26481         avoid GOT pointer dependency.  Make rtld export
26482         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26483         __tls_get_addr since we are a __tls_get_offset platform.
26484         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26485         GOT pointer being set up before.
26486         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26488 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26490         * manual/math.texi (Errors in Math Functions): Document accuracy
26491         goals.
26493         [BZ #15004]
26494         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26495         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26496         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26497         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26498         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26499         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26500         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26501         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26502         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26503         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26504         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26505         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26506         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26507         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26508         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26509         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26511         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26512         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26513         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26514         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26515         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26516         Likewise.
26517         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26518         Likewise.
26519         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26520         Likewise.
26521         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26522         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26523         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26524         atomic-feupdateenv and flt-rounds.
26525         * sysdeps/powerpc/nofpu/Versions (libc): Add
26526         __atomic_feholdexcept, __atomic_feclearexcept,
26527         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26528         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26529         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26530         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26531         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26532         here.
26533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26534         Update.
26536         * manual/arith.texi (FP Exceptions): Document that exceptions may
26537         not be raised when matherr is used.
26538         (Math Error Reporting): Document overflow in directed rounding
26539         modes.  Document that errno may not be set when finite values are
26540         returned on overflow.  Document intent to set errno on underflow
26541         only for underflow to zero.
26543         [BZ #16271]
26544         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26545         round-to-nearest then adjust result for other rounding modes.
26546         * include/fenv.h (fegetround): Use libm_hidden_proto.
26547         * math/fegetround.c (fegetround): Use libm_hidden_def.
26548         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26549         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26550         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26551         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26552         Likewise.
26553         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26554         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26555         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26556         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26558 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26560         [BZ #16077]
26561         * nss/Versions (libnss_files): Add
26562         _nss_files_gethostbyname3_r.
26563         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26564         New function.
26565         (HOST_DB_LOOKUP): Remove macro.
26566         (_nss_files_gethostbyname_r): Implement function without the
26567         HOST_DB_LOOKUP macro.
26568         (_nss_files_gethostbyname2_r): Likewise.
26570 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26572         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26574 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26576         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26577         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26578         warning.
26580 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26582         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26583         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26584         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26585         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26586         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26587         __fe_nomask_env_priv and attribute_hidden.
26588         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26589         (libc_feupdateenv_test_ppc): Likewise.
26590         (libc_feresetround_ppc): Likewise.
26591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26592         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26593         compat_symbol macro.
26594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26595         (__fe_nomask_env): Likewise.
26596         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26598 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26600         * string/Makefile: Remove ifunc tests.
26601         * string/test-string.h: Define TEST_IFUNC.
26602         * string/test-bcopy-ifunc.c: Remove.
26603         * string/test-bzero-ifunc.c: Likewise.
26604         * string/test-memccpy-ifunc.c: Likewise.
26605         * string/test-memchr-ifunc.c: Likewise.
26606         * string/test-memcmp-ifunc.c: Likewise.
26607         * string/test-memcpy-ifunc.c: Likewise.
26608         * string/test-memmem-ifunc.c: Likewise.
26609         * string/test-memmove-ifunc.c: Likewise.
26610         * string/test-mempcpy-ifunc.c: Likewise.
26611         * string/test-memrchr-ifunc.c: Likewise.
26612         * string/test-memset-ifunc.c: Likewise.
26613         * string/test-rawmemchr-ifunc.c: Likewise.
26614         * string/test-stpcpy-ifunc.c: Likewise.
26615         * string/test-stpncpy-ifunc.c: Likewise.
26616         * string/test-strcasecmp-ifunc.c: Likewise.
26617         * string/test-strcasestr-ifunc.c: Likewise.
26618         * string/test-strcat-ifunc.c: Likewise.
26619         * string/test-strchr-ifunc.c: Likewise.
26620         * string/test-strchrnul-ifunc.c: Likewise.
26621         * string/test-strcmp-ifunc.c: Likewise.
26622         * string/test-strcpy-ifunc.c: Likewise.
26623         * string/test-strcspn-ifunc.c: Likewise.
26624         * string/test-strlen-ifunc.c: Likewise.
26625         * string/test-strncasecmp-ifunc.c: Likewise.
26626         * string/test-strncat-ifunc.c: Likewise.
26627         * string/test-strncmp-ifunc.c: Likewise.
26628         * string/test-strncpy-ifunc.c: Likewise.
26629         * string/test-strnlen-ifunc.c: Likewise.
26630         * string/test-strpbrk-ifunc.c: Likewise.
26631         * string/test-strrchr-ifunc.c: Likewise.
26632         * string/test-strspn-ifunc.c: Likewise.
26633         * string/test-strstr-ifunc.c: Likewise.
26635 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26637         * benchtests/Makefile: Remove ifunc tests.
26638         * benchtests/bench-string.h: Define TEST_IFUNC.
26639         * benchtests/bench-bcopy-ifunc.c: Remove.
26640         * benchtests/bench-bzero-ifunc.c: Likewise.
26641         * benchtests/bench-memccpy-ifunc.c: Likewise.
26642         * benchtests/bench-memchr-ifunc.c: Likewise.
26643         * benchtests/bench-memcmp-ifunc.c: Likewise.
26644         * benchtests/bench-memcpy-ifunc.c: Likewise.
26645         * benchtests/bench-memmem-ifunc.c: Likewise.
26646         * benchtests/bench-memmove-ifunc.c: Likewise.
26647         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26648         * benchtests/bench-memrchr-ifunc.c: Likewise.
26649         * benchtests/bench-memset-ifunc.c: Likewise.
26650         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26651         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26652         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26653         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26654         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26655         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26656         * benchtests/bench-strcat-ifunc.c: Likewise.
26657         * benchtests/bench-strchr-ifunc.c: Likewise.
26658         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26659         * benchtests/bench-strcmp-ifunc.c: Likewise.
26660         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26661         * benchtests/bench-strcpy-ifunc.c: Likewise.
26662         * benchtests/bench-strcspn-ifunc.c: Likewise.
26663         * benchtests/bench-strlen-ifunc.c: Likewise.
26664         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26665         * benchtests/bench-strncat-ifunc.c: Likewise.
26666         * benchtests/bench-strncmp-ifunc.c: Likewise.
26667         * benchtests/bench-strncpy-ifunc.c: Likewise.
26668         * benchtests/bench-strnlen-ifunc.c: Likewise.
26669         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26670         * benchtests/bench-strrchr-ifunc.c: Likewise.
26671         * benchtests/bench-strsep-ifunc.c: Likewise.
26672         * benchtests/bench-strspn-ifunc.c: Likewise.
26673         * benchtests/bench-strstr-ifunc.c: Likewise.
26675 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26677         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26679 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26681         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26682         * rt/aio.h: Likewise.
26683         * sysdeps/gnu/bits/utmp.h: Likewise.
26684         * sysdeps/gnu/bits/utmpx.h: Likewise.
26685         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26686         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26687         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26688         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26689         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26690         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26691         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26692         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26693         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26694         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26695         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26696         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26697         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26699         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26700         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26701         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26702         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26703         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26704         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26705         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26706         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26707         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26708         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26709         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26710         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26711         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26712         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26713         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26714         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26715         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26716         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26717         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26718         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26719         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26720         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26721         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26722         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26723         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26724         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26725         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26726         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26728 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26730         [BZ #16245]
26731         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26732         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26734 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26736         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26737         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26738         Likewise.
26740 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26742         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26743         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26744         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26745         (__fesetround): Remove define.
26746         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26747         rounding and exceptions handling.
26748         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26749         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26750         (__fe_nomask_env): Likewise.
26751         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26752         __fegetround instead of fegetround.
26753         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26754         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26756 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26758         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26759         it's there.
26761         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26763 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26765         [BZ #11157]
26766         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26767         (encrypt_r): Likewise.
26768         * malloc/obstack.h (obstack_free): Likewise.
26769         * posix/unistd.h (encrypt): Likewise.
26771 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26773         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26774         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26775         DL_CALL_DT_FINI() that call the functions directly.
26776         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26777         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26778         * elf/dl-fini.c: Likewise.
26780 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26782         * malloc/hooks.c (memalign_check): Add alignment rounding.
26783         * malloc/malloc.c (_mid_memalign): New function.
26784         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26785         Implement by calling _mid_memalign.
26786         * manual/probes.texi (Memory Allocation Probes): Remove
26787         memory_valloc_retry and memory_pvalloc_retry.
26789 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26791         * locale/programs/locarchive.c (open_archive): Add const
26792         qualifier to ARCHIVEFNAME and copy default fname to
26793         DEFAULT_FNAME.
26795         [BZ #15601]
26796         * libio/tst-widetext.input: Rename Oriya to Odia.
26797         * locale/iso-639.def: Likewise.
26799         * manual/probes.texi (Mathematical Function Probes): Add
26800         documentation for sin, cos, asin and acos probes.
26801         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26802         (__sin32): Add slowasin probe.
26803         (__cos32): Add slowacos probe.
26804         (__mpsin): Add slowsin probe.
26805         (__mpcos): Add slowcos probe.
26807 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26809         [BZ #15483]
26810         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26811         thread-local __sim_exceptions_thread and global
26812         __sim_exceptions_global.
26813         (__sim_disabled_exceptions): Change to thread-local
26814         __sim_disabled_exceptions_thread and global
26815         __sim_disabled_exceptions_global.
26816         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26817         and global __sim_round_mode_global.
26818         (__simulate_exceptions): Use thread-local floating-point state and
26819         set global state from it as needed.
26820         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26821         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26822         __sim_round_mode_thread.
26823         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26824         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26825         and global __sim_exceptions_global.
26826         (__sim_disabled_exceptions): Change to thread-local
26827         __sim_disabled_exceptions_thread and global
26828         __sim_disabled_exceptions_global.
26829         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26830         and global __sim_round_mode_global.
26831         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26832         (SIM_SET_GLOBAL): Likewise.
26833         * sysdeps/powerpc/soft-fp/sfp-machine.h
26834         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26835         __sim_round_mode_thread.
26836         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26837         __sim_disabled_exceptions_thread.
26838         (__sim_exceptions): Change to __sim_exceptions_thread.
26839         (__sim_disabled_exceptions): Change to
26840         __sim_disabled_exceptions_thread.
26841         (__sim_round_mode): Change to __sim_round_mode_thread.
26842         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26843         thread-local floating-point state and set global state from it as
26844         needed.
26845         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26846         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26847         (__sim_disabled_exceptions): Remove extern declaration.
26848         (feenableexcept): Use thread-local floating-point state and set
26849         global state from it as needed.
26850         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26851         extern declaration.
26852         (__sim_disabled_exceptions): Likewise.
26853         (__sim_round_mode): Likewise.
26854         (__fegetenv): Use thread-local floating-point state.
26855         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26856         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26857         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26858         floating-point state and set global state from it as needed.
26859         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26860         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26861         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26862         Likewise.
26863         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26864         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26865         Likewise.
26866         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26867         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26868         Use __sim_round_mode_thread.
26869         * math/test-fenv-tls.c: New file.
26870         * math/Makefile (tests): Add test-fenv-tls.
26871         ($(objpfx)test-fenv-tls): Depend on
26872         $(common-objpfx)nptl/libpthread.so.
26874 2013-11-19  Andreas Schwab  <schwab@suse.de>
26876         * locale/programs/locale.c (show_info): Decode wordarray elements.
26877         * locale/categories.def (LC_MONETARY): Add element for
26878         _NL_MONETARY_CRNCYSTR.
26879         * locale/C-monetary.c (conversion_rate): New variable.
26880         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26881         element.
26883 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26885         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26886         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26888 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26890         * elf/Makefile (tst-auxv): New test.
26891         * elf/tst-auxv.c: New
26892         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26894 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26896         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26897         (hidden_proto): Caller changed.
26898         (hidden_tls_proto): New macro.
26899         (libc_hidden_tls_proto): Likewise.
26900         (rtld_hidden_tls_proto): Likewise.
26901         (libm_hidden_tls_proto): Likewise.
26902         (libresolv_hidden_tls_proto): Likewise.
26903         (librt_hidden_tls_proto): Likewise.
26904         (libdl_hidden_tls_proto): Likewise.
26905         (libnss_files_hidden_tls_proto): Likewise.
26906         (libnsl_hidden_tls_proto): Likewise.
26907         (libnss_nisplus_hidden_tls_proto): Likewise.
26908         (libutil_hidden_tls_proto): Likewise.
26910 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26912         [BZ #10253]
26913         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26914         (decompose_rpath): Defer expansion to fillin_rpath.
26915         (_dl_init_paths): Pass linkmap to fillin_rpath.
26917 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26919         * benchtests/Makefile: Add strsep.
26920         * benchtests/bench-strsep.c: New file: strsep benchtest.
26921         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26923 2013-11-18  Andreas Schwab  <schwab@suse.de>
26925         * locale/programs/locale.c (show_info) [case byte]: Check for
26926         '\377' instead of '\177'.
26927         * locale/C-monetary.c (not_available): Always use "\377".
26928         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26929         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26930         detect unavailable sign_posn locale elements.
26931         * locale/localeconv.c (__localeconv): For grouping and
26932         mon_grouping handle "\177" and "\377" like no grouping.
26933         (INT_ELEM): New macro.  Use it to set all numeric members.
26934         * locale/programs/ld-monetary.c (monetary_read)
26935         <tok_mon_grouping>: Normalize single -1 to the empty string.
26936         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26937         Likewise.
26939 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26941         [BZ #16055]
26942         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26943         when we match (nil).
26944         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26946 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26948         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26949         (NO_TEST_INLINE): Update value.
26950         (ERRNO_UNCHANGED): Likewise.
26951         (ERRNO_EDOM): Likewise.
26952         (ERRNO_ERANGE): Likewise.
26953         (IGNORE_RESULT): Likewise.
26954         (check_float_internal): Check signs of NaN results if
26955         TEST_NAN_SIGN used.
26956         (check_complex): Pass TEST_NAN_SIGN flag through to second
26957         check_float_internal call.
26958         (copysign_test_data): Add tests with quiet NaNs as second
26959         argument.  Use TEST_NAN_SIGN.
26960         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26961         TEST_NAN_SIGN.
26962         (signbit_test_data): Add tests of quiet NaN argument.
26963         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26965         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26966         $ignore_result.
26967         (parse_args): Handle function results specified as IGNORE.
26968         * math/libm-test.inc (IGNORE_RESULT): New macro.
26969         (check_float_internal): Do not check numerical result if flag
26970         IGNORE_RESULT set.
26971         (check_complex): Pass through IGNORE_RESULT to second
26972         check_float_internal call.
26973         (check_int): Do not check numerical result if flag IGNORE_RESULT
26974         set.
26975         (check_long): Likewise.
26976         (check_bool): Likewise.
26977         (check_longlong): Likewise.
26978         (lrint_test_data): Add tests of infinite and NaN arguments.
26979         (lrint_tonearest_test_data): Likewise.
26980         (lrint_towardzero_test_data): Likewise.
26981         (lrint_downward_test_data): Likewise.
26982         (lrint_upward_test_data): Likewise.
26983         (llrint_test_data): Likewise.
26984         (llrint_tonearest_test_data): Likewise.
26985         (llrint_towardzero_test_data): Likewise.
26986         (llrint_downward_test_data): Likewise.
26987         (llrint_upward_test_data): Likewise.
26988         (lround_test_data): Likewise.
26989         (llround_test_data): Likewise.
26991         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26992         (ERRNO_UNCHANGED): Update value.
26993         (ERRNO_EDOM): Likewise.
26994         (ERRNO_ERANGE): Likewise.
26995         (NO_TEST_INLINE_FLOAT): New macro.
26996         (NO_TEST_INLINE_DOUBLE): Likewise.
26997         (enable_test): New function.
26998         (RUN_TEST_f_f): Check enable_test before running test.
26999         (RUN_TEST_2_f): Likewise.
27000         (RUN_TEST_fff_f): Likewise.
27001         (RUN_TEST_c_f): Likewise.
27002         (RUN_TEST_f_f1): Likewise.
27003         (RUN_TEST_fF_f1): Likewise.
27004         (RUN_TEST_fI_f1): Likewise.
27005         (RUN_TEST_ffI_f1): Likewise.
27006         (RUN_TEST_c_c): Likewise.
27007         (RUN_TEST_cc_c): Likewise.
27008         (RUN_TEST_f_i): Likewise.
27009         (RUN_TEST_f_i_tg): Likewise.
27010         (RUN_TEST_ff_i_tg): Likewise.
27011         (RUN_TEST_f_b): Likewise.
27012         (RUN_TEST_f_b_tg): Likewise.
27013         (RUN_TEST_f_l): Likewise.
27014         (RUN_TEST_f_L): Likewise.
27015         (RUN_TEST_fFF_11): Likewise.
27016         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27017         conditionals.
27018         (cosh_test_data): Likewise.
27019         (exp_test_data): Likewise.
27020         (expm1_test_data): Likewise.
27021         (hypot_test_data): Likewise.
27022         (pow_test_data): Likewise.
27023         (sinh_test_data): Likewise.
27024         (tanh_test_data): Likewise.
27025         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27026         flags argument.
27028         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27029         tests with quiet NaN input and output.
27030         (acosh_test_data): Likewise.
27031         (asin_test_data): Likewise.
27032         (asinh_test_data): Likewise.
27033         (atan_test_data): Likewise.
27034         (atanh_test_data): Likewise.
27035         (atan2_test_data): Likewise.
27036         (cbrt_test_data): Likewise.
27037         (cos_test_data): Likewise.
27038         (cosh_test_data): Likewise.
27039         (erf_test_data): Likewise.
27040         (erfc_test_data): Likewise.
27041         (exp_test_data): Likewise.
27042         (exp10_test_data): Likewise.
27043         (exp2_test_data): Likewise.
27044         (expm1_test_data): Likewise.
27045         (hypot_test_data): Likewise.
27046         (j0_test_data): Likewise.
27047         (j1_test_data): Likewise.
27048         (jn_test_data): Likewise.
27049         (lgamma_test_data): Likewise.
27050         (log_test_data): Likewise.
27051         (log10_test_data): Likewise.
27052         (log1p_test_data): Likewise.
27053         (log2_test_data): Likewise.
27054         (pow_test_data): Likewise.
27055         (scalb_test_data): Likewise.
27056         (sin_test_data): Likewise.
27057         (sincos_test_data): Likewise.
27058         (sinh_test_data): Likewise.
27059         (tan_test_data): Likewise.
27060         (tanh_test_data): Likewise.
27061         (tgamma_test_data): Likewise.
27062         (y0_test_data): Likewise.
27063         (y1_test_data): Likewise.
27064         (yn_test_data): Likewise.
27066         [BZ #16167]
27067         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27068         argument being NaN and avoid computations with second argument in
27069         that case.
27070         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27071         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27072         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27074 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27076         * locale/iso-639.def: Add Chitwani Tharu (the).
27078 2013-11-14  Andreas Schwab  <schwab@suse.de>
27080         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27081         word instead of empty string.
27083 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27086         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27088         (__fe_nomask_env): Likewise.
27090 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27092         * benchtests/bench-timing.h: Include time.h.
27094 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27096         [BZ #15997]
27097         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27098         to 3.4.0 for x32.
27099         * sysdeps/unix/sysv/linux/configure: Regenerated.
27101 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27103         [BZ #16151]
27104         * stdlib/strtod_l.c (round_and_return): Do not consider
27105         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27106         exponent one less than half the least subnormal exponent.
27107         * stdlib/test-strtod-round-data: Add more tests.
27108         * stdlib/tst-strtod-round.c (tests): Regenerated.
27110 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27112         [BZ #14143]
27113         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27114         (__fe_mask_env): Likewise.
27115         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27116         libm_hidden_proto and add function prototype.
27117         (__fe_mask_env): Add function prototype.
27118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27119         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27121         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27123         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27125 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27127         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27128         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27130 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27132         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27133         of htab_find_slot().
27135 2013-11-11  David S. Miller  <davem@davemloft.net>
27137         [BZ #16150]
27138         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27139         symbol in the non-vis3 case in static builds.
27140         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27141         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27142         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27143         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27145 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27147         [BZ #387]
27148         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27149         it is empty.
27151 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27153         * benchtests/Makefile: Add bench-strtod.
27154         * benchtests/bench-strtod.c: New file: strtod benchtest
27156 2013-11-11  Andreas Schwab  <schwab@suse.de>
27158         [BZ #16153]
27159         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27160         terminating NUL in key length.
27162 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27164         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27165         Add artificial ODP entry for vDSO symbol for PPC64.
27166         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27167         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27169 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27171         [BZ #15374]
27172         * nss/getent.c (services_keys): Recognize services starting with digit.
27174 2013-11-06  David S. Miller  <davem@davemloft.net>
27176         [BZ #15985]
27177         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27178         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27180 2013-11-06  Will Newton  <will.newton@linaro.org>
27182         * manual/memory.texi (Malloc Examples): Remove register
27183         keyword from examples.
27185 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27187         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27189 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27191         [BZ #6981]
27192         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27193         depending on [__GCC_IEC_559 > 0].
27194         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27195         depending on [__GCC_IEC_559_COMPLEX > 0].
27197 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27199         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27200         to iso-639.def.
27202 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27204         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27206 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27208         [BZ #16112]
27209         * malloc/malloc (malloc_info): Do not handle first bin as
27210         special case.
27212 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27214         * locale/iso-639.def: Add Central Nahuatl (nhn).
27216 2013-11-01  Bruno Haible  <bruno@clisp.org>
27218         [BZ #7003]
27219         * manual/math.texi (BSD Random): Specify range upper bound as
27220         in POSIX.
27222 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27224         * locale/iso-639.def: Add Meadow Mari (mhr).
27226 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27228         [BZ #14752], [BZ #15763]
27229         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27230         Validate name.
27231         * rt/tst_shm.c: Add test for escaping directory.
27233 2013-10-31  Andreas Schwab  <schwab@suse.de>
27235         [BZ #15917]
27236         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27237         followed by 'x' as part of digit sequence.
27238         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27240 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27242         [BZ #16037]
27243         * configure.ac: allow GNU Make 4.0 and greater.
27244         * configure: Regenerated.
27246 2013-10-30  Will Newton  <will.newton@linaro.org>
27248         [BZ #16038]
27249         * malloc/hooks.c (memalign_check): Limit alignment to the
27250         maximum representable power of two.
27251         * malloc/malloc.c (__libc_memalign): Likewise.
27252         * malloc/tst-memalign.c (do_test): Add test for very
27253         large alignment values.
27254         * malloc/tst-posix_memalign.c (do_test): Likewise.
27256 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27258         [BZ #11087]
27259         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27260         (munmap_chunk): Likewise.
27261         (mremap_chunk): Likewise.
27263 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27265         [BZ #15799]
27266         * stdlib/div.c (div): Remove obsolete code.
27267         * stdlib/ldiv.c (ldiv): Likewise.
27268         * stdlib/lldiv.c (lldiv): Likewise.
27270 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27272         [BZ #16071]
27273         * nss/nss_files/files-XXX.c (get_contents_ret): New
27274         enumerator.
27275         (get_contents): New function.
27276         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27278 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27280         * configure.in: Moved to ...
27281         * configure.ac: ... here. Change reference to configure.in
27282         to configure.ac.
27283         * sysdeps/arm/preconfigure.ac: ... here.
27284         configure.in to configure.ac.
27285         * sysdeps/gnu/configure.in: Moved to ...
27286         * sysdeps/gnu/configure.ac: ... here.
27287         * sysdeps/i386/configure.in: Moved to ...
27288         * sysdeps/i386/configure.ac: ... here.
27289         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27290         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27291         * sysdeps/mach/configure.in: Moved to ...
27292         * sysdeps/mach/configure.ac: ... here.
27293         * sysdeps/mach/hurd/configure.in: Moved to ...
27294         * sysdeps/mach/hurd/configure.ac: ... here.
27295         * sysdeps/powerpc/configure.in: Moved to ...
27296         * sysdeps/powerpc/configure.ac: ... here.
27297         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27298         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27299         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27300         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27301         * sysdeps/s390/s390-32/configure.in: Moved to ...
27302         * sysdeps/s390/s390-32/configure.ac: ... here.
27303         * sysdeps/s390/s390-64/configure.in: Moved to ...
27304         * sysdeps/s390/s390-64/configure.ac: ... here.
27305         * sysdeps/sh/configure.in: Moved to ...
27306         * sysdeps/sh/configure.ac: ... here.
27307         * sysdeps/sparc/configure.in: Moved to ...
27308         * sysdeps/sparc/configure.ac: ... here.
27309         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27310         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27311         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27312         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27313         * sysdeps/x86_64/configure.in: Moved to ...
27314         * sysdeps/x86_64/configure.ac: ... here.
27315         * sysdeps/x86_64/preconfigure.in: Moved to ...
27316         * sysdeps/x86_64/preconfigure.ac: ... here.
27317         * aclocal.m4: Change reference to configure.in to configure.ac.
27318         * config.h.in: Likewise.
27319         * manual/install.texi: Likewise.
27320         * manual/maint.texi: Likewise.
27321         * Makefile: Likewise.
27322         * malloc/Makefile: Likewise.
27323         * nscd/Makefile: Likewise.
27324         * Makeconfig: Change reference to configure.in and
27325         preconfigure.in to configure.ac and preconfigure.ac
27326         respectively.
27327         * INSTALL: Regenerated.
27328         * configure: Likewise.
27329         * sysdeps/gnu/configure: Likewise.
27330         * sysdeps/i386/configure: Likewise.
27331         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27332         * sysdeps/mach/configure: Likewise.
27333         * sysdeps/mach/hurd/configure: Likewise.
27334         * sysdeps/powerpc/configure: Likewise.
27335         * sysdeps/powerpc/powerpc32/configure: Likewise.
27336         * sysdeps/powerpc/powerpc64/configure: Likewise.
27337         * sysdeps/s390/s390-32/configure: Likewise.
27338         * sysdeps/s390/s390-64/configure: Likewise.
27339         * sysdeps/sh/configure: Likewise.
27340         * sysdeps/sparc/configure: Likewise.
27341         * sysdeps/unix/sysv/linux/configure: Likewise.
27342         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27343         * sysdeps/x86_64/configure: Likewise.
27344         * sysdeps/x86_64/preconfigure: Likewise.
27346 2013-10-29  Andreas Schwab  <schwab@suse.de>
27348         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27350 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27352         * benchtests/pow-inputs: Add new inputs.
27354         * benchtests/exp-inputs: Add new inputs.
27356         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27357         conditional check for return value.
27358         (__cos32): Likewise.
27360 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27362         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27363         to provide a boost for large inputs with word alignment.
27364         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27365         implementation based on optimized PPC64 strcpy.
27366         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27367         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27368         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27369         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27371 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27373         [BZ #2801]
27374         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27376 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27378         [BZ #14876]
27379         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27380         * time/tst-strptime.c (day_tests): Add testcase.
27382 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27384         [BZ #14029]
27385         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27387 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27389         [BZ #16074]
27390         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27391         MAP_FAILED on error.
27393 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27395         [BZ #16072]
27396         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27397         heap for large requests.
27399 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27401         [BZ #9954]
27402         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27403         result if the result has no associated interface.
27404         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27405         interface for all 127.X.Y.Z addresses.
27407 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27409         * locale/iso-639.def: Add Ligurian (lij)
27411 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27413         [BZ #15825]
27414         * sunrpc/rpc_main.c: Document rpcgen -5.
27416 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27418         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27420 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27422         [BZ #10278]
27423         * posix/glob.c: Match only directories when trailing slash is present.
27424         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27425         (main): Add testcase.
27427 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27429         [BZ #15670]
27430         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27432 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27434         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27435         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27436         AUTH_DES and cindex for FIPS 140-2.
27437         (DES Encryption): Add cindex FIPS 46-3.
27439         * locale/locarchive.h (struct locarhandle): Add fname.
27440         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27441         if an optional argument was specified to --list-archive,
27442         otherwise NULL.
27443         * locale/programs/locarchive.c (show_archive_content): Take new
27444         argument fname and pass it via ah.fname to open_archive.
27445         * locale/programs/localedef.h: Update decl.
27446         (open_archive): If AH->fname is non-null, open that file
27447         rather than the default file name, and don't ignore ENOENT.
27448         (create_archive): Set AH.fname to NULL.
27449         (delete_locales_from_archive): Likewise.
27450         (add_locales_to_archive): Likewise.
27451         * locale/programs/locfile.c (write_all_categories): Likewise.
27453 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27454             Aldy Hernandez  <aldyh@redhat.com>
27456         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27457         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27458         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27459         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27460         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27461         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27462         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27463         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27464         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27465         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27466         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27467         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27468         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27469         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27470         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27471         Likewise.
27472         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27473         Likewise.
27474         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27475         Likewise.
27476         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27477         Likewise.
27478         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27479         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27480         Likewise.
27481         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27482         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27483         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27484         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27485         Likewise.
27486         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27487         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27488         * sysdeps/powerpc/preconfigure: Likewise.
27489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27490         Likewise.
27491         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27492         Replace contents of file by #include of <fenv_libc.h>.
27493         * sysdeps/powerpc/soft-fp/sfp-machine.h
27494         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27495         and <sys/prctl.h>.
27496         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27497         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27498         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27499         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27500         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27501         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27503         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27504         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27505         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27506         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27507         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27509         Allow copysignl PLT reference to be missing.
27511 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27512             Joseph Myers  <joseph@codesourcery.com
27514         [BZ #15948]
27515         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27516         single character.
27517         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27519 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27521         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27522         * elf/tst-tls1.c: Likewise.
27523         * elf/tst-tls10.h: Likewise.
27524         * elf/tst-tls14.c: Likewise.
27525         * elf/tst-tls2.c: Likewise.
27526         * elf/tst-tls3.c: Likewise.
27527         * elf/tst-tls4.c: Likewise.
27528         * elf/tst-tls5.c: Likewise.
27529         * elf/tst-tls6.c: Likewise.
27530         * elf/tst-tls7.c: Likewise.
27531         * elf/tst-tls8.c: Likewise.
27532         * elf/tst-tls9.c: Likewise.
27533         * elf/tst-tlsmod1.c: Likewise.
27534         * elf/tst-tlsmod13.c: Likewise.
27535         * elf/tst-tlsmod13a.c: Likewise.
27536         * elf/tst-tlsmod14a.c: Likewise.
27537         * elf/tst-tlsmod16a.c: Likewise.
27538         * elf/tst-tlsmod16b.c: Likewise.
27539         * elf/tst-tlsmod2.c: Likewise.
27540         * elf/tst-tlsmod3.c: Likewise.
27541         * elf/tst-tlsmod4.c: Likewise.
27542         * elf/tst-tlsmod5.c: Likewise.
27543         * elf/tst-tlsmod6.c: Likewise.
27545 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27547         [BZ #12486]
27548         * malloc/malloc.c: remove checks for statistics.
27550 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27552         [BZ #15277]
27553         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27554         * inet/tst-network.c: Add testcase.
27556 2013-10-17  Andreas Schwab  <schwab@suse.de>
27558         [BZ #15218]
27559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27560         to determine canonical name.
27562 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27564         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27565         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27567         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27569         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27570         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27571         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27572         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27573         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27574         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27575         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27576         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27577         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27578         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27579         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27580         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27581         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27582         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27583         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27584         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27585         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27586         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27587         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27588         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27589         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27590         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27591         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27592         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27593         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27594         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27595         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27596         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27597         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27598         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27599         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27600         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27601         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27602         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27603         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27604         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27605         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27606         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27607         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27608         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27609         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27610         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27611         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27612         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27613         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27614         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27615         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27616         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27617         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27618         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27619         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27620         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27621         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27623 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27625         [BZ #16041]
27626         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27627         make result into a quiet NaN.
27629 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27631         * soft-fp/adddf3.c: Fix horizontal whitespace.
27632         * soft-fp/addsf3.c: Likewise.
27633         * soft-fp/addtf3.c: Likewise.
27634         * soft-fp/divdf3.c: Likewise.
27635         * soft-fp/divsf3.c: Likewise.
27636         * soft-fp/divtf3.c: Likewise.
27637         * soft-fp/double.h: Likewise.
27638         * soft-fp/eqdf2.c: Likewise.
27639         * soft-fp/eqsf2.c: Likewise.
27640         * soft-fp/eqtf2.c: Likewise.
27641         * soft-fp/extenddftf2.c: Likewise.
27642         * soft-fp/extended.h: Likewise.
27643         * soft-fp/extendsfdf2.c: Likewise.
27644         * soft-fp/extendsftf2.c: Likewise.
27645         * soft-fp/extendxftf2.c: Likewise.
27646         * soft-fp/fixdfdi.c: Likewise.
27647         * soft-fp/fixdfsi.c: Likewise.
27648         * soft-fp/fixdfti.c: Likewise.
27649         * soft-fp/fixsfdi.c: Likewise.
27650         * soft-fp/fixsfsi.c: Likewise.
27651         * soft-fp/fixsfti.c: Likewise.
27652         * soft-fp/fixtfdi.c: Likewise.
27653         * soft-fp/fixtfsi.c: Likewise.
27654         * soft-fp/fixtfti.c: Likewise.
27655         * soft-fp/fixunsdfdi.c: Likewise.
27656         * soft-fp/fixunsdfsi.c: Likewise.
27657         * soft-fp/fixunsdfti.c: Likewise.
27658         * soft-fp/fixunssfdi.c: Likewise.
27659         * soft-fp/fixunssfsi.c: Likewise.
27660         * soft-fp/fixunssfti.c: Likewise.
27661         * soft-fp/fixunstfdi.c: Likewise.
27662         * soft-fp/fixunstfsi.c: Likewise.
27663         * soft-fp/fixunstfti.c: Likewise.
27664         * soft-fp/floatdidf.c: Likewise.
27665         * soft-fp/floatdisf.c: Likewise.
27666         * soft-fp/floatditf.c: Likewise.
27667         * soft-fp/floatsidf.c: Likewise.
27668         * soft-fp/floatsisf.c: Likewise.
27669         * soft-fp/floatsitf.c: Likewise.
27670         * soft-fp/floattidf.c: Likewise.
27671         * soft-fp/floattisf.c: Likewise.
27672         * soft-fp/floattitf.c: Likewise.
27673         * soft-fp/floatundidf.c: Likewise.
27674         * soft-fp/floatundisf.c: Likewise.
27675         * soft-fp/floatunditf.c: Likewise.
27676         * soft-fp/floatunsidf.c: Likewise.
27677         * soft-fp/floatunsisf.c: Likewise.
27678         * soft-fp/floatunsitf.c: Likewise.
27679         * soft-fp/floatuntidf.c: Likewise.
27680         * soft-fp/floatuntisf.c: Likewise.
27681         * soft-fp/floatuntitf.c: Likewise.
27682         * soft-fp/fmadf4.c: Likewise.
27683         * soft-fp/fmasf4.c: Likewise.
27684         * soft-fp/fmatf4.c: Likewise.
27685         * soft-fp/gedf2.c: Likewise.
27686         * soft-fp/gesf2.c: Likewise.
27687         * soft-fp/getf2.c: Likewise.
27688         * soft-fp/ledf2.c: Likewise.
27689         * soft-fp/lesf2.c: Likewise.
27690         * soft-fp/letf2.c: Likewise.
27691         * soft-fp/muldf3.c: Likewise.
27692         * soft-fp/mulsf3.c: Likewise.
27693         * soft-fp/multf3.c: Likewise.
27694         * soft-fp/negdf2.c: Likewise.
27695         * soft-fp/negsf2.c: Likewise.
27696         * soft-fp/negtf2.c: Likewise.
27697         * soft-fp/op-1.h: Likewise.
27698         * soft-fp/op-2.h: Likewise.
27699         * soft-fp/op-4.h: Likewise.
27700         * soft-fp/op-8.h: Likewise.
27701         * soft-fp/op-common.h: Likewise.
27702         * soft-fp/quad.h: Likewise.
27703         * soft-fp/single.h: Likewise.
27704         * soft-fp/soft-fp.h: Likewise.
27705         * soft-fp/sqrtdf2.c: Likewise.
27706         * soft-fp/sqrtsf2.c: Likewise.
27707         * soft-fp/sqrttf2.c: Likewise.
27708         * soft-fp/subdf3.c: Likewise.
27709         * soft-fp/subsf3.c: Likewise.
27710         * soft-fp/subtf3.c: Likewise.
27711         * soft-fp/truncdfsf2.c: Likewise.
27712         * soft-fp/trunctfdf2.c: Likewise.
27713         * soft-fp/trunctfsf2.c: Likewise.
27714         * soft-fp/trunctfxf2.c: Likewise.
27715         * soft-fp/unorddf2.c: Likewise.
27716         * soft-fp/unordsf2.c: Likewise.
27717         * soft-fp/unordtf2.c: Likewise.
27719 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27721         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27722         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27724 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27726         * elf/dl-libc.c: Clear initfini list after freeing.
27728 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27730         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27731         * soft-fp/addsf3.c: Likewise.
27732         * soft-fp/addtf3.c: Likewise.
27733         * soft-fp/divdf3.c: Likewise.
27734         * soft-fp/divsf3.c: Likewise.
27735         * soft-fp/divtf3.c: Likewise.
27736         * soft-fp/double.h: Likewise.
27737         * soft-fp/eqdf2.c: Likewise.
27738         * soft-fp/eqsf2.c: Likewise.
27739         * soft-fp/eqtf2.c: Likewise.
27740         * soft-fp/extenddftf2.c: Likewise.
27741         * soft-fp/extended.h: Likewise.
27742         * soft-fp/extendsfdf2.c: Likewise.
27743         * soft-fp/extendsftf2.c: Likewise.
27744         * soft-fp/extendxftf2.c: Likewise.
27745         * soft-fp/fixdfdi.c: Likewise.
27746         * soft-fp/fixdfsi.c: Likewise.
27747         * soft-fp/fixdfti.c: Likewise.
27748         * soft-fp/fixsfdi.c: Likewise.
27749         * soft-fp/fixsfsi.c: Likewise.
27750         * soft-fp/fixsfti.c: Likewise.
27751         * soft-fp/fixtfdi.c: Likewise.
27752         * soft-fp/fixtfsi.c: Likewise.
27753         * soft-fp/fixtfti.c: Likewise.
27754         * soft-fp/fixunsdfdi.c: Likewise.
27755         * soft-fp/fixunsdfsi.c: Likewise.
27756         * soft-fp/fixunsdfti.c: Likewise.
27757         * soft-fp/fixunssfdi.c: Likewise.
27758         * soft-fp/fixunssfsi.c: Likewise.
27759         * soft-fp/fixunssfti.c: Likewise.
27760         * soft-fp/fixunstfdi.c: Likewise.
27761         * soft-fp/fixunstfsi.c: Likewise.
27762         * soft-fp/fixunstfti.c: Likewise.
27763         * soft-fp/floatdidf.c: Likewise.
27764         * soft-fp/floatdisf.c: Likewise.
27765         * soft-fp/floatditf.c: Likewise.
27766         * soft-fp/floatsidf.c: Likewise.
27767         * soft-fp/floatsisf.c: Likewise.
27768         * soft-fp/floatsitf.c: Likewise.
27769         * soft-fp/floattidf.c: Likewise.
27770         * soft-fp/floattisf.c: Likewise.
27771         * soft-fp/floattitf.c: Likewise.
27772         * soft-fp/floatundidf.c: Likewise.
27773         * soft-fp/floatundisf.c: Likewise.
27774         * soft-fp/floatunsidf.c: Likewise.
27775         * soft-fp/floatunsisf.c: Likewise.
27776         * soft-fp/floatuntidf.c: Likewise.
27777         * soft-fp/floatuntisf.c: Likewise.
27778         * soft-fp/floatuntitf.c: Likewise.
27779         * soft-fp/fmadf4.c: Likewise.
27780         * soft-fp/fmasf4.c: Likewise.
27781         * soft-fp/fmatf4.c: Likewise.
27782         * soft-fp/gedf2.c: Likewise.
27783         * soft-fp/gesf2.c: Likewise.
27784         * soft-fp/getf2.c: Likewise.
27785         * soft-fp/ledf2.c: Likewise.
27786         * soft-fp/lesf2.c: Likewise.
27787         * soft-fp/letf2.c: Likewise.
27788         * soft-fp/muldf3.c: Likewise.
27789         * soft-fp/mulsf3.c: Likewise.
27790         * soft-fp/multf3.c: Likewise.
27791         * soft-fp/negdf2.c: Likewise.
27792         * soft-fp/negsf2.c: Likewise.
27793         * soft-fp/negtf2.c: Likewise.
27794         * soft-fp/op-1.h: Likewise.
27795         * soft-fp/op-2.h: Likewise.
27796         * soft-fp/op-4.h: Likewise.
27797         * soft-fp/op-8.h: Likewise.
27798         * soft-fp/op-common.h: Likewise.
27799         * soft-fp/quad.h: Likewise.
27800         * soft-fp/single.h: Likewise.
27801         * soft-fp/soft-fp.h: Likewise.
27802         * soft-fp/sqrtdf2.c: Likewise.
27803         * soft-fp/sqrtsf2.c: Likewise.
27804         * soft-fp/sqrttf2.c: Likewise.
27805         * soft-fp/subdf3.c: Likewise.
27806         * soft-fp/subsf3.c: Likewise.
27807         * soft-fp/subtf3.c: Likewise.
27808         * soft-fp/truncdfsf2.c: Likewise.
27809         * soft-fp/trunctfdf2.c: Likewise.
27810         * soft-fp/trunctfsf2.c: Likewise.
27811         * soft-fp/trunctfxf2.c: Likewise.
27812         * soft-fp/unorddf2.c: Likewise.
27813         * soft-fp/unordsf2.c: Likewise.
27814         * soft-fp/unordtf2.c: Likewise.
27816 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27818         [BZ #15672]
27819         * misc/error.c (error_tail): Fix possible buffer overflow.
27821 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27823         [BZ #13028]
27824         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27825         address.
27827 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27829         [BZ #832]
27830         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27831         testing pipefail option.
27833 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27835         * soft-fp/double.h: Indent preprocessor directives inside #if.
27836         * soft-fp/extended.h: Likewise.
27837         * soft-fp/op-2.h: Likewise.
27838         * soft-fp/op-4.h: Likewise.
27839         * soft-fp/op-common.h: Likewise.
27840         * soft-fp/quad.h: Likewise.
27841         * soft-fp/single.h: Likewise.
27842         * soft-fp/soft-fp.h: Likewise.
27844 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27846         * iconv/iconv_prog.c: Fix typos.
27847         * stdio-common/psiginfo-data.h: Likewise.
27849 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27851         [BZ #15764]
27852         * locale/setlocale.c: Fix typo.
27854 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27856         [BZ #16036]
27857         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27858         signaling NaN arguments.
27859         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27860         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27862         [BZ #14910]
27863         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27864         unordered operands.
27865         * soft-fp/gesf2.c (__gesf2): Likewise.
27866         * soft-fp/getf2.c (__getf2): Likewise.
27867         * soft-fp/ledf2.c (__ledf2): Likewise.
27868         * soft-fp/lesf2.c (__lesf2): Likewise.
27869         * soft-fp/letf2.c (__letf2): Likewise.
27871         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27872         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27873         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27874         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27875         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27876         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27877         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27878         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27879         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27880         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27881         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27882         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27883         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27884         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27885         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27886         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27887         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27888         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27889         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27890         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27891         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27892         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27893         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27894         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27895         * soft-fp/floattidf.c (__floattidf): Likewise.
27896         * soft-fp/floattisf.c (__floattisf): Likewise.
27897         * soft-fp/floattitf.c (__floattitf): Likewise.
27898         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27899         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27900         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27901         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27902         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27903         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27904         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27905         * soft-fp/gesf2.c (__gesf2): Likewise.
27906         * soft-fp/getf2.c (__getf2): Likewise.
27907         * soft-fp/ledf2.c (__ledf2): Likewise.
27908         * soft-fp/lesf2.c (__lesf2): Likewise.
27909         * soft-fp/letf2.c (__letf2): Likewise.
27911         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27912         Undefine and redefine.
27913         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27914         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27915         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27916         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27917         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27918         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27919         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27920         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27921         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27922         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27923         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27924         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27925         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27926         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27927         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27929         [BZ #16032]
27930         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27931         without decrementing exponent if mantissa >= that for the
27932         denominator, not >.
27933         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27934         denominator, not >.  Decrement exponent in < case instead of
27935         incrementing in >= case.
27936         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27937         without decrementing exponent if mantissa >= that for the
27938         denominator, not >.
27940         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27941         computing saturated result for unsigned overflow.
27943 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27944             Jeff Law  <law@redhat.com>
27946         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27947         (atan2Mp): Add systemtap probe marker.
27948         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27949         (__ieee754_log): Add systemtap probe marker.
27950         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27951         (atanMp): Add systemtap probe marker.
27952         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27953         (tanMp): Add systemtap probe marker.
27954         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27955         (__slowexp): Add systemtap probe marker.
27956         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27957         (__slowpow): Add systemtap probe marker.
27958         * manual/probes.texi: Document probes.
27960 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27962         [BZ #15362]
27963         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27964         written.
27965         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27966         written.
27967         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27968         written to buffer but not flushed.
27969         * libio/iofwrite_u.c:  Likewise.
27970         * libio/iopadn.c:  Return bytes returned even if EOF was
27971         encountered.
27972         * libio/iowpadn.c:  Likewise.
27973         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27974         if _IO_padn does not write the whole buffer.
27975         [!COMPILE_WPRINTF] (PAD): Likewise.
27977 2013-10-10  David S. Miller  <davem@davemloft.net>
27979         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27980         directory block.
27982 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27984         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27985         instead of FSF address.
27986         * soft-fp/fixdfti.c: Likewise.
27987         * soft-fp/fixsfti.c: Likewise.
27988         * soft-fp/fixtfti.c: Likewise.
27989         * soft-fp/fixunsdfti.c: Likewise.
27990         * soft-fp/fixunssfti.c: Likewise.
27991         * soft-fp/fixunstfti.c: Likewise.
27992         * soft-fp/floattidf.c: Likewise.
27993         * soft-fp/floattisf.c: Likewise.
27994         * soft-fp/floattitf.c: Likewise.
27995         * soft-fp/floatuntidf.c: Likewise.
27996         * soft-fp/floatuntisf.c: Likewise.
27997         * soft-fp/floatuntitf.c: Likewise.
27998         * soft-fp/trunctfxf2.c: Likewise.
28000         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28001         * soft-fp/fixdfti.c: Likewise.
28002         * soft-fp/fixsfti.c: Likewise.
28003         * soft-fp/fixtfti.c: Likewise.
28004         * soft-fp/fixunsdfti.c: Likewise.
28005         * soft-fp/fixunssfti.c: Likewise.
28006         * soft-fp/fixunstfti.c: Likewise.
28007         * soft-fp/floattidf.c: Likewise.
28008         * soft-fp/floattisf.c: Likewise.
28009         * soft-fp/floattitf.c: Likewise.
28010         * soft-fp/floatuntidf.c: Likewise.
28011         * soft-fp/floatuntisf.c: Likewise.
28012         * soft-fp/floatuntitf.c: Likewise.
28013         * soft-fp/trunctfxf2.c: Likewise.
28015 2013-10-10  David S. Miller  <davem@davemloft.net>
28017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28019 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28021         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28022         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28023         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28024         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28025         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28026         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28027         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28029         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28030         for NaNs before doing comparisons on argument.
28031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28032         Likewise.
28034 2013-10-10  Will Newton  <will.newton@linaro.org>
28036         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28037         passed to _int_memalign does not overflow.
28039 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28041         * scripts/bench.pl: Add include-sources directive.
28042         * benchtests/README: Update documentation.
28044 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28046         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28047         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28048         instead of FP_INIT_ROUNDMODE.
28049         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28050         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28052         [BZ #16034]
28053         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28054         copy class of input value.
28055         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28056         not handle exceptions.
28057         * soft-fp/negsf2.c (__negsf2): Likewise.
28058         * soft-fp/negtf2.c (__negtf2): Likewise.
28059         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28061 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28063         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28064         semicolon.  From Linux kernel.
28066 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28068         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28070 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28072         [BZ #156]
28073         * manual/socket.texi: Added statement about buffer
28074         for gethostbyname2_r.
28076 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28078         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28079         Use .p2align directive instead, throughout.
28080         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28081         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28082         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28083         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28084         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28085         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28086         * sysdeps/x86_64/strchr.S: Likewise.
28087         * sysdeps/x86_64/strrchr.S: Likewise.
28089 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28091         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28093         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28095         * sysdeps/generic/math_private.h (__mpsin1): Remove
28096         declaration.
28097         (__mpcos1): Likewise.
28098         (__mpsin): New argument __range_reduce.
28099         (__mpcos): Likewise.
28100         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28101         (slow): Use __mpsin and __mpcos.
28102         (slow1): Likewise.
28103         (slow2): Likewise.
28104         (sloww): Likewise.
28105         (sloww1): Likewise.
28106         (sloww2): Likewise.
28107         (bsloww): Likewise.
28108         (bsloww1): Likewise.
28109         (bsloww2): Likewise.
28110         (cslow2): Likewise.
28111         (csloww): Likewise.
28112         (csloww1): Likewise.
28113         (csloww2): Likewise.
28114         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28115         range_reduce.  Merge in __mpsin1.
28116         (__mpcos): Likewise.
28117         (__mpsin1): Remove.
28118         (__mpcos1): Likewise.
28120 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28122         * locale/loadlocale.c (_nl_intern_locale_data): Use
28123         LOCFILE_ALIGNED_P.
28124         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28125         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28126         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28127         obstack data is appropriately aligned.
28128         (obstack_int32_grow_fast): Likewise.
28129         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28130         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28131         (add_locale_uint32_array): Likewise.
28133 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28135         * benchtests/Makefile: Remove ARGLIST and RET variables.
28136         ($(objpfx)bench-%.c): Pass only function name to the script.
28137         * benchtests/README: Update documentation.
28138         * benchtests/acos-inputs: Add new directives.
28139         * benchtests/acosh-inputs: Likewise.
28140         * benchtests/asin-inputs: Likewise.
28141         * benchtests/asinh-inputs: Likewise.
28142         * benchtests/atan-inputs: Likewise.
28143         * benchtests/atanh-inputs: Likewise.
28144         * benchtests/cos-inputs: Likewise.
28145         * benchtests/cosh-inputs: Likewise.
28146         * benchtests/exp-inputs: Likewise.
28147         * benchtests/log-inputs: Likewise.
28148         * benchtests/pow-inputs: Likewise.
28149         * benchtests/rint-inputs: Likewise.
28150         * benchtests/sin-inputs: Likewise.
28151         * benchtests/sinh-inputs: Likewise.
28152         * benchtests/tan-inputs: Likewise.
28153         * benchtests/tanh-inputs: Likewise.
28154         * scripts/bench.pl: Add support for new directives.
28156 2013-10-07  Alan Modra  <amodra@gmail.com>
28158         * README: Fix careless merge.
28160 2013-10-05  Alan Modra  <amodra@gmail.com>
28162         * NEWS: Mention powerpc64le support and bugs fixed.
28163         * README: Both big-endian and little-endian powerpc64 supported.
28165 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28167         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28168         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28169         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28170         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28172 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28174         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28175         match prototype.
28177 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28179         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28180         Move -mhard-float appending from
28181         ports/sysdeps/powerpc/powerpc32/Makefile.
28182         [$(with-fp) = yes] (ASFLAGS): Likewise.
28183         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28184         * sysdeps/powerpc/nofpu: Move directory from
28185         ports/sysdeps/powerpc/nofpu.
28186         * sysdeps/powerpc/soft-fp: Move directory from
28187         ports/sysdeps/powerpc/soft-fp.
28188         * sysdeps/powerpc/powerpc32/405: Move directory from
28189         ports/sysdeps/powerpc/powerpc32/405.
28190         * sysdeps/powerpc/powerpc32/440: Move directory from
28191         ports/sysdeps/powerpc/powerpc32/440.
28192         * sysdeps/powerpc/powerpc32/464: Move directory from
28193         ports/sysdeps/powerpc/powerpc32/464.
28194         * sysdeps/powerpc/powerpc32/476: Move directory from
28195         ports/sysdeps/powerpc/powerpc32/476.
28196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28197         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28199         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28201         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28203         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28205         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28206         * README: Update for powerpc-*-linux-gnu software floating point
28207         support in libc.
28209         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28210         case to powerpc/powerpc32*.
28211         * sysdeps/unix/sysv/linux/configure: Regenerated.
28213         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28214         (_FPU_MASK_OM): Define as 0x04.
28215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28217         0x00c10080.
28218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28219         0x0000003c.
28220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28223         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28224         getcontext_e500.
28225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28226         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28227         setcontext_e500.
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28229         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28230         and setcontext_e500.
28232 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28234         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28236 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28238         * manual/threads.texi (Default Thread Attributes): Fix typo.
28240 2013-10-04  Will Newton  <will.newton@linaro.org>
28242         * malloc/Makefile: Add tst-memalign.
28243         * malloc/tst-memalign.c: New file.
28245         * malloc/tst-posix_memalign.c: Add comments.
28246         (do_test): Add comments and call free on all potentially
28247         allocated pointers. Add space after cast.
28249         * malloc/tst-pvalloc.c: Add comments.
28250         (do_test): Add comments and call free on all potentially
28251         allocated pointers. Remove duplicate check for NULL pointer.
28252         Add space after cast.
28254         * malloc/tst-valloc.c: Add comments.
28255         (do_test): Add comments and call free on all potentially
28256         allocated pointers. Remove duplicate check for NULL pointer.
28257         Add space after cast.
28259 2013-10-04  Alan Modra  <amodra@gmail.com>
28261         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28262         Use stdint types in rather than __attribute__((mode())).
28263         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28265 2013-10-04  Alan Modra  <amodra@gmail.com>
28267         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28268         Correct handling of unaligned relocs for little-endian.
28269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28271 2013-10-04  Alan Modra  <amodra@gmail.com>
28273         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28274         * configure: Regenerate.
28275         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28276         * shlib-versions: Likewise.
28278 2013-10-04  Alan Modra  <amodra@gmail.com>
28280         * string/tester.c (test_memrchr): Increment reported test cycle.
28282 2013-10-04  Alan Modra  <amodra@gmail.com>
28284         * string/test-memcpy.c (do_one_test): When reporting errors, print
28285         string address and don't overrun end of string.
28287 2013-10-04  Alan Modra  <amodra@gmail.com>
28289         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28290         insrdi.  Make better use of reg selection to speed exit slightly.
28291         Schedule entry path a little better.  Remove useless "are we done"
28292         checks on entry to main loop.  Handle wrapping around zero address.
28293         Correct main loop count.  Handle single left-over word from main
28294         loop inline rather than by using loop_small.  Remove extra word
28295         case in loop_small caused by wrong loop count.  Add little-endian
28296         support.
28297         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28298         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28299         cache hint.
28300         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28301         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28302         support.  Avoid rlwimi.
28303         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28305 2013-10-04  Alan Modra  <amodra@gmail.com>
28307         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28308         insrdi.  Formatting.
28309         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28310         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28311         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28312         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28313         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28314         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28316 2013-10-04  Alan Modra  <amodra@gmail.com>
28318         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28319         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28320         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28321         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28322         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28323         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28324         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28325         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28326         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28327         use of regs.  Use power7 mtocrf.  Tidy function tails.
28329 2013-10-04  Alan Modra  <amodra@gmail.com>
28331         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28332         Formatting.  Consistently use rXXX register defines or rN defines.
28333         Use early exit labels that avoid restoring unused non-volatile regs.
28334         Make cr field use more consistent with rWORDn compares.  Rename
28335         regs used as shift registers for unaligned loop, using rN defines
28336         for short lifetime/multiple use regs.
28337         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28338         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28339         addi 1,1,64 to pop stack frame.  Simplify return value code.
28340         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28342 2013-10-04  Alan Modra  <amodra@gmail.com>
28344         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28345         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28346         rather than rlwimi.
28347         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28348         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28349         little-endian support.  Correct typos.
28350         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28351         rather than rlwimi.
28352         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28353         in loop and entry code to keep "and." results.
28354         (strchr): Add little-endian support.  Comment.  Move cntlzd
28355         earlier in tail.
28356         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28358 2013-10-04  Alan Modra  <amodra@gmail.com>
28360         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28361         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28362         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28363         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28365 2013-10-04  Alan Modra  <amodra@gmail.com>
28367         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28368         (rTMP): Define as r11.
28369         (strcmp): Add little-endian support.  Optimise tail.
28370         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28371         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28372         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28373         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28374         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28375         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28376         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28378 2013-10-04  Alan Modra  <amodra@gmail.com>
28380         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28381         little-endian support.  Remove unnecessary "are we done" tests.
28382         Handle "s" wrapping around zero and extremely large "size".
28383         Correct main loop count.  Handle single left-over word from main
28384         loop inline rather than by using small_loop.  Correct comments.
28385         Delete "zero" tail, use "end_max" instead.
28386         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28388 2013-10-04  Alan Modra  <amodra@gmail.com>
28390         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28391         support.  Don't branch over align.
28392         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28393         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28394         support.  Rearrange tmp reg use to suit.  Comment.
28395         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28397 2013-10-04  Alan Modra  <amodra@gmail.com>
28399         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28401 2013-10-04  Alan Modra  <amodra@gmail.com>
28403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28404         conditional form of branch and link when obtaining pc.
28405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28407 2013-10-04  Alan Modra  <amodra@gmail.com>
28409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28410         HIWORD/LOWORD.
28411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28414 2013-10-04  Alan Modra  <amodra@gmail.com>
28416         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28417         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28418         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28419         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28420         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28421         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28422         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28423         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28424         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28425         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28427 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28428             Alistair Popple <alistair@ozlabs.au.ibm.com>
28429             Alan Modra <amodra@gmail.com>
28431         [BZ #15723]
28432         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28433         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28434         _dl_hwcap access for little-endian.
28435         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28436         destroy vmx regs when saving unaligned.
28437         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28438         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28439         destroy vmx regs when saving unaligned.
28441 2013-10-04  Alan Modra  <amodra@gmail.com>
28443         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28444         Don't use a union to pack hi/low value.
28446 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28448         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28449         for little-endian.
28450         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28451         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28452         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28453         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28454         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28456 2013-10-04  Alan Modra  <amodra@gmail.com>
28458         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28459         constants to usual value for .cst8 section, and remove redundant
28460         high address load.
28461         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28462         constant for 0x1p52.  Load little-endian words of double from
28463         correct stack offsets.
28465 2013-10-04  Alan Modra  <amodra@gmail.com>
28467         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28468         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28469         words of double from correct stack offsets.
28470         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28471         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28472         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28473         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28474         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28475         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28476         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28477         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28478         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28479         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28480         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28481         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28482         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28483         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28484         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28485         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28486         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28488 2013-10-04  Alan Modra  <amodra@gmail.com>
28490         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28491         64-bit int/double union.
28492         (_FPU_SETCW): Likewise.
28493         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28494         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28496 2013-10-04  Alan Modra  <amodra@gmail.com>
28498         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28499         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28501 2013-10-04  Alan Modra  <amodra@gmail.com>
28503         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28504         use vector int constants.
28505         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28507 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28509         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28510         array with long long.
28511         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28512         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28513         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28514         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28515         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28516         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28517         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28518         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28519         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28520         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28521         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28522         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28523         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28525 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28527         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28528         (__signbit): Likewise.  Correct for little-endian.
28529         (__signbitl): Call __signbit.
28530         (lrint): Correct for little-endian.
28531         (lrintf): Call lrint.
28533 2013-10-04  Alan Modra  <amodra@gmail.com>
28535         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28536         union 32-bit int array member with 64-bit int array.
28537         (t515, tm256): Double rather than long double.
28538         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28540 2013-10-04  Alan Modra  <amodra@gmail.com>
28542         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28543         Delete.
28544         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28545         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28546         version of math_ldbl.h.
28548 2013-10-04  Alan Modra  <amodra@gmail.com>
28550         [BZ #15734], [BZ #15735]
28551         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28552         all uses of ieee875 long double macros and unions.  Simplify test
28553         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28554         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28555         normalize after ldbl_extract_mantissa, and don't add hidden bit
28556         already handled.  Don't treat low word of ieee854 mantissa like
28557         low word of IBM long double and mask off bit when testing for
28558         zero.
28559         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28560         all uses of ieee875 long double macros and unions.  Simplify tests
28561         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28562         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28563         two1022, instead use their values.  Recognise that tests for large
28564         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28565         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28566         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28567         test for 0.0L and nan.  Correct negation.
28568         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28569         ieee875 long double macros and unions.  Correct output for large
28570         magnitude x.  Correct absolute value calculation.
28571         (__erfcl): Likewise.
28572         * math/libm-test.inc: Add tests for errors discovered in IBM long
28573         double versions of fmodl, remainderl, erfl and erfcl.
28575 2013-10-04  Alan Modra  <amodra@gmail.com>
28577         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28578         all uses of ieee854 long double macros and unions.  Simplify tests
28579         for long doubles that are fully specified by the high double.
28580         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28581         Likewise.
28582         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28583         Remove dead code too.
28584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28585         (__ieee754_ynl): Likewise.
28586         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28587         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28588         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28589         Remove dead code too.
28590         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28591         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28592         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28593         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28594         Simplify.
28595         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28596         Simplify.
28597         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28598         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28599         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28600         Comment on variable precision.
28601         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28602         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28603         Likewise.
28604         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28605         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28606         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28607         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28608         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28610 2013-10-04  Alan Modra  <amodra@gmail.com>
28612         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28613         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28614         all uses of ieee854 long double macros and unions.
28615         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28617         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28620         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28621         Likewise.
28622         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28623         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28625         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28627         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28628         Simplify sign and nan test too.
28629         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28631         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28633         Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28636         Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28639         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28640         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28641         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28642         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28644 2013-10-04  Alan Modra  <amodra@gmail.com>
28646         * stdio-common/printf_size.c (__printf_size): Don't use
28647         union ieee854_long_double in fpnum union.
28648         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28649         signbit macro to retrieve sign from long double.
28650         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28651         retrieve sign from long double.
28652         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28653         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28654         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28655         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28656         * math/test-misc.c (main): Don't use union ieee854_long_double.
28658 2013-10-04  Alan Modra  <amodra@gmail.com>
28660         [BZ #15680]
28661         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28662         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28663         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28664         calculation.  Remove unnecessary test for denormal exponent.
28665         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28666         Correct handling of denormals.  Avoid undefined shift behaviour.
28667         Correct normalisation of low mantissa when low double is denormal.
28668         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28669         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28670         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28671         Correct normalisation of low mantissa.  Test for overflow of high
28672         mantissa and normalise.
28673         (ldbl_nearbyint): Use more readable constant for two52.
28674         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28675         (__mpn_construct_long_double): Fix test for overflow of high
28676         mantissa and correct normalisation.  Avoid undefined shift.
28678 2013-10-04  Alan Modra  <amodra@gmail.com>
28680         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28681         (union ibm_extended_long_double): Define as an array of ieee754_double.
28682         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28683         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28684         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28685         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28686         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28687         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28689         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28690         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28691         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28692         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28694 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28696         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28697         page size instead of calling getpagesize.
28699         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28700         (LOCFILE_ALIGN_MASK): Likewise.
28701         (LOCFILE_ALIGN_UP): Likewise.
28702         (LOCFILE_ALIGNED_P): Likewise.
28703         * locale/programs/ld-collate.c (collate_output): Use the new
28704         macros instead of __alignof__ (int32_t).
28705         * locale/weight.h (findidx): Likewise.
28707 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28709         [BZ #431]
28710         * manual/string.texi: Fix strncat and wcsncat.
28712 2013-10-03  Brooks Moses  <bmoses@google.com>
28714         [BZ #15915]
28715         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28716         * Makerules: ...here, and adjust associated comments.
28718 2013-10-02  Will Newton  <will.newton@linaro.org>
28720         * malloc/Makefile: Add tst-pvalloc.
28721         * malloc/tst-pvalloc.c: New file.
28723 2013-10-02  Will Newton  <will.newton@linaro.org>
28725         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28726         improve test coverage.
28728 2013-10-02  Will Newton  <will.newton@linaro.org>
28730         * malloc/Makefile: Add tst-posix_memalign.
28731         * malloc/tst-posix_memalign.c: New file.
28733 2013-10-01  Eric Blake  <eblake@redhat.com>
28735         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28736         Use __THROWNL rather than __THROW on static functions.
28738 2013-09-30  Petr Machata  <pmachata@redhat.com>
28740         * elf/elf.h (R_AARCH64_ABS16): New macro.
28741         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28742         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28743         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28744         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28745         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28746         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28747         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28748         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28749         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28750         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28751         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28752         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28753         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28754         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28755         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28756         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28757         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28758         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28759         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28760         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28761         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28762         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28763         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28764         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28765         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28766         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28767         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28768         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28769         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28770         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28771         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28772         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28773         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28774         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28775         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28776         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28777         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28778         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28779         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28780         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28781         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28782         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28783         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28784         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28785         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28786         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28787         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28788         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28789         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28790         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28791         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28792         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28793         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28794         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28795         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28796         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28797         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28798         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28799         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28800         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28801         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28802         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28803         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28804         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28805         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28806         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28807         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28808         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28809         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28810         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28811         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28812         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28813         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28814         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28815         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28816         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28817         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28818         (R_AARCH64_TLSDESC_LDR): Likewise.
28819         (R_AARCH64_TLSDESC_ADD): Likewise.
28820         (R_AARCH64_TLSDESC_CALL): Likewise.
28822 2013-09-30  Andreas Schwab  <schwab@suse.de>
28824         [BZ #15048]
28825         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28826         the nss database lookup.
28827         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28830 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28832         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28834 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28836         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28837         ${Bash-specific parameter/pattern/string} parameter expansion.
28838         * sysdeps/unix/make-syscalls.sh: Likewise.
28840 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28842         * sysdeps/sh/stackguard-macros.h: New file.
28844 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28848         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28849         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28850         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28851         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28853 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28855         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28856         Fix thread ID register.
28858 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28860         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28861         [POSIX || UNIX98]: Require rather than permitting all symbols from
28862         <time.h>.
28863         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28864         element of struct sched_param.
28865         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28866         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28867         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28868         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28869         constant.
28871 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28873         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28874         argument calculation.
28876 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28878         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28879         Expect macro.
28880         [POSIX] (pthread_attr_t): Do not require type.
28881         [POSIX] (pthread_cond_t): Likewise.
28882         [POSIX] (pthread_condattr_t): Likewise.
28883         [POSIX] (pthread_key_t): Likewise.
28884         [POSIX] (pthread_mutex_t): Likewise.
28885         [POSIX] (pthread_mutexattr_t): Likewise.
28886         [POSIX] (pthread_once_t): Likewise.
28887         [POSIX] (pthread_t): Likewise.
28888         [POSIX-based standards] (pthread_atfork): Expect function.
28890 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28891             Richard Sandiford  <richard@codesourcery.com>
28893         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28894         (swap_endianness_p): New extern variable.
28895         (set_big_endian): New inline function.
28896         (maybe_swap_uint32): Likewise.
28897         (maybe_swap_uint32_array): Likewise.
28898         (maybe_swap_uint32_obstack): Likewise.
28899         * locale/programs/locfile.c: Include <stdbool.h>.
28900         (swap_endianness_p): New variable.
28901         (add_locale_uint32): Call maybe_swap_uint32.
28902         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28903         (write_locale_data): Call maybe_swap_uint32_array.
28904         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28905         maybe_swap_uint32.
28906         (obstack_int32_grow_fast): Likewise.
28907         (output_weightwc): Call maybe_swap_uint32_obstack.
28908         (collate_output): Likewise.
28909         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28910         (OPT_LITTLE_ENDIAN): Likewise.
28911         (options): Add --little-endian and --big-endian options.
28912         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28913         * locale/programs/locarchive.c: Include "locfile.h".
28914         (GET): New macro.
28915         (SET): Likewise.
28916         (INC): Likewise.
28917         (create_archive): Use the new macros to access fields of
28918         structures directly mapped from or written to locale archives.
28919         (oldlocrecentcmp): Likewise.
28920         (enlarge_archive): Likewise.
28921         (insert_name): Likewise.
28922         (add_alias): Likewise.
28923         (add_locale): Likewise.
28924         (delete_locales_from_archive): Likewise.
28925         (show_archive_content): Likewise.
28926         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28927         locale data.
28929 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28931         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28932         http://www.gnu.org/doc/freemanuals.texi.
28933         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28935 2013-09-24  Will Newton  <will.newton@linaro.org>
28937         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28938         macro.
28940 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28942         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28943         unsigned char.
28945 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28947         * manual/threads.texi (POSIX Threads): Fix a typo.
28949 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28951         [BZ #14547]
28952         * string/tst-strcoll-overflow.c: New test case.
28953         * string/Makefile (xtests): Add tst-strcoll-overflow.
28954         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28955         cache if string sizes may cause integer overflow.
28957         [BZ #14547]
28958         * string/strcoll_l.c (coll_seq): New members rule, idx,
28959         save_idx and back_us.
28960         (get_next_seq_nocache): New function.
28961         (do_compare_nocache): New function.
28962         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28963         when malloc fails.
28965 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28967         [BZ #15754]
28968         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28969         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28970         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28972         [BZ #15754]
28973         * elf/Makefile (tests): Add tst-ptrguard1.
28974         (tests-static): Add tst-ptrguard1-static.
28975         (tst-ptrguard1-ARGS): Define.
28976         (tst-ptrguard1-static-ARGS): Define.
28977         * elf/tst-ptrguard1.c: New file.
28978         * elf/tst-ptrguard1-static.c: New file.
28979         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28980         * sysdeps/i386/stackguard-macros.h: Likewise.
28981         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28982         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28983         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28984         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28985         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28986         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28988 2013-09-23  Hector Marco  <hecmargi@upv.es>
28989             Ismael Ripoll  <iripoll@disca.upv.es>
28990             Carlos O'Donell  <carlos@redhat.com>
28992         [BZ #15754]
28993         * sysdeps/generic/stackguard-macros.h: Define
28994         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28995         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28996         Define __pointer_chk_guard_local.
28997         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28998         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29000 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29002         [BZ #15859]
29003         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29005 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29007         * include/string.h (__ffs): Declare as hidden.
29008         * string/ffs.c (__ffs): Define as hidden.
29009         * sysdeps/i386/ffs.c (__ffs): Likewise.
29010         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29011         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29012         * sysdeps/s390/ffs.c (__ffs): Likewise.
29013         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29015 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29017         * NEWS: Mention malloc probes.
29019         * malloc/arena.c (new_heap): New memory_heap_new probe.
29020         (grow_heap): New memory_heap_more probe.
29021         (shrink_heap): New memory_heap_less probe.
29022         (heap_trim): New memory_heap_free probe.
29023         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29024         (systrim): New memory_sbrk_less probe.
29025         * manual/probes.texi: Document them.
29027         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29028         * manual/probes.texi: Document it.
29030         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29031         (__libc_realloc): Add memory_realloc_retry probe.
29032         (__libc_memalign): Add memory_memalign_retry probe.
29033         (__libc_valloc): Add memory_valloc_retry probe.
29034         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29035         (__libc_calloc): Add memory_calloc_retry probe.
29036         * manual/probes.texi: Document them.
29038         * malloc/arena.c (get_free_list): Add probe
29039         memory_arena_reuse_free_list.
29040         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29041         and memory_arena_reuse.
29042         (arena_get2) [!PER_THREAD]: Likewise.
29043         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29044         memory_arena_reuse_realloc.
29045         * manual/probes.texi: Document them.
29047         * malloc/malloc.c (__libc_free): Add
29048         memory_mallopt_free_dyn_thresholds probe.
29049         (__libc_mallopt): Add multiple memory_mallopt probes.
29050         * manual/probes.texi: Document them.
29052         * malloc/malloc.c: Include stap-probe.h.
29053         (__libc_mallopt): Add memory_mallopt probe.
29054         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29055         * manual/probes.texi: New.
29056         * manual/Makefile (chapters): Add probes.
29057         * manual/threads.texi: Set next node.
29059 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29061         [BZ #15963, #13985]
29062         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29063         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29064         Add `Chinese' to `nan' entry name.
29066 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29068         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29069         (POLYNOMIAL): Likewise.
29070         (TAYLOR_SINCOS): Likewise.
29071         (TAYLOR_SLOW): Likewise.
29072         (__sin): Use TAYLOR_SINCOS.
29073         (__cos): Likewise.
29074         (slow): Use TAYLOR_SLOW.
29075         (sloww): Likewise.
29076         (bsloww): Likewise.
29077         (csloww): Likewise.
29079 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29081         * stdlib/strtod_l.c: Fix buffer overrun.
29083 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29085         * benchtests/Makefile (bench): Add sincos.
29086         * benchtests/bench-sincos.c: New file.
29088         * math/libm-test.inc (cos_test_data): New test inputs.
29089         (sin_test_data): Likewise.
29091         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29092         macro.
29093         (__sin): Use it.
29094         (__cos): Likewise.
29095         (slow1): Likewise.
29096         (slow2): Likewise.
29097         (sloww1): Likewise.
29098         (sloww2): Likewise.
29099         (bsloww1): Likewise.
29100         (bsloww2): Likewise.
29101         (cslow2): Likewise.
29102         (csloww1): Likewise.
29103         (csloww2): Likewise.
29105         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29106         function.
29107         (__sin): Use it.
29108         (__cos): Likewise.
29110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29111         gotos.
29112         (__cos): Likewise.
29114 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29116         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29117         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29118         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29119         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29120         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29121         * elf/cache.c (print_entry): Handle the new cache flags.
29123 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29124             Aldy Hernandez  <aldyh@redhat.com>
29126         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29127         Change condition to [_SOFT_FLOAT].
29128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29135         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29136         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29140         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29143         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29144         declaration.
29146 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29148         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29149         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29150         (__longjmp): Use LOAD_GP to load saved GPRs.
29151         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29152         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29153         (__sigsetjmp): Use SAVE_GP to save GPRs.
29155         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29156         Do not append -msoft-float.
29157         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29159 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29161         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29163 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29165         [BZ #15966]
29166         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29167         (_FPU_GETCW): Use initial "__" on variable and field names but not
29168         on macro parameter name.
29169         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29170         parentheses around reference to macro parameter.
29172 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29174         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29175         prototype.
29176         (ctype_startup): Use uint32_t in cast and sizeof for
29177         ctype->charnames.
29179 2013-09-11  Jia Liu  <proljc@gmail.com>
29181         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29182         __daddr_t_defined.
29183         [__FreeBSD__]: Likewise.
29185 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29188         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29189         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29190         (strchr): Remove __strchr_sse42 ifunc selection.
29191         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29192         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29194 2013-09-11  Will Newton  <will.newton@linaro.org>
29196         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29197         parameter to RES. Remove hardcoded 1000 value.
29198         * benchtests/bench-skeleton.c (main): Pass RES parameter
29199         to TIMING_INIT and multiply result by 1000.
29201 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29205 2013-09-11  Andreas Schwab  <schwab@suse.de>
29207         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29208         if not defined.
29209         (O_TMPFILE) [__USE_GNU]: Define.
29210         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29211         Define.
29213 2013-09-11  Will Newton  <will.newton@linaro.org>
29215         [BZ #15857]
29216         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29217         does not overflow.
29219 2013-09-11  Will Newton  <will.newton@linaro.org>
29221         [BZ #15856]
29222         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29223         does not overflow.
29225 2013-09-11  Will Newton  <will.newton@linaro.org>
29227         [BZ #15855]
29228         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29229         does not overflow.
29231 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29233         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29234         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29235         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29236         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29237         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29239 2013-09-10  Allan McRae  <allan@archlinux.org>
29241         [BZ #15748]
29242         * manual/arith.texi (Parsing of Floats): Clarify
29243         cross-reference.
29245         [BZ #15849]
29246         * manual/install.texi (Running make install): Mention
29247         --enable-pt-chown.
29248         * INSTALL: Regenerated.
29250 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29252         * csu/init-first.c (_init): Remove the !SHARED condition around
29253         FPU control word initialization.
29254         * elf/dl-support.c (_dl_fpu_control): New variable.
29255         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29256         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29257         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29258         * math/test-fpucw-static.c: New file.
29259         * math/test-fpucw-ieee.c: New file.
29260         * math/test-fpucw-ieee-static.c: New file.
29261         * math/Makefile (tests): Add `test-fpucw-ieee' and
29262         `$(tests-static)'.
29263         (tests-static): New variable.
29264         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29265         dependency to...
29266         [($(build-shared),yes)]
29267         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29268         ... this.
29269         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29270         New dependency.
29272 2013-09-09  Allan McRae  <allan@archlinux.org>
29274         [BZ #15939]
29275         * manual/string.texi (Collation Functions): Fix typo in
29276         strcoll example.
29277         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29279         [BZ #15893]
29280         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29282         [BZ #15892]
29283         * libio/memstream.c (open_memstream): Fix memory leak.
29284         * libio/wmemstream.c (open_wmemstream): Likewise.
29286         [BZ #15895]
29287         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29289 2013-09-09  Will Newton  <will.newton@linaro.org>
29291         * malloc/Makefile: Add tst-realloc to tests.
29292         * malloc/tst-realloc.c: New file.
29294 2013-09-09  Allan McRae  <allan@archlinux.org>
29296         [BZ #15844]
29297         * COPYING: Update from GNU website to fix FSF address.
29298         * COPYING.LIB: Likewise.
29300 2013-09-06  David S. Miller  <davem@davemloft.net>
29302         * po/zh_TW.po: Update Chinese (traditional) translation from
29303         translation project.
29305 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29306             Joseph Myers  <joseph@codesourcery.com>
29308         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29309         "localeinfo.h".
29310         (obstack_chunk_alloc): New macro.
29311         (obstack_chunk_free): Likewise.
29312         (record_offset): New function.
29313         (init_locale_data): Likewise.
29314         (align_locale_data): Likewise.
29315         (add_locale_empty): Likewise.
29316         (add_locale_raw_data): Likewise.
29317         (add_locale_raw_obstack): Likewise.
29318         (add_locale_string): Likewise.
29319         (add_locale_wstring): Likewise.
29320         (add_locale_uint32): Likewise.
29321         (add_locale_uint32_array): Likewise.
29322         (add_locale_char): Likewise.
29323         (start_locale_structure): Likewise.
29324         (end_locale_structure): Likewise.
29325         (start_locale_prelude): Likewise.
29326         (end_locale_prelude): Likewise.
29327         (write_locale_data): Take locale_file structure rather than an
29328         iovec.
29329         * locale/programs/locfile.h: Include "obstack.h".
29330         (struct locale_file): Change to store locale file contents instead
29331         of header.
29332         (init_locale_data): New prototype.
29333         (align_locale_data): Likewise.
29334         (add_locale_empty): Likewise.
29335         (add_locale_raw_data): Likewise.
29336         (add_locale_raw_obstack): Likewise.
29337         (add_locale_string): Likewise.
29338         (add_locale_wstring): Likewise.
29339         (add_locale_uint32): Likewise.
29340         (add_locale_uint32_array): Likewise.
29341         (add_locale_char): Likewise.
29342         (start_locale_structure): Likewise.
29343         (end_locale_structure): Likewise.
29344         (start_locale_prelude): Likewise.
29345         (end_locale_prelude): Likewise.
29346         (write_locale_data): Update prototype.
29347         * locale/programs/3level.h (struct TABLE): Remove result field.
29348         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29349         Use new locale_file interface.
29350         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29351         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29352         * locale/programs/ld-address.c (address_output): Use new
29353         locale_file interface.
29354         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29355         NO_ADD_LOCALE.
29356         (collate_finish): Don't call collseq_table_finalize.
29357         (collate_output): Use new locale_file interface.
29358         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29359         in file.
29360         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29361         (TABLE): Move defines earlier in file.
29362         (ELEMENT): Likewise.
29363         (DEFAULT): Likewise.
29364         (wctrans_table_add): Move macro and inline function earlier in
29365         file.
29366         (struct wctype_table): Move type earlier in file.
29367         (add_locale_wctype_table): New static prototype.
29368         (struct locale_ctype_t): Use logical types instead of struct iovec
29369         pointers for members.
29370         (ctype_output): Use new locale_file interface.
29371         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29372         new locale_file interface.
29373         (allocate_arrays): Update for use of new locale_file interface.
29374         * locale/programs/ld-identification.c (identification_output): Use
29375         new locale_file interface.
29376         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29377         * locale/programs/ld-messages.c (messages_output): Likewise.
29378         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29379         * locale/programs/ld-name.c (name_output): Likewise.
29380         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29381         * locale/programs/ld-paper.c (paper_output): Likewise.
29382         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29383         * locale/programs/ld-time.c (time_output): Likewise.
29385 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29387         * benchtests/Makefile: Add memrchr benchmark.
29388         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29389         benchmark as memrchr.
29390         * benchtests/bench-memrchr-ifunc.c: New file.
29391         * benchtests/bench-memrchr.c: New file.
29393 2013-09-06   Will Newton  <will.newton@linaro.org>
29395         * benchtests/Makefile (string-bench): Add memcpy.
29397 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29398             Cong Wang  <amwang@redhat.com>
29400         [BZ #15850]
29401         * sysdeps/unix/sysv/linux/bits/in.h
29402         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29403         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29404         before __USE_KERNEL_IPV6_DEFS uses.
29405         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29406         IPPROTO_BEETPH.
29407         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29408         sockaddr_in6, or ipv6_mreq.
29410 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29412         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29413         memory access for final bytes in some large inputs.
29414         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29416 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29418         * string/test-memrchr.c: New file.
29419         * string/test-memrchr-ifunc.c: New file.
29420         * string/Makefile: Add new memrchr testcase.
29422 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29424         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29425         fanotify_init returns EPERM.
29427 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29429         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29430         errors.
29431         (top level): Treat second token from macro or constant entries for
29432         allowed headers as allowed.
29433         * include/complex.h: Condition internal declarations on
29434         [!_ISOMAC].
29435         * include/fenv.h: Condition include of <stdbool.h> and internal
29436         declarations on [!_ISOMAC].
29438 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29440         [BZ #15923]
29441         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29443 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29445         * configure.in (--enable-versioning): Remove configure option.
29446         (libc_cv_asm_symver_directive): Remove configure test.
29447         (libc_cv_ld_version_script_option): Likewise.
29448         (VERSIONING): Remove variable and AC_SUBST.
29449         (DO_VERSIONING): Remove AC_DEFINE.
29450         * configure: Regenerated.
29451         * config.h.in (DO_VERSIONING): Remove macro.
29452         * Makerules [$(versioning) = yes]: Change conditionals to
29453         [$(build-shared) = yes].
29454         * config.make.in (versioning): Remove variable.
29455         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29456         [$(build-shared) = yes].
29457         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29458         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29459         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29460         [$(build-shared) = yes].
29461         * extra-lib.mk [$(versioning) = yes]: Likewise.
29462         * hurd/Makefile [$(versioning) = yes]: Likewise.
29463         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29464         [SHARED].
29465         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29466         [SHARED].
29467         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29468         [SHARED && !NO_HIDDEN].
29469         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29470         [SHARED].
29471         [SHARED && DO_VERSIONING]: Likewise..
29472         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29473         [$(build-shared) = yes].
29474         * manual/install.texi (--disable-versioning): Remove
29475         documentation.
29476         * INSTALL: Regenerated.
29477         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29478         to [SHARED].
29479         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29480         [$(build-shared) = yes].
29481         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29482         * sysdeps/i386/i686/multiarch/strstr-c.c
29483         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29484         [SHARED && !NO_HIDDEN].
29485         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29486         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29487         * sysdeps/powerpc/powerpc32/dl-machine.c
29488         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29489         * sysdeps/powerpc/powerpc32/sysdep.h
29490         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29491         to [SHARED && PIC && !NO_HIDDEN].
29492         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29493         conditional to [SHARED].
29495 2013-09-04   Will Newton  <will.newton@linaro.org>
29497         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29498         * benchtests/bench-string.h: Include bench-timing.h instead
29499         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29500         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29501         call to HP_TIMING_DIFF_INIT.
29502         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29503         instead of hp-timing.h macros.
29504         * benchtests/bench-memchr.c: Likewise.
29505         * benchtests/bench-memcmp.c: Likewise.
29506         * benchtests/bench-memcpy.c: Likewise.
29507         * benchtests/bench-memmem.c: Likewise.
29508         * benchtests/bench-memmove.c: Likewise.
29509         * benchtests/bench-memset.c: Likewise.
29510         * benchtests/bench-rawmemchr.c: Likewise.
29511         * benchtests/bench-strcasecmp.c: Likewise.
29512         * benchtests/bench-strcasestr.c: Likewise.
29513         * benchtests/bench-strcat.c: Likewise.
29514         * benchtests/bench-strchr.c: Likewise.
29515         * benchtests/bench-strcmp.c: Likewise.
29516         * benchtests/bench-strcpy.c: Likewise.
29517         * benchtests/bench-strcpy_chk.c: Likewise.
29518         * benchtests/bench-strlen.c: Likewise.
29519         * benchtests/bench-strncasecmp.c: Likewise.
29520         * benchtests/bench-strncat.c: Likewise.
29521         * benchtests/bench-strncmp.c: Likewise.
29522         * benchtests/bench-strncpy.c: Likewise.
29523         * benchtests/bench-strnlen.c: Likewise.
29524         * benchtests/bench-strpbrk.c: Likewise.
29525         * benchtests/bench-strrchr.c: Likewise.
29526         * benchtests/bench-strspn.c: Likewise.
29527         * benchtests/bench-strstr.c: Likewise.
29529 2013-09-04  Will Newton  <will.newton@linaro.org>
29531         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29533 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29535         [BZ #15427]
29536         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29537         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29538         * math/libm-test.inc (lgamma_test_data): Add more tests.
29539         * sysdeps/i386/fpu/libm-test-ulps: Update.
29540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29542 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29544         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29546         Add ifunc.
29547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29548         Add strcmp-sse2-unaligned
29549         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29551 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29553         * Versions.def (libc): Add GLIBC_2.19.
29555 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29557         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29558         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29560 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29562         [BZ #14155]
29563         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29564         intermediate calculations in recurrence.
29565         (__ieee754_ynf): Likewise.
29566         * math/libm-test.inc (jn_test_data): Do not allow spurious
29567         underflow exception.  Add more tests.
29568         (yn_test_data): Add more tests.
29569         * sysdeps/i386/fpu/libm-test-ulps: Update.
29570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29572 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29574         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29576 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29578         * csu/init-first.c: Fix then/than typos.
29579         * locale/programs/ld-collate.c: Likewise.
29580         * locale/programs/linereader.h: Likewise.
29581         * manual/charset.texi: Likewise.
29582         * manual/filesys.texi: Likewise.
29583         * manual/stdio.texi: Likewise.
29584         * manual/string.texi: Likewise.
29585         * stdlib/fmtmsg.c: Likewise.
29586         * sysdeps/i386/stpncpy.S: Likewise.
29587         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29588         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29589         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29590         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29592 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29594         * elf/dl-open.c: Fix typos.
29595         * iconvdata/gbbig5.c: Likewise.
29596         * iconvdata/iso-2022-jp.c: Likewise.
29597         * iconv/gconv_int.h: Likewise.
29598         * iconv/loop.c: Likewise.
29599         * nis/rpcsvc/nis.h: Likewise.
29600         * resolv/ns_name.c: Likewise.
29601         * stdio-common/vfscanf.c: Likewise.
29602         * streams/stropts.h: Likewise.
29603         * sunrpc/rpc_thread.c: Likewise.
29604         * sysdeps/i386/strpbrk.S: Likewise.
29605         * sysdeps/ieee754/k_standard.c: Likewise.
29606         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29607         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29608         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29609         * sysdeps/mach/hurd/profil.c: Likewise.
29610         * sysdeps/s390/dl-procinfo.h: Likewise.
29611         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29612         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29613         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29614         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29615         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29617 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29619         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29622 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29624         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29625         aix specific files.
29626         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29627         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29628         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29629         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29630         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29631         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29632         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29633         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29635 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29636             Roland McGrath  <roland@hack.frob.com>
29638         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29639         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29641 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29643         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29644         __executable_start symbol instead of _start.
29646 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29648         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29649         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29650         Move macros to...
29651         * sysdeps/gnu/ldsodefs.h: ... this new file.
29653         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29654         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29655         instead of ELFOSABI_LINUX.
29657         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29658         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29659         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29660         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29661         Likewise.
29662         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29663         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29664         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29665         Likewise.
29666         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29667         (ibm_extended_long_double): Add ieee_nan member.
29668         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29669         (do_test): New function.
29671         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29672         TEST_TRUNC.
29673         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29674         functions, renamed from truncdfsf_test, trunctfsf_test,
29675         trunctfdf_test.
29676         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29677         functions.
29678         (do_test): Run all these.
29680 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29682         * argp/argp-help.c: Fix typos.
29683         * argp/argp-parse.c: Likewise.
29684         * debug/backtracesyms.c: Likewise.
29685         * elf/elf.h: Likewise.
29686         * malloc/malloc.c: Likewise.
29687         * nis/nis_print.c: Likewise.
29688         * resolv/res_comp.c: Likewise.
29689         * stdlib/stdlib.h: Likewise.
29690         * sunrpc/clnt_tcp.c: Likewise.
29691         * sunrpc/clnt_udp.c: Likewise.
29692         * sunrpc/clnt_unix.c: Likewise.
29693         * sysdeps/unix/bsd/ptsname.c: Likewise.
29694         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29695         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29697         Likewise.
29698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29699         Likewise.
29700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29701         Likewise.
29702         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29704 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29706         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29709 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29711         [BZ #15897]
29712         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29713         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29714         ($(objpfx)bug-dl-leaf): New rule.
29715         ($(objpfx)bug-dl-leaf.so): Likewise.
29716         ($(objpfx)bug-dl-leaf.out): Likewise.
29717         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29718         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29719         * dlfcn/bug-dl-leaf.c: New test.
29720         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29721         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29722         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29723         (dlclose): Likewise.
29724         (dlmopen): Likewise.
29726 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29728         * include/netdb.h [!_ISOMAC]:
29729         Don't include <tls.h>.
29730         (h_errno, __libc_h_errno): Move declaration and macros out of
29731         [_LIBC_REENTRANT].
29733         * include/resolv.h [_RESOLV_H_]:
29734         Don't include <tls.h>.
29735         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29736         * resolv/res_libc.c: Don't include <tls.h>.
29737         (_res): Use __attribute__ ((nocommon)) in place of
29738         __attribute__ ((section (".bss"))).
29740         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29741         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29743         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29745         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29746         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29748         * resolv/res_mkquery.c: Include <sys/time.h>.
29750         * inet/ifreq.c: Moved to ...
29751         * sysdeps/unix/ifreq.c: ... here.
29752         * inet/ifreq.c: New file, true stub version.
29754         * socket/sa_len.c: New file.
29755         * socket/Makefile (aux): Add it.
29756         * sysdeps/unix/sysv/linux/Makefile
29757         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29758         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29759         and #include <socket/sa_len.c>.
29760         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29761         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29763         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29764         * bits/socket.h: ... here.
29766         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29767         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29768         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29770 2013-08-27  Andreas Schwab  <schwab@suse.de>
29772         [BZ #15736]
29773         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29774         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29775         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29776         * string/test-strcasecmp.c (test_main): Run tests in several
29777         locales.
29778         * string/test-strncasecmp.c (test_main): Likewise.
29780         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29781         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29782         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29784         (__strncasecmp_ssse3) [PIC]: Likewise.
29786 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29788         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29790         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29791         instead of explicitly declaring xdecrypt.
29792         * nis/nss_nis/nis-publickey.c: Likewise.
29794 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29796         [BZ #15890]
29797         * nscd/aicache.c: Include res_hconf.h.
29798         (addhstaiX): Initialize res_hconf.
29800 2013-08-26  Andreas Schwab  <schwab@suse.de>
29802         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29803         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29805 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29807         * nscd/aicache.c (addhstaiX): Fix indentation.
29809 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29811         * configure.ac: Quote $build_pt_chown test.
29812         * configure: Regenerated.
29814 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29816         [BZ #15532]
29817         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29818         * math/s_cexpf.c (__cexpf): Likewise.
29819         * math/s_cexpl.c (__cexpl): Likewise.
29820         * math/libm-test.inc (cexp_test_data): Correct expected return
29821         value for NaN + i0.  Add another test.
29823 2013-08-22  David S. Miller  <davem@davemloft.net>
29825         * po/ca.po: Update Catalan translation from translation project.
29826         * po/uk.po: Add Ukrainian translations from translation project.
29828 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29830         [BZ #15797]
29831         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29832         is infinite, not alongside NaN test.
29833         * math/s_fdimf.c (__fdimf): Likewise.
29834         * math/s_fdiml.c (__fdiml): Likewise.
29835         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29836         errno is unchanged.
29838 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29840         * argp/argp-help.c: Fix typos.
29841         * crypt/speeds.c: Likewise.
29842         * csu/check_fds.c: Likewise.
29843         * elf/dl-load.c: Likewise.
29844         * elf/dl-open.c: Likewise.
29845         * elf/reldep3.c: Likewise.
29846         * elf/reldep.c: Likewise.
29847         * elf/sprof.c: Likewise.
29848         * iconv/iconv_charmap.c: Likewise.
29849         * iconv/skeleton.c: Likewise.
29850         * iconv/strtab.c: Likewise.
29851         * io/lockf64.c: Likewise.
29852         * libio/libioP.h: Likewise.
29853         * resolv/gai_notify.c: Likewise.
29854         * resolv/ns_name.c: Likewise.
29855         * resolv/ns_samedomain.c: Likewise.
29856         * resolv/res_send.c: Likewise.
29857         * stdlib/random.c: Likewise.
29858         * sunrpc/rpc/xdr.h: Likewise.
29859         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29860         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29861         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29862         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29863         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29864         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29865         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29866         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29867         * sysdeps/mach/hurd/check_fds.c: Likewise.
29868         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29869         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29870         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29871         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29872         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29873         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29874         * sysdeps/pthread/aio_notify.c: Likewise.
29875         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29876         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29877         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29878         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29879         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29881 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29883         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29884         version if bit_Slow_SSE4_2 is set.
29885         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29886         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29888 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29890         [BZ #15867]
29891         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29892         trampoline stack frame information.
29893         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29894         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29895         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29896         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29897         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29898         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29899         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29900         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29901         sa_flags value.
29902         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29903         interrupting a syscall and set with option SA_SIGINFO.
29905 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29907         [BZ #15531]
29908         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29909         argument is infinite.
29910         * math/s_cprojf.c (__cprojf): Likewise.
29911         * math/s_cprojl.c (__cprojl): Likewise.
29912         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29913         * math/libm-test.inc (cproj_test_data): Add more tests.
29915         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29917         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29918         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29919         size.  Use __ffs to determine corresponding shift.
29921 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29922             Roland McGrath  <roland@hack.frob.com>
29924         * Makefile (INSTALL): Remove trailing blank lines from output of
29925         makeinfo.
29927 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29929         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29930         Align 32 bit compat elf_greg to 8 bytes.
29932 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29934         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29936 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29938         * string/strcoll_l.c (coll_seq): New structure.
29939         (get_next_seq_cached): New function.
29940         (get_next_seq): New function.
29941         (do_compare): New function.
29942         (STRCOLL): Use GNU style definition.  Simplify implementation
29943         by using get_next_seq, get_next_seq_cached and do_compare.
29945 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29947         [BZ #14699]
29948         CVE-2013-4237
29949         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29950         member.
29951         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29952         member.
29953         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29954         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29955         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29956         conditional.
29957         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29958         GETDENTS_64BIT_ALIGNED.
29959         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29960         * manual/filesys.texi (Reading/Closing Directory): Document
29961         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29962         strongly.
29963         * manual/conf.texi (Limits for Files): Add portability note to
29964         NAME_MAX, PATH_MAX.
29965         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29967 2013-08-13  Andreas Schwab  <schwab@suse.de>
29969         [BZ #15749]
29970         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29971         of fabs.
29972         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29973         LDBL_MAX_EXP >= 16384]: Add tests for it.
29975 2013-08-12  David S. Miller  <davem@davemloft.net>
29977         * version.h (RELEASE): Set to "development".
29978         (VERSION): Set to "2.18.90".
29979         * NEWS: Add 2.19 section.
29981 2013-08-03  David S. Miller  <davem@davemloft.net>
29983         * po/ko.po: Update Korean translation from translation project.
29985 2013-08-01  David S. Miller  <davem@davemloft.net>
29987         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29988         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29989         Bilka.
29991 2013-07-30  David S. Miller  <davem@davemloft.net>
29993         * po/fr.po: Update French translation from translation project.
29995 2013-07-28  David S. Miller  <davem@davemloft.net>
29997         * po/cs.po: Update Czech translation from translation project.
29999         * po/sv.po: Update Swedish translation from translation project.
30001 2013-07-27  David S. Miller  <davem@davemloft.net>
30003         * po/eo.po: Update Esperanto translation from translation project.
30005         * po/vi.po: Update Vietnamese translation from translation project.
30007         * po/de.po: Update German translation from translation project.
30009 2013-07-26  David S. Miller  <davem@davemloft.net>
30011         * po/bg.po: Update Bulgarian translation from translation project.
30013         * po/nl.po: Update Dutch translation from translation project.
30014         * po/pl.po: Update Polish translation from translation project.
30015         * po/ru.po: Update Russian translation from translation project.
30017 2013-07-24  David S. Miller  <davem@davemloft.net>
30019         * po/libc.pot: Update.
30021 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30023         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30024         variable page size.
30025         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30026         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30027         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30029 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30031         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30033 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30034             Andreas Schwab  <schwab@suse.de>
30035             Roland McGrath  <roland@hack.frob.com>
30036             Joseph Myers  <joseph@codesourcery.com>
30037             Carlos O'Donell  <carlos@redhat.com>
30039         [BZ #15755]
30040         * config.h.in: Define HAVE_PT_CHOWN.
30041         * config.make.in (build-pt-chown): New variable.
30042         * configure.in (--enable-pt_chown): New configure option.
30043         * configure: Regenerate.
30044         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30045         build-pt-chown is enabled.
30046         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30047         pt_chown to fix pty ownership.
30048         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30049         CLOSE_ALL_FDS.
30050         * manual/install.texi (Configuring and compiling): Mention
30051         --enable-pt_chown. Add @findex for grantpt.
30052         * INSTALL: Regenerate.
30054 2013-07-20  David S. Miller  <davem@davemloft.net>
30056         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30057         difference between 32-bit and 64-bit.
30059 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30061         [BZ #15711]
30062         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30063         Avoid system header dependency with -ffreestanding.
30064         ($(objpfx)bits/syscall%d): Likewise.
30066 2013-07-13  David S. Miller  <davem@davemloft.net>
30068         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30069         underflows from atanl/atan2l due to bug 15319.
30070         (casinh_test_data): Likewise.
30072 2013-07-07  David S. Miller  <davem@davemloft.net>
30074         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30076 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30078         * sysdeps/i386/fpu/libm-test-ulps: Update.
30079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30081 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30083         * configure.in (--enable-lock-elision): Fix message text.
30084         * INSTALL: Regenerate.
30085         * configure: Regenerate.
30087 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30091 2013-07-03  Andreas Jaeger  <aj@suse.de>
30093         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30094         define.
30095         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30096         (ptrace_peeksiginfo_args): Add.
30097         (__ptrace_peeksiginfo_flags): Add.
30098         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30099         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30100         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30102 2013-07-03  Allan McRae  <allan@archlinux.org>
30104         * sysdeps/i386/fpu/libm-test-ulps: Update.
30106 2013-07-02  David S. Miller  <davem@davemloft.net>
30108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30110 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30114 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30116         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30119 2013-07-02  Andi Kleen <ak@linux.intel.com>
30121         * config.h.in (ENABLE_LOCK_ELISION): Add.
30122         * configure.in (--enable-lock-elision): Add option.
30123         * manual/install.texi: Document --enable lock elision.
30124         * configure: Regenerate
30125         * INSTALL: Regenerate.
30127 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30129         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30130         SSE4.2 strcasecmp for libc.a.
30131         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30133 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30135         [BZ #13304]
30136         * soft-fp/op-common.h (_FP_FMA): New macro.
30137         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30138         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30139         (_FP_MUL_MEAT_1_imm): ... here.
30140         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30141         (_FP_MUL_MEAT_1_wide): ... here.
30142         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30143         (_FP_MUL_MEAT_1_hard): ... here.
30144         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30145         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30146         (_FP_MUL_MEAT_2_wide): ... here.
30147         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30148         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30149         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30150         (_FP_MUL_MEAT_2_gmp): ... here.
30151         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30152         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30153         (_FP_MUL_MEAT_4_wide): ... here.
30154         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30155         (_FP_MUL_MEAT_4_gmp): ... here.
30156         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30157         (_FP_WFRACBITS_DW_S): Likewise.
30158         (_FP_WFRACXBITS_DW_S): Likewise.
30159         (_FP_HIGHBIT_DW_S): Likewise.
30160         (FP_FMA_S): Likewise.
30161         (_FP_FRAC_HIGH_DW_S): Likewise.
30162         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30163         (_FP_WFRACBITS_DW_D): Likewise.
30164         (_FP_WFRACXBITS_DW_D): Likewise.
30165         (_FP_HIGHBIT_DW_D): Likewise.
30166         (FP_FMA_D): Likewise.
30167         (_FP_FRAC_HIGH_DW_D): Likewise.
30168         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30169         (_FP_WFRACBITS_DW_E): Likewise.
30170         (_FP_WFRACXBITS_DW_E): Likewise.
30171         (_FP_HIGHBIT_DW_E): Likewise.
30172         (FP_FMA_E): Likewise.
30173         (_FP_FRAC_HIGH_DW_E): Likewise.
30174         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30175         (_FP_WFRACBITS_DW_Q): Likewise.
30176         (_FP_WFRACXBITS_DW_Q): Likewise.
30177         (_FP_HIGHBIT_DW_Q): Likewise.
30178         (FP_FMA_Q): Likewise.
30179         (_FP_FRAC_HIGH_DW_Q): Likewise.
30180         * soft-fp/fmasf4.c: New file.
30181         * soft-fp/fmadf4.c: Likewise.
30182         * soft-fp/fmatf4.c: Likewise.
30184 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30187         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30188         Silvermont.
30189         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30190         macro.
30191         (index_Slow_SSE4_2): Likewise.
30192         (index_Prefer_PMINUB_for_stringop): Likewise.
30193         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30194         bit_Slow_SSE4_2 is set.
30195         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30196         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30198 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30200         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30201         rtld_global._dl_hwcap2.
30202         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30203         POWER8.
30204         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30205         POWER8 feature descriptions defined in _dl_hwcap2.
30206         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30207         string handling for POWER8 feature bits.
30208         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30209         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30210         _dl_powerpc_cap_flags.
30211         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30212         * sysdeps/powerpc/rtld-global-offsets.sym
30213         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30214         _dl_hwcap2 in the rtld_global_ro structure.
30216 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30218         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30219         hardware capabilities in support of AT_HWCAP2.
30220         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30221         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30222         GLRO(dl_hwcap2).
30223         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30224         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30225         explicitly the unknown a_type display mechanism is used.
30226         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30227         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30228         struct member.
30229         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30230         to macro prototype for AT_HWCAP2 support.
30231         * sysdeps/i386/dl-procinfo.h: Likewise.
30232         * sysdeps/s390/dl-procinfo.h: Likewise.
30233         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30234         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30235         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30236         return -1 for unknown a_type display fallback.
30237         * sysdeps/sparc/dl-procinfo.h: Likewise.
30238         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30239         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30241 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30243         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30244         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30246 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30248         [BZ #12492]
30249         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30250         mprotect making __stack_prot writable.
30252 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30253             Joseph Myers  <joseph@codesourcery.com>
30255         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30256         as being properly aligned.
30258 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30260         * dlfcn/modstatic5.c: New file.
30261         * dlfcn/tststatic5.c: New file.
30262         * dlfcn/Makefile (tests): Add tststatic5.
30263         (tests-static): Likewise.
30264         (modules-names): Add modstatic5.
30265         (tststatic5-ENV): New variable.
30266         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30268         [BZ #15022]
30269         * elf/dl-support.c (_dl_main_map): New variable.
30270         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30271         (_dl_nns, _dl_load_adds): Set to 1.
30272         (_dl_initial_searchlist): Refer to _dl_main_map.
30273         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30274         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30275         call to _dl_get_origin.
30276         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30277         around call_map.
30278         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30279         * dlfcn/modstatic3.c: New file.
30280         * dlfcn/tststatic3.c: New file.
30281         * dlfcn/tststatic4.c: New file.
30282         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30283         (tests-static): Likewise.
30284         (modules-names): Add modstatic3.
30285         (tststatic3-ENV, tststatic4-ENV): New variables.
30286         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30287         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30289 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30291         * configure.in (CC): Require GCC version 4.4 or later.
30292         * configure: Regenerated.
30293         * manual/install.texi (Tools for Compilation): Update GCC version
30294         requirement.
30295         * INSTALL: Regenerated.
30297 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30299         [BZ #15674]
30300         * string/test-memcmp.c (check2): New.
30301         (main): Call check2.
30303         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30305 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30307         [BZ #15022]
30308         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30309         over to...
30310         (dl_open_worker) [!SHARED]: ... here.
30312 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30314         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30316 2013-06-25  Richard Henderson  <rth@redhat.com>
30318         * locale/programs/locarchive.c: Include <libc-internal.h>
30320 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30322         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30323         trailing whitespace removed.
30325 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30327         [BZ #10283]
30328         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30329         * locale/programs/locarchive.c: Include libc-mmap.h.
30330         (prepare_address_space): Take two new outputs (the mmap base and len).
30331         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30332         values.
30333         (create_archive): Declare new mmap base and len values for
30334         prepare_address_space, and store the result in ah.
30335         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30336         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30337         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30338         Declare new mmap base and len values for
30339         prepare_address_space, and store the result in new_ah.
30340         (open_archive): Declare new mmap base and len values for
30341         prepare_address_space, and store the result in ah.
30342         (close_archive): If ah->mmap_base is not NULL, use that and
30343         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30344         * sysdeps/generic/libc-mmap.h: New file.
30346 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30348         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30349         (ALIGN_UP): Likewise.
30350         (PTR_ALIGN_DOWN): Likewise.
30351         (PTR_ALIGN_UP): Likewise.
30353 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30355         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30356         entry mapped to PPC_PLATFORM_POWER8.
30357         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30358         POWER8.
30359         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30360         (_dl_string_platform): Add case for exporting platform position for
30361         POWER8.
30362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30363         search path to sysdeps/powerpc/powerpc32/power8 directory.
30364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30365         search path to sysdeps/powerpc/powerpc64/power8 directory.
30366         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30367         power7 directories.
30368         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30369         power7 directories.
30371 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30373         * INSTALL: Regenerate.
30375         * nscd/connections.c (nscd_init): Fix comment.
30377 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30379         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30381         [BZ #15667]
30382         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30383         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30385 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30387         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30388         DL_DST_REQ_STATIC.
30389         (DL_DST_REQ_STATIC): Remove macro.
30391 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30393         [BZ #7006]
30394         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30395         with a shift of 0 bits.
30397 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30399         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30400         $(tststatic-ENV).
30402 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30404         [BZ #15655]
30405         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30407 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30409         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30410         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30411         accepts -fno-tree-loop-distribute-patterns.
30412         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30413         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30414         recursive call.
30415         * string/memset.c (memset): Likewise.
30416         * string/test-memmove.c (simple_memmove): Disable loop transformation
30417         to library calls.
30418         * string/test-memset.c (simple_memset): Likewise.
30419         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30420         * benchtests/bench-memset.c (simple_memset): Likewise.
30421         * configure: Regenerated.
30423 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30425         * math/test-misc.c (main): Ignore fesetround failure when failures
30426         of subsequent rounding tests would be ignored.
30428         [BZ #15654]
30429         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30430         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30431         * math/fegetenv.c (__fegetenv): Return 0.
30432         * math/fegetexcept.c (fegetexcept): Return 0.
30433         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30434         FE_TONEAREST.
30435         * math/feholdexcpt.c (feholdexcept): Return 0.
30436         * math/fesetenv.c (__fesetenv): Return 0.
30437         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30438         argument FE_TONEAREST.
30439         * math/feupdateenv.c (__feupdateenv): Return 0.
30440         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30442 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30444         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30445         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30446         ($(objpfx)rtld-%.os rules): Use them.
30448 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30450         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30451         fields.
30453 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30455         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30456         length of target pattern, then descending length of dependency pattern.
30457         * configure.in (AWK): Require gawk 3.1.2 or newer.
30458         * manual/install.texi (Tools for Compilation): Say that we do.
30459         * configure: Regenerated.
30461         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30462         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30463         * scripts/sysd-rules.awk: ... this new script.
30464         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30465         than a glob-style pattern.
30467 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30469         * math/test-misc.c (main): Do not treat incorrectly rounded
30470         conversions as failure unless ROUNDING_TESTS passes.
30472 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30474         [BZ #15631]
30475         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30476         restore exception state around main square root computation, then
30477         check for inexactness explicitly.
30479         * math/libm-test.inc (fma_test_data): Add another test.
30481 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30483         * manual/threads.texi (Non-POSIX Extensions): New document
30484         node.  Document pthread_getattr_default_np and
30485         pthread_setattr_default_np.
30487         * Versions.def (libpthread): Add GLIBC_2.18.
30488         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30490         Likewise.
30491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30492         Likewise.
30493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30494         Likewise.
30495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30496         Likewise.
30497         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30498         Likewise.
30499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30500         Likewise.
30501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30502         Likewise.
30503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30504         Likewise.
30505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30506         Likewise.
30508 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30511         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30513 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30514             H.J. Lu  <hjl.tools@gmail.com>
30516         [BZ #15627]
30517         * sysdeps/x86_64/rtld-memset.c: Remove file.
30518         * sysdeps/x86_64/rtld-memset.S: New file.
30520 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30522         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30523         (test_in_one_mode): Take arguments for whether the rounding mode
30524         is supported for each floating-point type.
30525         (do_test): Pass new arguments to test_in_one_mode using
30526         ROUNDING_TESTS.
30528 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30530         * posix/tst-waitid.c (do_test): Distinguish different instances of
30531         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30532         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30533         before entering the kernel for waitpid.
30535 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30537         * NEWS: Fix note on clock function precision.  Text by Roland
30538         McGrath.
30540 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30542         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30543         it into place only when and if the sanity check passes.
30545 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30547         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30548         output for whether conversion result is exact.  Take argument
30549         indicating whether type is IBM long double.
30550         (round_for_all): Change need_exact field to ibm_ld.
30551         * stdlib/tst-strtod-round.c (struct exactness): New type.
30552         (struct test): Change bool ld_ok field to struct exactness exact.
30553         (TEST): Update all definitions for change to field.
30554         (tests): Regenerate array contents.
30555         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30556         field value.  Check for IBM long double here.
30557         (do_test): Update calls to test_in_one_mode.
30559 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30561         [BZ #12515]
30562         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30563         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30565 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30567         [BZ #15605]
30568         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30569         generated by the compiler on loop optimizations.
30570         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30571         general definitions.
30573 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30575         * math/bug-nextafter.c: Include <math-tests.h>.
30576         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30577         the relevant type.
30578         * math/bug-nexttoward.c: Include <math-tests.h>.
30579         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30580         the relevant type.
30581         * math/test-misc.c: Include <math-tests.h>.
30582         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30583         the relevant type.
30585 2013-06-12  Andreas Jaeger  <aj@suse.de>
30587         * po/ia.po: Update Interlingua translation from translation
30588         project.
30590 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30592         * include/fenv.h: Include stdbool.h.
30593         (struct rm_ctx): New structure.
30594         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30595         Define macro.
30596         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30597         (SET_RESTORE_ROUNDF): Likewise.
30598         (SET_RESTORE_ROUNDL): Likewise.
30599         (SET_RESTORE_ROUND_NOEX): Likewise.
30600         (SET_RESTORE_ROUND_NOEXF): Likewise.
30601         (SET_RESTORE_ROUND_NOEXL): Likewise.
30602         (SET_RESTORE_ROUND_53BIT): Likewise.
30603         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30604         (libc_feresetround_noexf_ctx): Likewise.
30605         (libc_feresetround_noexl_ctx): Likewise.
30606         (libc_feholdsetround_53bit_ctx): Likewise.
30607         (libc_feresetround_53bit_ctx): Likewise.
30608         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30609         (libc_feholdexcept_setround_sse_ctx): New function.
30610         (libc_fesetenv_sse_ctx): Likewise.
30611         (libc_feupdateenv_sse_ctx): Likewise.
30612         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30613         (libc_feholdexcept_setround_387_ctx): Likewise.
30614         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30615         (libc_feholdsetround_387_prec_ctx): Likewise.
30616         (libc_feholdsetround_387_ctx): Likewise.
30617         (libc_feholdsetround_387_53bit_ctx): Likewise.
30618         (libc_feholdsetround_sse_ctx): Likewise.
30619         (libc_feresetround_sse_ctx): Likewise.
30620         (libc_feresetround_387_ctx): Likewise.
30621         (libc_feupdateenv_387_ctx): Likewise.
30622         (libc_feholdexcept_setroundf_ctx): Define macro.
30623         (libc_fesetenvf_ctx): Likewise.
30624         (libc_feupdateenvf_ctx): Likewise.
30625         (libc_feholdsetroundf_ctx): Likewise.
30626         (libc_feresetroundf_ctx): Likewise.
30627         (libc_feholdexcept_setround_ctx): Likewise.
30628         (libc_fesetenv_ctx): Likewise.
30629         (libc_feupdateenv_ctx): Likewise.
30630         (libc_feholdsetround_ctx): Likewise.
30631         (libc_feresetround_ctx): Likewise.
30632         (libc_feholdexcept_setroundl_ctx): Likewise.
30633         (libc_feupdateenvl_ctx): Likewise.
30634         (libc_feholdsetroundl_ctx): Likewise.
30635         (libc_feresetroundl_ctx): Likewise.
30636         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30637         (libc_feresetround_53bit_ctx): Likewise.
30639 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30641         * locale/iso-639.def: Convert to UTF-8.
30643 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30645         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30646         (EXCEPTION_TESTS_double): Likewise.
30647         (EXCEPTION_TESTS_long_double): Likewise.
30648         (EXCEPTION_TESTS): Likewise.
30649         * math/libm-test.inc (test_exceptions): Only test exceptions if
30650         EXCEPTION_TESTS (FLOAT).
30652 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30654         * benchtests/Makefile (string-bench): Add strcpy_chk and
30655         stpcpy_chk.
30656         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30657         * benchtests/bench-stpcpy_chk.c: New file.
30658         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30659         * benchtests/bench-strcpy_chk.c: New file.
30660         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30661         code.
30662         (do_test): Likewise.
30664 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30666         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30667         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30668         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30669         with tabs where appropriate.
30670         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30671         dl-procinfo.h.
30672         [PPC_PLATFORM_PPC440]: Likewise.
30673         [PPC_PLATFORM_PPC464]: Likewise.
30674         [PPC_PLATFORM_PPC476]: Likewise.
30675         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30676         ppc464, and ppc476 platform strings merging from ports/
30677         dl-procinfo.h.
30679 2013-06-11  Andreas Schwab  <schwab@suse.de>
30681         [BZ #14991]
30682         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30683         (from_ucs4_idx): Regenerate.
30684         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30685         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30686         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30687         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30688         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30689         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30690         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30691         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30692         from FROM_LOOP and TO_LOOP specific macros.
30693         (BODY): Handle combining characters.
30694         * iconvdata/BIG5HKSCS.irreversible: Update.
30695         * iconvdata/BIG5HKSCS.precomposed: New file.
30696         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30697         characters.
30698         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30700 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30702         * include/sys/time.h: Fix indentation and add copyright header.
30704         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30705         (do_test): Likewise.
30706         * string/test-memchr.c (do_one_test): Likewise.
30707         (do_test): Likewise.
30708         * string/test-memcmp.c (do_one_test): Likewise.
30709         (do_test): Likewise.
30710         * string/test-memcpy.c (do_one_test): Likewise.
30711         (do_test): Likewise.
30712         * string/test-memmem.c (do_one_test): Likewise.
30713         (do_test): Likewise.
30714         (do_random_tests): Likewise.
30715         * string/test-memmove.c (do_one_test): Likewise.
30716         (do_test): Likewise.
30717         * string/test-memset.c (do_one_test): Likewise.
30718         (do_test): Likewise.
30719         * string/test-rawmemchr.c (do_one_test): Likewise.
30720         (do_test): Likewise.
30721         * string/test-strcasecmp.c (do_one_test): Likewise.
30722         (do_test): Likewise.
30723         * string/test-strcasestr.c (do_one_test): Likewise.
30724         (do_test): Likewise.
30725         * string/test-strcat.c (do_one_test): Likewise.
30726         (do_test): Likewise.
30727         * string/test-strchr.c (do_one_test): Likewise.
30728         (do_test): Likewise.
30729         * string/test-strcmp.c (do_one_test): Likewise.
30730         (do_test): Likewise.
30731         * string/test-strcpy.c (do_one_test): Likewise.
30732         (do_test): Likewise.
30733         * string/test-string.h: Likewise.
30734         (test_init): Likewise.
30735         * string/test-strlen.c (do_one_test): Likewise.
30736         (do_test): Likewise.
30737         * string/test-strncasecmp.c (do_one_test): Likewise.
30738         (do_test): Likewise.
30739         * string/test-strncat.c (do_one_test): Likewise.
30740         (do_test): Likewise.
30741         * string/test-strncmp.c (do_one_test): Likewise.
30742         (do_test_limit): Likewise.
30743         (do_test): Likewise.
30744         * string/test-strncpy.c (do_one_test): Likewise.
30745         (do_test): Likewise.
30746         * string/test-strnlen.c (do_one_test): Likewise.
30747         (do_test): Likewise.
30748         * string/test-strpbrk.c (do_one_test): Likewise.
30749         (do_test): Likewise.
30750         * string/test-strrchr.c (do_one_test): Likewise.
30751         (do_test): Likewise.
30752         * string/test-strspn.c (do_one_test): Likewise.
30753         (do_test): Likewise.
30754         * string/test-strstr.c (do_one_test): Likewise.
30755         (do_test): Likewise.
30757         * benchtests/Makefile (string-bench): Add string benchmarks.
30758         * benchtests/bench-bcopy-ifunc.c: New file.
30759         * benchtests/bench-bcopy.c: New file.
30760         * benchtests/bench-bzero-ifunc.c: New file.
30761         * benchtests/bench-bzero.c: New file.
30762         * benchtests/bench-memccpy-ifunc.c: New file.
30763         * benchtests/bench-memccpy.c: New file.
30764         * benchtests/bench-memchr-ifunc.c: New file.
30765         * benchtests/bench-memchr.c: New file.
30766         * benchtests/bench-memcmp-ifunc.c: New file.
30767         * benchtests/bench-memcmp.c: New file.
30768         * benchtests/bench-memmem-ifunc.c: New file.
30769         * benchtests/bench-memmem.c: New file.
30770         * benchtests/bench-memmove-ifunc.c: New file.
30771         * benchtests/bench-memmove.c: New file.
30772         * benchtests/bench-mempcpy-ifunc.c: New file.
30773         * benchtests/bench-mempcpy.c: New file.
30774         * benchtests/bench-memset-ifunc.c: New file.
30775         * benchtests/bench-memset.c: New file.
30776         * benchtests/bench-rawmemchr-ifunc.c: New file.
30777         * benchtests/bench-rawmemchr.c: New file.
30778         * benchtests/bench-stpcpy-ifunc.c: New file.
30779         * benchtests/bench-stpcpy.c: New file.
30780         * benchtests/bench-stpncpy-ifunc.c: New file.
30781         * benchtests/bench-stpncpy.c: New file.
30782         * benchtests/bench-strcasecmp-ifunc.c: New file.
30783         * benchtests/bench-strcasecmp.c: New file.
30784         * benchtests/bench-strcasestr-ifunc.c: New file.
30785         * benchtests/bench-strcasestr.c: New file.
30786         * benchtests/bench-strcat-ifunc.c: New file.
30787         * benchtests/bench-strcat.c: New file.
30788         * benchtests/bench-strchr-ifunc.c: New file.
30789         * benchtests/bench-strchr.c: New file.
30790         * benchtests/bench-strchrnul-ifunc.c: New file.
30791         * benchtests/bench-strchrnul.c: New file.
30792         * benchtests/bench-strcmp-ifunc.c: New file.
30793         * benchtests/bench-strcmp.c: New file.
30794         * benchtests/bench-strcpy-ifunc.c: New file.
30795         * benchtests/bench-strcpy.c: New file.
30796         * benchtests/bench-strcspn-ifunc.c: New file.
30797         * benchtests/bench-strcspn.c: New file.
30798         * benchtests/bench-strlen-ifunc.c: New file.
30799         * benchtests/bench-strlen.c: New file.
30800         * benchtests/bench-strncasecmp-ifunc.c: New file.
30801         * benchtests/bench-strncasecmp.c: New file.
30802         * benchtests/bench-strncat-ifunc.c: New file.
30803         * benchtests/bench-strncat.c: New file.
30804         * benchtests/bench-strncmp-ifunc.c: New file.
30805         * benchtests/bench-strncmp.c: New file.
30806         * benchtests/bench-strncpy-ifunc.c: New file.
30807         * benchtests/bench-strncpy.c: New file.
30808         * benchtests/bench-strnlen-ifunc.c: New file.
30809         * benchtests/bench-strnlen.c: New file.
30810         * benchtests/bench-strpbrk-ifunc.c: New file.
30811         * benchtests/bench-strpbrk.c: New file.
30812         * benchtests/bench-strrchr-ifunc.c: New file.
30813         * benchtests/bench-strrchr.c: New file.
30814         * benchtests/bench-strspn-ifunc.c: New file.
30815         * benchtests/bench-strspn.c: New file.
30816         * benchtests/bench-strstr-ifunc.c: New file.
30817         * benchtests/bench-strstr.c: New file.
30819         * benchtests/Makefile: Disable parallel execution of targets.
30820         (string-bench): Add memcpy.
30821         (benchset): New variable to store a list of benchmark sets.
30822         (bench-func): Renamed from bench.
30823         (bench-set): New target.
30824         (bench): Depend on bench-func and bench-set.
30825         * benchtests/README: Add section on benchmark sets.
30826         * benchtests/bench-memcpy-ifunc.c: New file.
30827         * benchtests/bench-memcpy.c: New file.
30828         * benchtests/bench-string.h: New file.
30830 2013-06-11  Andreas Schwab  <schwab@suse.de>
30832         [BZ #15577]
30833         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30834         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30835         values in the triple.
30836         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30837         terminator in the group key.
30839 2013-06-11  Andreas Jaeger  <aj@suse.de>
30841         * po/zh_TW.po: Update Chinese (traditional) translation from
30842         translation project.
30844 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30846         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30847         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30848         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30849         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30850         (clock_getcpuclockid): Likewise.
30851         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30852         Add weak_alias and libc_hidden_def.
30853         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30854         * rt/clock_gettime.c (clock_gettime): Rename to
30855         __clock_gettime.  Add weak_alias and libc_hidden_def.
30856         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30857         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30858         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30859         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30860         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30861         Likewise.
30862         * rt/clock_settime.c (clock_settime): Rename to
30863         __clock_settime.  Add weak_alias and libc_hidden_def.
30864         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30866 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30868         * mach/err_boot.sub: Remove trailing whitespace.
30869         * mach/err_ipc.sub: Likewise.
30870         * mach/err_mach.sub: Likewise.
30872         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30873         (ROUNDING_TESTS_double): Likewise.
30874         (ROUNDING_TESTS_long_double): Likewise.
30875         (ROUNDING_TESTS): Likewise.
30876         * math/libm-test.inc: Include <math-tests.h>.
30877         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30878         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30879         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30880         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30882 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30884         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30885         of assigning.
30887 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30889         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30890         otherwise empty TRANS lines.
30891         * sysdeps/gnu/errlist.c: Regenerated.
30893         * catgets/gencat.c (error_print): Use (void) in function
30894         definition.
30895         * crypt/crypt_util.c (__init_des): Likewise.
30896         * crypt/speeds.c (Stop): Likewise.
30897         (main): Likewise.
30898         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30899         * inet/ruserpass.c (token): Likewise.
30900         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30901         * intl/localealias.c (extend_alias_table): Likewise.
30902         * intl/plural-exp.c (init_germanic_plural): Likewise.
30903         * libio/fcloseall.c (__fcloseall): Likewise.
30904         * libio/genops.c (_IO_flush_all): Likewise.
30905         (_IO_flush_all_linebuffered): Likewise.
30906         (_IO_cleanup): Likewise.
30907         (_IO_iter_begin): Likewise.
30908         (_IO_iter_end): Likewise.
30909         (_IO_list_lock): Likewise.
30910         (_IO_list_unlock): Likewise.
30911         (_IO_list_resetlock): Likewise.
30912         * libio/getchar.c (getchar): Likewise.
30913         * libio/getchar_u.c (getchar_unlocked): Likewise.
30914         * libio/getwchar.c (getwchar): Likewise.
30915         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30916         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30917         * login/getpt.c (__getpt): Likewise.
30918         * login/tst-utmp.c (main): Likewise.
30919         * malloc/hooks.c (__malloc_check_init): Likewise.
30920         * malloc/malloc.c (__malloc_stats): Likewise.
30921         * malloc/mtrace.c (tr_break): Likewise.
30922         (mtrace): Likewise.
30923         (muntrace): Likewise.
30924         * misc/fstab.c (endfsent): Likewise.
30925         * misc/getclktck.c (__getclktck): Likewise.
30926         * misc/getdtsz.c (__getdtablesize): Likewise.
30927         * misc/gethostid.c (gethostid): Likewise.
30928         * misc/getpagesize.c (__getpagesize): Likewise.
30929         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30930         (__get_nprocs): Likewise.
30931         (__get_phys_pages): Likewise.
30932         (__get_avphys_pages): Likewise.
30933         * misc/getttyent.c (getttyent): Likewise.
30934         (setttyent): Likewise.
30935         (endttyent): Likewise.
30936         * misc/getusershell.c (getusershell): Likewise.
30937         (endusershell): Likewise.
30938         (setusershell): Likewise.
30939         (initshells): Likewise.
30940         * misc/hsearch.c (__hdestroy): Likewise.
30941         * misc/sync.c (sync): Likewise.
30942         * misc/syslog.c (closelog_internal): Likewise.
30943         (closelog): Likewise.
30944         * misc/ttyslot.c (ttyslot): Likewise.
30945         * misc/vhangup.c (vhangup): Likewise.
30946         * posix/fork.c (__fork): Likewise.
30947         * posix/getegid.c (__getegid): Likewise.
30948         * posix/geteuid.c (__geteuid): Likewise.
30949         * posix/getgid.c (__getgid): Likewise.
30950         * posix/getpid.c (__getpid): Likewise.
30951         * posix/getppid.c (__getppid): Likewise.
30952         * posix/getuid.c (__getuid): Likewise.
30953         * posix/pause.c (pause): Likewise.
30954         * posix/setpgrp.c (setpgrp): Likewise.
30955         * posix/setsid.c (__setsid): Likewise.
30956         * posix/test-vfork.c (noop): Likewise.
30957         * resolv/gethnamaddr.c (_endhtent): Likewise.
30958         (_gethtent): Likewise.
30959         (ht_endhostent): Likewise.
30960         (gethostent): Likewise.
30961         (dns_service): Likewise.
30962         * stdlib/drand48.c (drand48): Likewise.
30963         * stdlib/lrand48.c (lrand48): Likewise.
30964         * stdlib/mrand48.c (mrand48): Likewise.
30965         * stdlib/rand.c (rand): Likewise.
30966         * stdlib/random.c (__random): Likewise.
30967         * stdlib/setenv.c (clearenv): Likewise.
30968         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30969         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30970         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30971         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30972         (__get_nprocs): Likewise.
30973         (__get_phys_pages): Likewise.
30974         (__get_avphys_pages): Likewise.
30975         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30976         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30977         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30978         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30979         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30980         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30981         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30982         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30983         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30984         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30985         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30986         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30987         * sysdeps/posix/clock.c (clock): Likewise.
30988         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30989         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30990         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30991         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30992         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30993         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30994         (__get_nprocs_conf): Likewise.
30995         (__get_phys_pages): Likewise.
30996         (__get_avphys_pages): Likewise.
30997         * time/clock.c (clock): Likewise.
30998         * time/tzset.c (__tzname_max): Likewise.
31000 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31002         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31003         (__bswap_32): Do not use "register".
31004         * crypt/crypt.c (_ufc_doit_r): Likewise.
31005         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31006         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31007         * gmon/gmon.c (__monstartup): Likewise.
31008         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31009         * hurd/hurdmalloc.c (more_memory): Likewise.
31010         (malloc): Likewise.
31011         (free): Likewise.
31012         (realloc): Likewise.
31013         (malloc_fork_prepare): Likewise.
31014         (malloc_fork_parent): Likewise.
31015         (malloc_fork_child): Likewise.
31016         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31017         (_svcauth_des): Likewise.
31018         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31019         * inet/inet_net.c (inet_network): Likewise.
31020         * inet/inet_netof.c (inet_netof): Likewise.
31021         * inet/rcmd.c (__validuser2_sa): Likewise.
31022         * io/fts.c (fts_open): Likewise.
31023         (fts_load): Likewise.
31024         (fts_close): Likewise.
31025         (fts_read): Likewise.
31026         (fts_children): Likewise.
31027         (fts_build): Likewise.
31028         (fts_stat): Likewise.
31029         (fts_sort): Likewise.
31030         (fts_alloc): Likewise.
31031         (fts_lfree): Likewise.
31032         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31033         (_IO_file_xsgetn): Likewise.
31034         (_IO_file_xsgetn_mmap): Likewise.
31035         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31036         (_IO_cookie_write): Likewise.
31037         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31038         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31039         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31040         * malloc/obstack.c (_obstack_begin): Likewise.
31041         (_obstack_begin_1): Likewise.
31042         (_obstack_newchunk): Likewise.
31043         (_obstack_allocated_p): Likewise.
31044         (obstack_free): Likewise.
31045         (_obstack_memory_used): Likewise.
31046         * misc/getttyent.c (getttynam): Likewise.
31047         (getttyent): Likewise.
31048         (skip): Likewise.
31049         (value): Likewise.
31050         * misc/getusershell.c (initshells): Likewise.
31051         * misc/syslog.c (__vsyslog_chk): Likewise.
31052         * misc/ttyslot.c (ttyslot): Likewise.
31053         * nis/nis_hash.c (__nis_hash): Likewise.
31054         * posix/fnmatch_loop.c (FCT): Likewise.
31055         * posix/getconf.c (print_all): Likewise.
31056         (main): Likewise.
31057         * posix/getopt.c (exchange): Likewise.
31058         * posix/glob.c (globfree): Likewise.
31059         (prefix_array): Likewise.
31060         (__glob_pattern_type): Likewise.
31061         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31062         (NS_GET32): Likewise.
31063         (NS_PUT16): Likewise.
31064         (NS_PUT32): Likewise.
31065         * resolv/gethnamaddr.c (getanswer): Likewise.
31066         (gethostbyname2): Likewise.
31067         (gethostbyaddr): Likewise.
31068         (_gethtent): Likewise.
31069         (_gethtbyname2): Likewise.
31070         (_gethtbyaddr): Likewise.
31071         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31072         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31073         * resolv/res_init.c (__res_vinit): Likewise.
31074         (net_mask): Likewise.
31075         * resolv/res_mkquery.c (outchar): Likewise.
31076         (PRINT): Likewise.
31077         * stdio-common/printf_fp.c (outchar): Likewise.
31078         (PRINT): Likewise.
31079         * stdio-common/printf_fphex.c (outchar): Likewise.
31080         (PRINT): Likewise.
31081         * stdio-common/printf_size.c (outchar): Likewise.
31082         (PRINT): Likewise.
31083         * stdio-common/test_rdwr.c (main): Likewise.
31084         * stdio-common/tfformat.c (matches): Likewise.
31085         * stdio-common/vfprintf.c (outchar): Likewise.
31086         (printf_unknown): Likewise.
31087         (buffered_vfprintf): Likewise.
31088         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31089         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31090         (ReadFile): Likewise.
31091         * stdlib/qsort.c (SWAP): Likewise.
31092         (_quicksort): Likewise.
31093         * stdlib/setenv.c (__add_to_environ): Likewise.
31094         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31095         * stdlib/strtol_l.c (__strtol_l): Likewise.
31096         * stdlib/tst-strtod.c (main): Likewise.
31097         * stdlib/tst-strtol.c (main): Likewise.
31098         * stdlib/tst-strtoll.c (main): Likewise.
31099         * string/bits/string2.h (__strcmp_cc): Likewise.
31100         (__strcmp_cg): Likewise.
31101         (__strcspn_c1): Likewise.
31102         (__strcspn_c2): Likewise.
31103         (__strcspn_c3): Likewise.
31104         (__strspn_c1): Likewise.
31105         (__strspn_c2): Likewise.
31106         (__strspn_c3): Likewise.
31107         (__strsep_1c): Likewise.
31108         (__strsep_2c): Likewise.
31109         (__strsep_3c): Likewise.
31110         * string/memccpy.c (__memccpy): Likewise.
31111         * string/stpcpy.c (__stpcpy): Likewise.
31112         * string/strcmp.c (strcmp): Likewise.
31113         * string/strrchr.c (strrchr): Likewise.
31114         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31115         Likewise.
31116         * sysdeps/mach/hurd/getcwd.c
31117         (_hurd_canonicalize_directory_name_internal): Likewise.
31118         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31119         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31120         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31121         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31122         Likewise, in both definitions.
31123         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31124         definitions.
31125         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31126         64] (__bswap_64): Likewise.
31127         * time/test_time.c (main): Likewise.
31128         * time/tzfile.c (__tzfile_read): Likewise.
31129         (__tzfile_compute): Likewise.
31130         * time/tzset.c (__tzset_parse_tz): Likewise.
31131         (tzset_internal): Likewise.
31132         (compute_change): Likewise.
31133         * wcsmbs/wcscat.c (__wcscat): Likewise.
31134         * wcsmbs/wcschr.c (wcschr): Likewise.
31135         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31136         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31137         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31138         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31139         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31140         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31141         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31142         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31143         * wcsmbs/wmemset.c (wmemset): Likewise.
31145 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31147         * scripts/config.guess: Update to version 2013-05-16.
31148         * scripts/config.sub: Update to version 2013-04-24.
31149         * scripts/install-sh: Update to version 2011-11-20.07.
31150         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31151         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31153 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31155         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31156         * elf/sln.c: Likewise.
31157         * hurd/hurd/ioctl.h: Likewise.
31158         * hurd/hurdmalloc.c: Likewise.
31159         * hurd/xattr.c: Likewise.
31160         * include/shlib-compat.h: Likewise.
31161         * inet/ruserpass.c: Likewise.
31162         * libio/iofgets_u.c: Likewise.
31163         * libio/iofgetws_u.c: Likewise.
31164         * locale/programs/ld-identification.c: Likewise.
31165         * locale/programs/ld-time.c: Likewise.
31166         * mach/msg-destroy.c: Likewise.
31167         * nss/nss_files/files-netgrp.c: Likewise.
31168         * resolv/res_data.c: Likewise.
31169         * soft-fp/op-1.h: Likewise.
31170         * soft-fp/op-2.h: Likewise.
31171         * soft-fp/op-4.h: Likewise.
31172         * soft-fp/op-common.h: Likewise.
31173         * stdio-common/printf_fphex.c: Likewise.
31174         * stdlib/strtod_l.c: Likewise.
31175         * sunrpc/rpc/clnt.h: Likewise.
31176         * sysdeps/generic/framestate.c: Likewise.
31177         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31178         * sysdeps/i386/bsd-setjmp.S: Likewise.
31179         * sysdeps/i386/__longjmp.S: Likewise.
31180         * sysdeps/i386/setjmp.S: Likewise.
31181         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31182         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31183         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31184         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31185         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31186         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31187         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31188         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31189         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31190         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31191         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31192         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31193         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31194         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31195         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31196         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31197         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31198         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31199         * sysdeps/ieee754/support.c: Likewise.
31200         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31201         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31202         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31203         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31204         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31205         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31206         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31207         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31208         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31209         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31210         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31211         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31212         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31213         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31214         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31215         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31216         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31219 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31221         * posix/transbug.c: Remove executable mode.
31223 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31225         * crypt/speeds.c: Remove trailing whitespace.
31226         * dlfcn/default.c: Likewise.
31227         * elf/ifuncdep2.c: Likewise.
31228         * elf/ifuncmain1.c: Likewise.
31229         * elf/ifuncmain1vis.c: Likewise.
31230         * elf/testobj.h: Likewise.
31231         * elf/tst-stackguard1.c: Likewise.
31232         * gmon/sys/gmon.h: Likewise.
31233         * hurd/hurdmsg.c: Likewise.
31234         * hurd/new-fd.c: Likewise.
31235         * hurd/ports-get.c: Likewise.
31236         * iconvdata/ibm1008_420.c: Likewise.
31237         * inet/tst-getni1.c: Likewise.
31238         * inet/tst-getni2.c: Likewise.
31239         * libio/ioungetc.c: Likewise.
31240         * libio/wfiledoalloc.c: Likewise.
31241         * manual/libm-err-tab.pl: Likewise.
31242         * math/w_dremf.c: Likewise.
31243         * misc/ftruncate.c: Likewise.
31244         * posix/bug-glob2.c: Likewise.
31245         * posix/tst-pcre.c: Likewise.
31246         * posix/wait4.c: Likewise.
31247         * resolv/README: Likewise.
31248         * resolv/res_debug.h: Likewise.
31249         * resolv/tst-inet_ntop.c: Likewise.
31250         * setjmp/bug269-setjmp.c: Likewise.
31251         * soft-fp/extended.h: Likewise.
31252         * soft-fp/op-1.h: Likewise.
31253         * soft-fp/op-2.h: Likewise.
31254         * soft-fp/op-4.h: Likewise.
31255         * soft-fp/op-8.h: Likewise.
31256         * soft-fp/testit.c: Likewise.
31257         * stdio-common/bug16.c: Likewise.
31258         * stdlib/random.c: Likewise.
31259         * sunrpc/rpcsvc/rquota.x: Likewise.
31260         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31261         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31262         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31263         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31264         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31265         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31266         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31267         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31268         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31269         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31270         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31271         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31272         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31273         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31274         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31275         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31276         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31277         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31278         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31279         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31280         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31281         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31282         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31283         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31284         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31285         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31286         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31287         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31288         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31289         * sysdeps/ieee754/s_lib_version.c: Likewise.
31290         * sysdeps/mach/hurd/check_fds.c: Likewise.
31291         * sysdeps/mach/hurd/getsockname.c: Likewise.
31292         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31293         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31294         * sysdeps/powerpc/bits/link.h: Likewise.
31295         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31296         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31297         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31298         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31299         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31300         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31301         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31302         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31303         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31304         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31305         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31306         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31307         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31308         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31309         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31310         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31311         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31312         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31313         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31314         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31315         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31316         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31317         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31318         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31319         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31320         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31321         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31322         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31323         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31324         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31325         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31326         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31327         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31328         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31329         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31330         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31331         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31332         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31333         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31334         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31335         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31336         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31337         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31338         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31339         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31340         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31341         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31342         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31343         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31344         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31345         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31346         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31347         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31348         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31349         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31350         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31351         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31352         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31353         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31354         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31355         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31356         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31357         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31358         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31359         * sysdeps/powerpc/sysdep.h: Likewise.
31360         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31361         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31362         * sysdeps/sh/dl-trampoline.S: Likewise.
31363         * sysdeps/sh/memset.S: Likewise.
31364         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31365         * sysdeps/sh/strlen.S: Likewise.
31366         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31367         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31368         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31369         * sysdeps/sparc/sparc32/rem.S: Likewise.
31370         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31371         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31372         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31373         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31374         * sysdeps/sparc/sparc32/urem.S: Likewise.
31375         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31376         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31377         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31378         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31379         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31380         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31381         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31382         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31383         * sysdeps/unix/bsd/times.c: Likewise.
31384         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31385         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31389         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31390         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31391         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31392         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31393         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31394         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31395         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31396         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31397         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31398         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31399         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31400         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31401         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31402         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31403         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31404         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31405         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31406         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31407         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31408         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31409         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31410         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31411         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31412         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31413         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31414         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31415         * sysdeps/x86_64/strcspn.S: Likewise.
31417 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31419         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31420         generated file.  Regenerate properly from gen-translit.pl.
31421         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31422         locale/C-translit.h.
31424 2013-06-05  Andreas Schwab  <schwab@suse.de>
31426         [BZ #15100]
31427         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31428         week as 6 instead of -1.
31429         * time/tst-strptime.c (day_tests): Add test case.
31431 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31433         * sysdeps/generic/math_private.h
31434         (libc_feholdexcept_setround_53bit): Replace with
31435         libc_feholdsetround_53bit.
31436         (libc_feupdateenv_53bit): Replace with
31437         libc_feresetround_53bit.
31438         (SET_RESTORE_ROUND_53BIT): Adjust.
31440 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31442         * string/test-strchrnul.c: Add copyright header.
31444         * posix/tst-getaddrinfo4.c: Increase test timeout.
31446 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31448         [BZ #15536]
31449         * math/libm-test.inc (MAX_EXP): Remove
31450         (MIN_EXP): Define.
31451         (ulp): Use MIN_EXP - MANT_DIG.
31452         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31454 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31456         * po/be.po: Revert last change.
31457         * po/zh_CN.po: Likewise.
31458         * po/header.pot: Likewise.
31460 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31462         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31463         link-libc-deps to empty as target-specific variable.
31464         * Makerules (link-libc-args): New variable.
31465         (libc-for-link): Likewise.
31466         (link-libc-deps): Likewise.
31467         (lib%.so): Depend on $(link-libc-deps).  Link with
31468         $(link-libc-args).
31469         (build-module): Link with $(link-libc-args).
31470         (build-module-asneeded): Likewise.
31471         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31472         list of objects.
31473         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31474         target-specific variable.
31475         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31476         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31477         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31478         libc.
31479         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31480         libc and ld.so.
31481         ($(objpfx)libpcprofile.so): Likewise.
31482         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31483         libc_nonshared.a.
31484         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31485         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31486         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31487         $(link-libc-deps).
31488         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31489         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31490         * login/Makefile ($(objpfx)libutil.so): Likewise.
31491         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31492         * math/Makefile ($(objpfx)libm.so): Likewise.
31493         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31494         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31495         variable instead of depending directly on libc.
31496         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31497         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31498         $(link-libc-deps).
31499         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31500         libc.
31501         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31502         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31503         ($(objpfx)libanl.so): Likewise.
31504         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31505         ld.so.
31506         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31507         $(link-libc-deps).
31508         * sysdeps/i386/fpu/Makefile: Remove file.
31509         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31510         ($(objpfx)libm.so): Remove dependency on ld.so.
31512 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31514         [BZ # 15553]
31515         * nis/yp_xdr.c (XDRMAXNAME): Define.
31516         (XDRMAXRECORD): Define.
31517         (xdr_domainname): Use XDRMAXNAME.
31518         (xdr_mapname): Likewise.
31519         (xdr_peername): Likewise.
31520         (xdr_keydat): Use XDRMAXRECORD.
31521         (xdr_valdat): Likewise.
31523 2013-05-30  Jeff Law  <law@redhat.com>
31525         [BZ #14256]
31526         * manual/errno.texi (ESTALE): Update to account for more than
31527         just NFS file systems.
31528         * sysdeps/gnu/errlist.c: Regenerated.
31530 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31532         [BZ #15465]
31533         * elf/Makefile (tests): Add tst-null-argv.
31534         (modules-names):  Add tst-null-argv-lib.
31535         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31536         (tst-null-argv-ENV): Set environment for tst-null-argv.
31537         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31538         (RTLD_PROGNAME): New macro.
31539         * elf/tst-null-argv.c: New test case.
31540         * elf/tst-null-argv-lib.c: Library for test case.
31541         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31542         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31543         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31544         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31545         * elf/dl-init.c (call_init): Likewise.
31546         (_dl_init): Likewise.
31547         * elf/dl-load.c (print_search_path): Likewise.
31548         (_dl_map_object): Likewise.
31549         * elf/dl-lookup.c (do_lookup_x): Likewise.
31550         (add_dependency): Likewise.
31551         (_dl_lookup_symbol_x): Likewise.
31552         (_dl_debug_bindings): Likewise.
31553         * elf/dl-open.c (_dl_show_scope): Likewise.
31554         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31555         * elf/dl-version.c (match_symbol): Likewise.
31556         (_dl_check_map_versions): Likewise.
31557         * elf/rtld.c (dl_main): Likewise.
31558         (print_unresolved): Use RTLD_PROGNAME.
31559         (print_missing_version): Likewise.
31560         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31561         (elf_machine_rela): Likewise.
31562         * sysdeps/powerpc/powerpc32/dl-machine.c
31563         (__process_machine_rela): Likewise.
31564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31565         Likewise.
31566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31567         Likewise.
31568         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31569         Likewise.
31570         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31572         Likewise.
31573         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31574         Likewise.
31575         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31577 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31579         * po/be.po: Add descriptive title.
31580         * po/zh_CN.po: Likewise.
31581         * po/header.pot: Likewise.
31583 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31585         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31586         error message.
31587         (enlarge_archive): Likewise.
31589 2013-05-28  Ben North  <ben@redfrontdoor.org>
31591         * manual/arith.texi (frexp): It is the magnitude of the return
31592         value which lies in [0.5, 1), not the return value itself.
31594 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31598 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31600         * stdio-common/bug26.c (main): Correct fscanf template.
31602         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31603         declare _dl_skip_args.
31605         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31606         Don't declare.
31608         * manual/platform.texi: Add missing @end deftypefun.
31610 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31612         [BZ #15529]
31613         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31614         bit of mantissa of 2^16382.
31615         * math/libm-test.inc (hypot_test_data): Add more tests.
31617         * math/libm-test.inc: Add drem and pow10 to list of tested
31618         functions.
31619         (pow10_test): New function.
31620         (drem_test): Likewise.
31621         (drem_test_tonearest): Likewise.
31622         (drem_test_towardzero): Likewise.
31623         (drem_test_downward): Likewise.
31624         (drem_test_upward): Likewise.
31625         (main): Call the new functions.
31627         * math/libm-test.inc (finite_test_data): Remove.
31628         (finite_test): Run tests from isfinite_test_data.
31629         (gamma_test_data): Remove.
31630         (gamma_test): Run tests from lgamma_test_data.
31631         * sysdeps/i386/fpu/libm-test-ulps: Update.
31632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31634 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31636         * manual/platform.texi: Add PowerPC PPR function set documentation.
31637         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31638         implementation.
31640 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31642         * math/libm-test.inc (MAX_EXP): Define.
31643         (ULPDIFF): Define.
31644         (ulp): New function.
31645         (check_float_internal): Use ULPDIFF.
31646         (cpow_test): Disable failing test.
31647         (check_ulp): Test ulp() implemetnation.
31648         (main): Call check_ulp before starting tests.
31650 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31652         * math/gen-libm-test.pl (generate_testfile): Do not handle
31653         START_DATA and END_DATA.
31654         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31655         END_DATA.
31656         (acos_tonearest_test_data): Likewise.
31657         (acos_towardzero_test_data): Likewise.
31658         (acos_downward_test_data): Likewise.
31659         (acos_upward_test_data): Likewise.
31660         (acosh_test_data): Likewise.
31661         (asin_test_data): Likewise.
31662         (asin_tonearest_test_data): Likewise.
31663         (asin_towardzero_test_data): Likewise.
31664         (asin_downward_test_data): Likewise.
31665         (asin_upward_test_data): Likewise.
31666         (asinh_test_data): Likewise.
31667         (atan_test_data): Likewise.
31668         (atanh_test_data): Likewise.
31669         (atan2_test_data): Likewise.
31670         (cabs_test_data): Likewise.
31671         (cacos_test_data): Likewise.
31672         (cacosh_test_data): Likewise.
31673         (carg_test_data): Likewise.
31674         (casin_test_data): Likewise.
31675         (casinh_test_data): Likewise.
31676         (catan_test_data): Likewise.
31677         (catanh_test_data): Likewise.
31678         (cbrt_test_data): Likewise.
31679         (ccos_test_data): Likewise.
31680         (ccosh_test_data): Likewise.
31681         (ceil_test_data): Likewise.
31682         (cexp_test_data): Likewise.
31683         (cimag_test_data): Likewise.
31684         (clog_test_data): Likewise.
31685         (clog10_test_data): Likewise.
31686         (conj_test_data): Likewise.
31687         (copysign_test_data): Likewise.
31688         (cos_test_data): Likewise.
31689         (cos_tonearest_test_data): Likewise.
31690         (cos_towardzero_test_data): Likewise.
31691         (cos_downward_test_data): Likewise.
31692         (cos_upward_test_data): Likewise.
31693         (cosh_test_data): Likewise.
31694         (cosh_tonearest_test_data): Likewise.
31695         (cosh_towardzero_test_data): Likewise.
31696         (cosh_downward_test_data): Likewise.
31697         (cosh_upward_test_data): Likewise.
31698         (cpow_test_data): Likewise.
31699         (cproj_test_data): Likewise.
31700         (creal_test_data): Likewise.
31701         (csin_test_data): Likewise.
31702         (csinh_test_data): Likewise.
31703         (csqrt_test_data): Likewise.
31704         (ctan_test_data): Likewise.
31705         (ctan_tonearest_test_data): Likewise.
31706         (ctan_towardzero_test_data): Likewise.
31707         (ctan_downward_test_data): Likewise.
31708         (ctan_upward_test_data): Likewise.
31709         (ctanh_test_data): Likewise.
31710         (ctanh_tonearest_test_data): Likewise.
31711         (ctanh_towardzero_test_data): Likewise.
31712         (ctanh_downward_test_data): Likewise.
31713         (ctanh_upward_test_data): Likewise.
31714         (erf_test_data): Likewise.
31715         (erfc_test_data): Likewise.
31716         (exp_test_data): Likewise.
31717         (exp_tonearest_test_data): Likewise.
31718         (exp_towardzero_test_data): Likewise.
31719         (exp_downward_test_data): Likewise.
31720         (exp_upward_test_data): Likewise.
31721         (exp10_test_data): Likewise.
31722         (exp2_test_data): Likewise.
31723         (expm1_test_data): Likewise.
31724         (fabs_test_data): Likewise.
31725         (fdim_test_data): Likewise.
31726         (finite_test_data): Likewise.
31727         (floor_test_data): Likewise.
31728         (fma_test_data): Likewise.
31729         (fma_towardzero_test_data): Likewise.
31730         (fma_downward_test_data): Likewise.
31731         (fma_upward_test_data): Likewise.
31732         (fmax_test_data): Likewise.
31733         (fmin_test_data): Likewise.
31734         (fmod_test_data): Likewise.
31735         (fpclassify_test_data): Likewise.
31736         (frexp_test_data): Likewise.
31737         (gamma_test_data): Likewise.
31738         (hypot_test_data): Likewise.
31739         (ilogb_test_data): Likewise.
31740         (isfinite_test_data): Likewise.
31741         (isgreater_test_data): Likewise.
31742         (isgreaterequal_test_data): Likewise.
31743         (isinf_test_data): Likewise.
31744         (isless_test_data): Likewise.
31745         (islessequal_test_data): Likewise.
31746         (islessgreater_test_data): Likewise.
31747         (isnan_test_data): Likewise.
31748         (isnormal_test_data): Likewise.
31749         (issignaling_test_data): Likewise.
31750         (isunordered_test_data): Likewise.
31751         (j0_test_data): Likewise.
31752         (j1_test_data): Likewise.
31753         (jn_test_data): Likewise.
31754         (ldexp_test_data): Likewise.
31755         (lgamma_test_data): Likewise.
31756         (lrint_test_data): Likewise.
31757         (lrint_tonearest_test_data): Likewise.
31758         (lrint_towardzero_test_data): Likewise.
31759         (lrint_downward_test_data): Likewise.
31760         (lrint_upward_test_data): Likewise.
31761         (llrint_test_data): Likewise.
31762         (llrint_tonearest_test_data): Likewise.
31763         (llrint_towardzero_test_data): Likewise.
31764         (llrint_downward_test_data): Likewise.
31765         (llrint_upward_test_data): Likewise.
31766         (log_test_data): Likewise.
31767         (log10_test_data): Likewise.
31768         (log1p_test_data): Likewise.
31769         (log2_test_data): Likewise.
31770         (logb_test_data): Likewise.
31771         (logb_downward_test_data): Likewise.
31772         (lround_test_data): Likewise.
31773         (llround_test_data): Likewise.
31774         (modf_test_data): Likewise.
31775         (nearbyint_test_data): Likewise.
31776         (nextafter_test_data): Likewise.
31777         (nexttoward_test_data): Likewise.
31778         (pow_test_data): Likewise.
31779         (pow_tonearest_test_data): Likewise.
31780         (pow_towardzero_test_data): Likewise.
31781         (pow_downward_test_data): Likewise.
31782         (pow_upward_test_data): Likewise.
31783         (remainder_test_data): Likewise.
31784         (remainder_tonearest_test_data): Likewise.
31785         (remainder_towardzero_test_data): Likewise.
31786         (remainder_downward_test_data): Likewise.
31787         (remainder_upward_test_data): Likewise.
31788         (remquo_test_data): Likewise.
31789         (rint_test_data): Likewise.
31790         (rint_tonearest_test_data): Likewise.
31791         (rint_towardzero_test_data): Likewise.
31792         (rint_downward_test_data): Likewise.
31793         (rint_upward_test_data): Likewise.
31794         (round_test_data): Likewise.
31795         (scalb_test_data): Likewise.
31796         (scalbn_test_data): Likewise.
31797         (scalbln_test_data): Likewise.
31798         (signbit_test_data): Likewise.
31799         (sin_test_data): Likewise.
31800         (sin_tonearest_test_data): Likewise.
31801         (sin_towardzero_test_data): Likewise.
31802         (sin_downward_test_data): Likewise.
31803         (sin_upward_test_data): Likewise.
31804         (sincos_test_data): Likewise.
31805         (sinh_test_data): Likewise.
31806         (sinh_tonearest_test_data): Likewise.
31807         (sinh_towardzero_test_data): Likewise.
31808         (sinh_downward_test_data): Likewise.
31809         (sinh_upward_test_data): Likewise.
31810         (sqrt_test_data): Likewise.
31811         (tan_test_data): Likewise.
31812         (tan_tonearest_test_data): Likewise.
31813         (tan_towardzero_test_data): Likewise.
31814         (tan_downward_test_data): Likewise.
31815         (tan_upward_test_data): Likewise.
31816         (tanh_test_data): Likewise.
31817         (tgamma_test_data): Likewise.
31818         (trunc_test_data): Likewise.
31819         (y0_test_data): Likewise.
31820         (y1_test_data): Likewise.
31821         (yn_test_data): Likewise.
31822         (significand_test_data): Likewise.
31824         * math/gen-libm-test.pl (@functions): Remove variable.
31825         (generate_testfile): Don't handle START and END lines.
31826         * math/libm-test.inc (START): New macro.
31827         (END): Likewise.
31828         (END_COMPLEX): Likewise.
31829         (acos_test): Use END macro without arguments.
31830         (acos_test_tonearest): Likewise.
31831         (acos_test_towardzero): Likewise.
31832         (acos_test_downward): Likewise.
31833         (acos_test_upward): Likewise.
31834         (acosh_test): Likewise.
31835         (asin_test): Likewise.
31836         (asin_test_tonearest): Likewise.
31837         (asin_test_towardzero): Likewise.
31838         (asin_test_downward): Likewise.
31839         (asin_test_upward): Likewise.
31840         (asinh_test): Likewise.
31841         (atan_test): Likewise.
31842         (atanh_test): Likewise.
31843         (atan2_test): Likewise.
31844         (cabs_test): Likewise.
31845         (cacos_test): Use END_COMPLEX macro without arguments.
31846         (cacosh_test): Likewise.
31847         (carg_test): Use END macro without arguments.
31848         (casin_test): Use END_COMPLEX macro without arguments.
31849         (casinh_test): Likewise.
31850         (catan_test): Likewise.
31851         (catanh_test): Likewise.
31852         (cbrt_test): Use END macro without arguments.
31853         (ccos_test): Use END_COMPLEX macro without arguments.
31854         (ccosh_test): Likewise.
31855         (ceil_test): Use END macro without arguments.
31856         (cexp_test): Use END_COMPLEX macro without arguments.
31857         (cimag_test): Use END macro without arguments.
31858         (clog_test): Use END_COMPLEX macro without arguments.
31859         (clog10_test): Likewise.
31860         (conj_test): Likewise.
31861         (copysign_test): Use END macro without arguments.
31862         (cos_test): Likewise.
31863         (cos_test_tonearest): Likewise.
31864         (cos_test_towardzero): Likewise.
31865         (cos_test_downward): Likewise.
31866         (cos_test_upward): Likewise.
31867         (cosh_test): Likewise.
31868         (cosh_test_tonearest): Likewise.
31869         (cosh_test_towardzero): Likewise.
31870         (cosh_test_downward): Likewise.
31871         (cosh_test_upward): Likewise.
31872         (cpow_test): Use END_COMPLEX macro without arguments.
31873         (cproj_test): Likewise.
31874         (creal_test): Use END macro without arguments.
31875         (csin_test): Use END_COMPLEX macro without arguments.
31876         (csinh_test): Likewise.
31877         (csqrt_test): Likewise.
31878         (ctan_test): Likewise.
31879         (ctan_test_tonearest): Likewise.
31880         (ctan_test_towardzero): Likewise.
31881         (ctan_test_downward): Likewise.
31882         (ctan_test_upward): Likewise.
31883         (ctanh_test): Likewise.
31884         (ctanh_test_tonearest): Likewise.
31885         (ctanh_test_towardzero): Likewise.
31886         (ctanh_test_downward): Likewise.
31887         (ctanh_test_upward): Likewise.
31888         (erf_test): Use END macro without arguments.
31889         (erfc_test): Likewise.
31890         (exp_test): Likewise.
31891         (exp_test_tonearest): Likewise.
31892         (exp_test_towardzero): Likewise.
31893         (exp_test_downward): Likewise.
31894         (exp_test_upward): Likewise.
31895         (exp10_test): Likewise.
31896         (exp2_test): Likewise.
31897         (expm1_test): Likewise.
31898         (fabs_test): Likewise.
31899         (fdim_test): Likewise.
31900         (finite_test): Likewise.
31901         (floor_test): Likewise.
31902         (fma_test): Likewise.
31903         (fma_test_towardzero): Likewise.
31904         (fma_test_downward): Likewise.
31905         (fma_test_upward): Likewise.
31906         (fmax_test): Likewise.
31907         (fmin_test): Likewise.
31908         (fmod_test): Likewise.
31909         (fpclassify_test): Likewise.
31910         (frexp_test): Likewise.
31911         (gamma_test): Likewise.
31912         (hypot_test): Likewise.
31913         (ilogb_test): Likewise.
31914         (isfinite_test): Likewise.
31915         (isgreater_test): Likewise.
31916         (isgreaterequal_test): Likewise.
31917         (isinf_test): Likewise.
31918         (isless_test): Likewise.
31919         (islessequal_test): Likewise.
31920         (islessgreater_test): Likewise.
31921         (isnan_test): Likewise.
31922         (isnormal_test): Likewise.
31923         (issignaling_test): Likewise.
31924         (isunordered_test): Likewise.
31925         (j0_test): Likewise.
31926         (j1_test): Likewise.
31927         (jn_test): Likewise.
31928         (ldexp_test): Likewise.
31929         (lgamma_test): Likewise.
31930         (lrint_test): Likewise.
31931         (lrint_test_tonearest): Likewise.
31932         (lrint_test_towardzero): Likewise.
31933         (lrint_test_downward): Likewise.
31934         (lrint_test_upward): Likewise.
31935         (llrint_test): Likewise.
31936         (llrint_test_tonearest): Likewise.
31937         (llrint_test_towardzero): Likewise.
31938         (llrint_test_downward): Likewise.
31939         (llrint_test_upward): Likewise.
31940         (log_test): Likewise.
31941         (log10_test): Likewise.
31942         (log1p_test): Likewise.
31943         (log2_test): Likewise.
31944         (logb_test): Likewise.
31945         (logb_test_downward): Likewise.
31946         (lround_test): Likewise.
31947         (llround_test): Likewise.
31948         (modf_test): Likewise.
31949         (nearbyint_test): Likewise.
31950         (nextafter_test): Likewise.
31951         (nexttoward_test): Likewise.
31952         (pow_test): Likewise.
31953         (pow_test_tonearest): Likewise.
31954         (pow_test_towardzero): Likewise.
31955         (pow_test_downward): Likewise.
31956         (pow_test_upward): Likewise.
31957         (remainder_test): Likewise.
31958         (remainder_test_tonearest): Likewise.
31959         (remainder_test_towardzero): Likewise.
31960         (remainder_test_downward): Likewise.
31961         (remainder_test_upward): Likewise.
31962         (remquo_test): Likewise.
31963         (rint_test): Likewise.
31964         (rint_test_tonearest): Likewise.
31965         (rint_test_towardzero): Likewise.
31966         (rint_test_downward): Likewise.
31967         (rint_test_upward): Likewise.
31968         (round_test): Likewise.
31969         (scalb_test): Likewise.
31970         (scalbn_test): Likewise.
31971         (scalbln_test): Likewise.
31972         (signbit_test): Likewise.
31973         (sin_test): Likewise.
31974         (sin_test_tonearest): Likewise.
31975         (sin_test_towardzero): Likewise.
31976         (sin_test_downward): Likewise.
31977         (sin_test_upward): Likewise.
31978         (sincos_test): Likewise.
31979         (sinh_test): Likewise.
31980         (sinh_test_tonearest): Likewise.
31981         (sinh_test_towardzero): Likewise.
31982         (sinh_test_downward): Likewise.
31983         (sinh_test_upward): Likewise.
31984         (sqrt_test): Likewise.
31985         (tan_test): Likewise.
31986         (tan_test_tonearest): Likewise.
31987         (tan_test_towardzero): Likewise.
31988         (tan_test_downward): Likewise.
31989         (tan_test_upward): Likewise.
31990         (tanh_test): Likewise.
31991         (tgamma_test): Likewise.
31992         (trunc_test): Likewise.
31993         (y0_test): Likewise.
31994         (y1_test): Likewise.
31995         (yn_test): Likewise.
31996         (significand_test): Likewise.
31998 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32000         [BZ #15381]
32001         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32003 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32005         [BZ #14894]
32006         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32007         __ppc_mdoio and __ppc_mdoom.
32008         * manual/platform.texi: Document new functions __ppc_yield,
32009         __ppc_mdoio and __ppc_mdoom.
32011 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32013         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32014         (main): Mention "tls" pseudo-hwcap is legacy.
32015         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32017 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32019         * math/gen-libm-test.pl (parse_args): Output only string of
32020         arguments as text for test name, not full call or descriptions of
32021         tests for extra outputs.
32022         (generate_testfile): Do not pass function name to parse_args.
32023         Generate this_func variable from START.
32024         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32025         field to arg_str.
32026         (struct test_ff_f_data): Likewise.
32027         (test_ff_f_data_nexttoward): Likewise.
32028         (struct test_fi_f_data): Likewise.
32029         (struct test_fl_f_data): Likewise.
32030         (struct test_if_f_data): Likewise.
32031         (struct test_fff_f_data): Likewise.
32032         (struct test_c_f_data): Likewise.
32033         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32034         (struct test_fF_f1_data): Likewise.
32035         (struct test_ffI_f1_data): Likewise.
32036         (struct test_c_c_data): Rename test_name field to arg_str.
32037         (struct test_cc_c_data): Likewise.
32038         (struct test_f_i_data): Likewise.
32039         (struct test_ff_i_data): Likewise.
32040         (struct test_f_l_data): Likewise.
32041         (struct test_f_L_data): Likewise.
32042         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32043         and extra2_name.
32044         (COMMON_TEST_SETUP): New macro.
32045         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32046         (COMMON_TEST_CLEANUP): Likewise.
32047         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32048         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32049         macros.
32050         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32051         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32052         macros.
32053         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32054         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32055         cleanup macros.
32056         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32057         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32058         macros.
32059         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32060         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32061         macros.
32062         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32063         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32064         cleanup macros.
32065         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32066         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32067         cleanup macros.
32068         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32069         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32070         cleanup macros.
32071         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32072         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32073         macros.
32074         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32075         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32076         macros.
32077         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32078         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32079         macros.
32080         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32081         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32082         cleanup macros.
32083         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32084         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32085         cleanup macros.
32086         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32087         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32088         macros.
32089         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32090         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32091         cleanup macros.
32092         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32093         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32094         macros.
32095         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32096         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32097         macros.
32098         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32099         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32100         cleanup macros.
32101         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32103 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32105         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32106         to _sifields.sigfault.
32107         (si_addr_lsb): Define new macro.
32108         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32109         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32110         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32112 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32114         [BZ #15441]
32115         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32116         returns -1.
32117         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32118         null return -1.
32119         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32120         loading the domain.
32122 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32124         * math/gen-libm-test.pl (parse_args): Do not include expected
32125         result in test name.
32126         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32127         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32128         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32129         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32130         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32133 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32135         * benchtests/Makefile: Sort function entries.
32137         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32138         tanh, asinh, acosh, atanh.
32139         * benchtests/acos-inputs: New file.
32140         * benchtests/acosh-inputs: New file.
32141         * benchtests/asin-inputs: New file.
32142         * benchtests/asinh-inputs: New file.
32143         * benchtests/atanh-inputs: New file.
32144         * benchtests/cosh-inputs: New file.
32145         * benchtests/log-inputs: New file.
32146         * benchtests/sinh-inputs: New file.
32147         * benchtests/tanh-inputs: New file.
32149 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32151         [BZ #15339]
32152         * posix/tst-getaddrinfo4.c: New test.
32153         * posix/Makefile (tests): Add it.
32155 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32157         [BZ #15339]
32158         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32159         when no services were used.
32160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32161         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32163 2013-05-21  Andreas Schwab  <schwab@suse.de>
32165         [BZ #15014]
32166         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32167         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32168         successful.
32169         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32170         redundant variable declarations and reallocation of buffer when
32171         parsing as IPv6 address.  Always set NSS status when called from
32172         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32173         buffer too small.  Correct computation of needed size.
32174         * nss/Makefile (tests): Add test-digits-dots.
32175         * nss/test-digits-dots.c: New test.
32177 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32179         * benchtests/Makefile: Remove instructions for adding
32180         benchmark tests.
32181         * benchtests/README: New file to explain how to execute and
32182         enhance the benchmark tests.
32184 2013-05-21  Andreas Schwab  <schwab@suse.de>
32186         [BZ #15493]
32187         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32188         * setjmp/tst-sigsetjmp.c: New test.
32190 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32192         * sysdeps/x86_64/memset.S (memset): New implementation.
32193         (__bzero): Likewise.
32194         (__memset_tail): New function.
32196 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32198         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32199         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32200         __memcpy_sse2_unaligned ifunc selection.
32201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32202         Add memcpy-sse2-unaligned.S.
32203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32204         Add: __memcpy_sse2_unaligned.
32206 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32208         [BZ #15490]
32209         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32210         math_force_eval before restoring floating-point envrionment.
32211         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32212         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32213         Likewise.
32214         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32215         <math_private.h>.
32216         (__nearbyintl): Use math_force_eval before restoring
32217         floating-point environment.
32218         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32220         * math/gen-libm-test.pl (special_functions): Remove.
32221         (parse_args): Don't handle TEST_extra.  Handle functions with no
32222         return value.
32223         * math/libm-test.inc (struct test_sincos_data): Replace with
32224         struct test_fFF_11_data.
32225         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32226         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32227         (sincos_test_data): Change element type to struct
32228         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32229         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32230         RUN_TEST_LOOP_sincos.
32231         * math/README.libm-test: Don't mention special handling of
32232         individual functions.
32233         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32235         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32236         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32237         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32240         * math/gen-libm-test.pl (get_variable): Remove function.
32241         (parse_args): Don't show pointer parameters to call in test
32242         names.  Use "extra output N" in test names for extra outputs
32243         rather than naming variables.
32245 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32247         [BZ #15488]
32248         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32249         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32250         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32251         double tests.
32252         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32253         disable.
32254         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32255         check_long_double.
32257         * math/gen-libm-test.pl (@tests): Remove variable.
32258         ($count): Likewise.
32259         (new_test): Remove function.
32260         (show_exceptions): New function.
32261         (special_functions): Use show_exceptions instead of new_test.
32262         (parse_args): Likewise.
32263         (generate_testfile): Pass only function name in generated call to
32264         print_max_error or print_complex_max_error.
32265         (get_ulps): Do not handle complex tests specially.
32266         (output_test): Rename to ...
32267         (get_all_ulps_for_test): ... this.  Return a string rather than
32268         printing to a file.  Require ulps to be present.
32269         (output_ulps): Generate arrays rather than #defines.
32270         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32271         (struct ulp_data): New type.
32272         (BUILD_COMPLEX_ULP): Remove macro.
32273         (compare_ulp_data): New function.
32274         (find_ulps): Likewise.
32275         (find_test_ulps): Likewise.
32276         (find_function_ulps): Likewise.
32277         (find_complex_function_ulps): Likewise.
32278         (print_max_error): Determine allowed ulps using
32279         find_function_ulps.
32280         (print_complex_max_error): Determine allowed ulps using
32281         find_complex_function_ulps.
32282         (check_float_internal): Determine max ulps using find_test_ulps.
32283         (check_float): Do not take max_ulp parameter.  Update call to
32284         check_float_internal.
32285         (check_complex): Likewise.
32286         (check_int): Do not take max_ulp parameter.
32287         (check_long): Likewise.
32288         (check_bool): Likewise.
32289         (check_longlong): Likewise.
32290         (struct test_f_f_data): Remove max_ulp field.
32291         (struct test_ff_f_data): Likewise.
32292         (struct test_ff_f_data_nexttoward): Likewise.
32293         (struct test_fi_f_data): Likewise.
32294         (struct test_fl_f_data): Likewise.
32295         (struct test_if_f_data): Likewise.
32296         (struct test_fff_f_data): Likewise.
32297         (struct test_c_f_data): Likewise.
32298         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32299         (struct test_fF_f1_data): Likewise.
32300         (struct test_ffI_f1_data): Likewise.
32301         (struct test_c_c_data): Remove max_ulp field.
32302         (struct test_cc_c_data): Likewise.
32303         (struct test_f_i_data): Likewise.
32304         (struct test_ff_i_data): Likewise.
32305         (struct test_f_l_data): Likewise.
32306         (struct test_f_L_data): Likewise.
32307         (struct test_sincos_data): Likewise.
32308         (RUN_TEST_f_f): Do not handle ulps.
32309         (RUN_TEST_LOOP_f_f): Likewise.
32310         (RUN_TEST_2_f): Likewise.
32311         (RUN_TEST_LOOP_2_f): Likewise.
32312         (RUN_TEST_fff_f): Likewise.
32313         (RUN_TEST_LOOP_fff_f): Likewise.
32314         (RUN_TEST_c_f): Likewise.
32315         (RUN_TEST_LOOP_c_f): Likewise.
32316         (RUN_TEST_f_f1): Likewise.
32317         (RUN_TEST_LOOP_f_f1): Likewise.
32318         (RUN_TEST_fF_f1): Likewise.
32319         (RUN_TEST_LOOP_fF_f1): Likewise.
32320         (RUN_TEST_fI_f1): Likewise.
32321         (RUN_TEST_LOOP_fI_f1): Likewise.
32322         (RUN_TEST_ffI_f1): Likewise.
32323         (RUN_TEST_LOOP_ffI_f1): Likewise.
32324         (RUN_TEST_c_c): Likewise.
32325         (RUN_TEST_LOOP_c_c): Likewise.
32326         (RUN_TEST_cc_c): Likewise.
32327         (RUN_TEST_LOOP_cc_c): Likewise.
32328         (RUN_TEST_f_i): Likewise.
32329         (RUN_TEST_LOOP_f_i): Likewise.
32330         (RUN_TEST_f_i_tg): Likewise.
32331         (RUN_TEST_LOOP_f_i_tg): Likewise.
32332         (RUN_TEST_ff_i_tg): Likewise.
32333         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32334         (RUN_TEST_f_b): Likewise.
32335         (RUN_TEST_LOOP_f_b): Likewise.
32336         (RUN_TEST_f_b_tg): Likewise.
32337         (RUN_TEST_LOOP_f_b_tg): Likewise.
32338         (RUN_TEST_f_l): Likewise.
32339         (RUN_TEST_LOOP_f_l): Likewise.
32340         (RUN_TEST_f_L): Likewise.
32341         (RUN_TEST_LOOP_f_L): Likewise.
32342         (RUN_TEST_sincos): Likewise.
32343         (RUN_TEST_LOOP_sincos): Likewise.
32345 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32347         [BZ #15480]
32348         [BZ #15485]
32349         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32350         main case of finite arguments, set rounding mode to FE_TONEAREST
32351         and discard exceptions.
32352         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32353         exceptions.
32354         (remainder_tonearest_test_data): New variable.
32355         (remainder_test_tonearest): New function.
32356         (remainder_towardzero_test_data): New variable.
32357         (remainder_test_towardzero): New function.
32358         (remainder_downward_test_data): New variable.
32359         (remainder_test_downward): New function.
32360         (remainder_upward_test_data): New variable.
32361         (remainder_test_upward): New function.
32362         (main): Call the new test functions.
32364         * math/libm-test.inc (struct test_f_f1_data): Remove field
32365         extra_init.
32366         (struct test_fF_f1_data): Likewise.
32367         (struct test_ffI_f1_data): Likewise.
32368         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32369         based on value of EXTRA_EXPECTED.
32370         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32371         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32372         EXTRA_VAR based on value of EXTRA_EXPECTED.
32373         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32374         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32375         EXTRA_VAR based on value of EXTRA_EXPECTED.
32376         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32377         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32378         EXTRA_VAR based on value of EXTRA_EXPECTED.
32379         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32380         * math/gen-libm-test.pl (parse_args): Don't output initializers
32381         for extra output values.
32383         * math/libm-test.inc (check_int): Expect result to be exactly
32384         equal to expected value and do not handle ulps.
32385         (check_long): Likewise.
32386         (check_longlong): Likewise.
32388         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32389         exceptions.
32390         (cimag_test_data): Likewise.
32391         (conj_test_data): Likewise.
32392         (copysign_test_data): Likewise.
32393         (cproj_test_data): Likewise.
32394         (creal_test_data): Likewise.
32395         (fabs_test_data): Likewise.
32396         (fdim_test_data): Likewise.
32397         (finite_test_data): Likewise.
32398         (floor_test_data): Likewise.
32399         (fmax_test_data): Likewise.
32400         (fmin_test_data): Likewise.
32401         (fmod_test_data): Likewise.
32402         (fpclassify_test_data): Likewise.
32403         (frexp_test_data): Likewise.
32404         (ilogb_test_data): Likewise.
32405         (isfinite_test_data): Likewise.
32406         (isgreater_test_data): Likewise.
32407         (isgreaterequal_test_data): Likewise.
32408         (isinf_test_data): Likewise.
32409         (isless_test_data): Likewise.
32410         (islessequal_test_data): Likewise.
32411         (islessgreater_test_data): Likewise.
32412         (isnan_test_data): Likewise.
32413         (isnormal_test_data): Likewise.
32414         (issignaling_test_data): Likewise.
32415         (isunordered_test_data): Likewise.
32416         (ldexp_test_data): Likewise.
32417         (lrint_test_data): Likewise.
32418         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32419         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32420         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32421         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32422         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32423         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32424         test input.
32425         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32426         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32427         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32428         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32429         that test input.
32430         (lrint_downward_test_data): Test for "inexact" exceptions.
32431         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32432         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32433         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32434         test input.
32435         (lrint_upward_test_data): Test for "inexact" exceptions.
32436         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32437         test input.
32438         (llrint_test_data): Test for "inexact" exceptions.
32439         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32440         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32441         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32442         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32443         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32444         (llrint_downward_test_data): Test for "inexact" exceptions.
32445         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32446         (llrint_upward_test_data): Test for "inexact" exceptions.
32447         (logb_test_data): Likewise.
32448         (logb_downward_test_data): Likewise.
32449         (nextafter_test_data): Likewise.
32450         (nexttoward_test_data): Likewise.
32451         (remainder_test_data): Likewise.
32452         (remquo_test_data): Likewise.
32453         (scalbn_test_data): Likewise.
32454         (scalbln_test_data): Likewise.
32455         (signbit_test_data): Likewise.
32456         (sqrt_test_data): Likewise.
32457         (significand_test_data): Likewise.
32459 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32461         [BZ #15424]
32462         * benchtests/bench-modf.c (struct args): Mark arg0 as
32463         volatile.
32464         * scripts/bench.pl: Mark members of struct args as volatile.
32466 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32468         [BZ # 15497]
32469         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32470         negative infinity on POWER6 or lower.
32471         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32473 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32475         [BZ #15442]
32476         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32477         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32478         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32479         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32480         (_FP_SETQNAN): New macro.
32481         (_FP_SETQNAN_SEMIRAW): Likewise.
32482         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32483         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32484         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32485         (FP_EXTEND): Use _FP_FRAC_SNANP.
32486         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32487         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32488         into account.
32489         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32490         New macro.
32491         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32492         Likewise.
32494 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32496         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32497         with DIVIDE_BY_ZERO_EXCEPTION.
32498         (gamma_test_data): Likewise.
32499         (lgamma_test_data): Likewise.
32500         (log_test_data): Likewise.
32501         (log10_test_data): Likewise.
32502         (log2_test_data): Likewise.
32503         (tgamma_test_data): Likewise.
32505         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32506         (acos_test_tonearest): Likewise.
32507         (acos_test_towardzero): Likewise.
32508         (acos_test_downward): Likewise.
32509         (acos_test_upward): Likewise.
32510         (acosh_test): Likewise.
32511         (asin_test): Likewise.
32512         (asin_test_tonearest): Likewise.
32513         (asin_test_towardzero): Likewise.
32514         (asin_test_downward): Likewise.
32515         (asin_test_upward): Likewise.
32516         (asinh_test): Likewise.
32517         (atan_test): Likewise.
32518         (atanh_test): Likewise.
32519         (atan2_test): Likewise.
32520         (cabs_test): Likewise.
32521         (cacos_test): Likewise.
32522         (cacosh_test): Likewise.
32523         (casin_test): Likewise.
32524         (casinh_test): Likewise.
32525         (catan_test): Likewise.
32526         (catanh_test): Likewise.
32527         (cbrt_test): Likewise.
32528         (ccos_test): Likewise.
32529         (ccosh_test): Likewise.
32530         (cexp_test): Likewise.
32531         (clog_test): Likewise.
32532         (clog10_test): Likewise.
32533         (cos_test): Likewise.
32534         (cos_test_tonearest): Likewise.
32535         (cos_test_towardzero): Likewise.
32536         (cos_test_downward): Likewise.
32537         (cos_test_upward): Likewise.
32538         (cosh_test): Likewise.
32539         (cosh_test_tonearest): Likewise.
32540         (cosh_test_towardzero): Likewise.
32541         (cosh_test_downward): Likewise.
32542         (cosh_test_upward): Likewise.
32543         (cpow_test): Likewise.
32544         (csin_test): Likewise.
32545         (csinh_test): Likewise.
32546         (csqrt_test): Likewise.
32547         (ctan_test): Likewise.
32548         (ctan_test_tonearest): Likewise.
32549         (ctan_test_towardzero): Likewise.
32550         (ctan_test_downward): Likewise.
32551         (ctan_test_upward): Likewise.
32552         (ctanh_test): Likewise.
32553         (ctanh_test_tonearest): Likewise.
32554         (ctanh_test_towardzero): Likewise.
32555         (ctanh_test_downward): Likewise.
32556         (ctanh_test_upward): Likewise.
32557         (erf_test): Likewise.
32558         (erfc_test): Likewise.
32559         (exp_test): Likewise.
32560         (exp_test_tonearest): Likewise.
32561         (exp_test_towardzero): Likewise.
32562         (exp_test_downward): Likewise.
32563         (exp_test_upward): Likewise.
32564         (exp10_test): Likewise.
32565         (exp2_test): Likewise.
32566         (expm1_test): Likewise.
32567         (fmod_test): Likewise.
32568         (gamma_test): Likewise.
32569         (hypot_test): Likewise.
32570         (j0_test): Likewise.
32571         (j1_test): Likewise.
32572         (jn_test): Likewise.
32573         (lgamma_test): Likewise.
32574         (log_test): Likewise.
32575         (log10_test): Likewise.
32576         (log1p_test): Likewise.
32577         (log2_test): Likewise.
32578         (logb_test_downward): Likewise.
32579         (pow_test): Likewise.
32580         (pow_test_tonearest): Likewise.
32581         (pow_test_towardzero): Likewise.
32582         (pow_test_downward): Likewise.
32583         (pow_test_upward): Likewise.
32584         (remainder_test): Likewise.
32585         (remquo_test): Likewise.
32586         (sin_test): Likewise.
32587         (sin_test_tonearest): Likewise.
32588         (sin_test_towardzero): Likewise.
32589         (sin_test_downward): Likewise.
32590         (sin_test_upward): Likewise.
32591         (sincos_test): Likewise.
32592         (sinh_test): Likewise.
32593         (sinh_test_tonearest): Likewise.
32594         (sinh_test_towardzero): Likewise.
32595         (sinh_test_downward): Likewise.
32596         (sinh_test_upward): Likewise.
32597         (sqrt_test): Likewise.
32598         (tan_test): Likewise.
32599         (tan_test_tonearest): Likewise.
32600         (tan_test_towardzero): Likewise.
32601         (tan_test_downward): Likewise.
32602         (tan_test_upward): Likewise.
32603         (tanh_test): Likewise.
32604         (tgamma_test): Likewise.
32605         (y0_test): Likewise.
32606         (y1_test): Likewise.
32607         (yn_test): Likewise.
32609         * math/gen-libm-test.pl (adjust_arg): Remove function.
32610         (special_function): Remove argument $in_func.  Only handle
32611         generating output for tables of tests, not inside functions.
32612         (parse_args): Likewise.
32613         (generate_testfile): Remove variable $in_func.  Update call to
32614         parse_args.
32615         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32616         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32617         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32618         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32619         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32620         (MAX_VALUE_INIT): Rename macro to max_value.
32621         (MIN_VALUE_INIT): Rename macro to min_value.
32622         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32623         (plus_zero): Remove variable.
32624         (minus_zero): Likewise.
32625         (plus_infty): Likewise.
32626         (minus_infty): Likewise.
32627         (qnan_value): Likewise.
32628         (max_value): Likewise.
32629         (min_value): Likewise.
32630         (min_subnorm_value): Likewise.
32632 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32634         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32635         uint64_t or uint32_t usage.
32636         * crypt/sha256-block.c: Likewise.
32637         * crypt/sha256-crypt.c: Likewise.
32638         * crypt/sha256.c: Likewise.
32639         * crypt/sha512-block.c: Likewise.
32640         * crypt/sha512-crypt.c: Likewise.
32641         * crypt/sha512.c: Likewise.
32642         * debug/backtrace-tst.c: Likewise.
32643         * debug/pcprofiledump.c: Likewise.
32644         * elf/cache.c: Likewise.
32645         * elf/dl-cache.c: Likewise.
32646         * elf/dl-misc.c: Likewise.
32647         * elf/dl-profile.c: Likewise.
32648         * elf/dl-support.c: Likewise.
32649         * elf/ldconfig.c: Likewise.
32650         * elf/sprof.c: Likewise.
32651         * iconv/dummy-repertoire.c: Likewise.
32652         * iconv/iconv_charmap.c: Likewise.
32653         * iconv/skeleton.c: Likewise.
32654         * iconvdata/8bit-generic.c: Likewise.
32655         * iconvdata/cp737.h: Likewise.
32656         * iconvdata/cp775.h: Likewise.
32657         * iconvdata/ibm1008.h: Likewise.
32658         * iconvdata/ibm1025.h: Likewise.
32659         * iconvdata/ibm1046.h: Likewise.
32660         * iconvdata/ibm1097.h: Likewise.
32661         * iconvdata/ibm1112.h: Likewise.
32662         * iconvdata/ibm1122.h: Likewise.
32663         * iconvdata/ibm1123.h: Likewise.
32664         * iconvdata/ibm1124.h: Likewise.
32665         * iconvdata/ibm1129.h: Likewise.
32666         * iconvdata/ibm1130.h: Likewise.
32667         * iconvdata/ibm1132.h: Likewise.
32668         * iconvdata/ibm1133.h: Likewise.
32669         * iconvdata/ibm1137.h: Likewise.
32670         * iconvdata/ibm1140.h: Likewise.
32671         * iconvdata/ibm1141.h: Likewise.
32672         * iconvdata/ibm1142.h: Likewise.
32673         * iconvdata/ibm1143.h: Likewise.
32674         * iconvdata/ibm1144.h: Likewise.
32675         * iconvdata/ibm1145.h: Likewise.
32676         * iconvdata/ibm1146.h: Likewise.
32677         * iconvdata/ibm1147.h: Likewise.
32678         * iconvdata/ibm1148.h: Likewise.
32679         * iconvdata/ibm1149.h: Likewise.
32680         * iconvdata/ibm1153.h: Likewise.
32681         * iconvdata/ibm1154.h: Likewise.
32682         * iconvdata/ibm1155.h: Likewise.
32683         * iconvdata/ibm1156.h: Likewise.
32684         * iconvdata/ibm1157.h: Likewise.
32685         * iconvdata/ibm1158.h: Likewise.
32686         * iconvdata/ibm1160.h: Likewise.
32687         * iconvdata/ibm1161.h: Likewise.
32688         * iconvdata/ibm1162.h: Likewise.
32689         * iconvdata/ibm1163.h: Likewise.
32690         * iconvdata/ibm1164.h: Likewise.
32691         * iconvdata/ibm1166.h: Likewise.
32692         * iconvdata/ibm1167.h: Likewise.
32693         * iconvdata/ibm12712.h: Likewise.
32694         * iconvdata/ibm1390.h: Likewise.
32695         * iconvdata/ibm1399.h: Likewise.
32696         * iconvdata/ibm16804.h: Likewise.
32697         * iconvdata/ibm4517.h: Likewise.
32698         * iconvdata/ibm4899.h: Likewise.
32699         * iconvdata/ibm4909.h: Likewise.
32700         * iconvdata/ibm4971.h: Likewise.
32701         * iconvdata/ibm5347.h: Likewise.
32702         * iconvdata/ibm803.h: Likewise.
32703         * iconvdata/ibm856.h: Likewise.
32704         * iconvdata/ibm901.h: Likewise.
32705         * iconvdata/ibm902.h: Likewise.
32706         * iconvdata/ibm9030.h: Likewise.
32707         * iconvdata/ibm9066.h: Likewise.
32708         * iconvdata/ibm921.h: Likewise.
32709         * iconvdata/ibm922.h: Likewise.
32710         * iconvdata/ibm9448.h: Likewise.
32711         * iconvdata/isiri-3342.h: Likewise.
32712         * iconvdata/jis0201.h: Likewise.
32713         * include/link.h: Likewise.
32714         * include/netdb.h: Likewise.
32715         * inet/check_native.c: Likewise.
32716         * inet/check_pf.c: Likewise.
32717         * inet/getipv4sourcefilter.c: Likewise.
32718         * inet/getnameinfo.c: Likewise.
32719         * inet/getsourcefilter.c: Likewise.
32720         * inet/htonl.c: Likewise.
32721         * inet/setipv4sourcefilter.c: Likewise.
32722         * inet/setsourcefilter.c: Likewise.
32723         * inet/test-inet6_opt.c: Likewise.
32724         * inet/tst-network.c: Likewise.
32725         * locale/C-collate.c: Likewise.
32726         * locale/C-ctype.c: Likewise.
32727         * locale/C-time.c: Likewise.
32728         * locale/C-translit.h: Likewise.
32729         * locale/loadarchive.c: Likewise.
32730         * locale/programs/3level.h: Likewise.
32731         * locale/programs/charmap.c: Likewise.
32732         * locale/programs/charmap.h: Likewise.
32733         * locale/programs/ld-address.c: Likewise.
32734         * locale/programs/ld-collate.c: Likewise.
32735         * locale/programs/ld-ctype.c: Likewise.
32736         * locale/programs/ld-identification.c: Likewise.
32737         * locale/programs/ld-measurement.c: Likewise.
32738         * locale/programs/ld-messages.c: Likewise.
32739         * locale/programs/ld-monetary.c: Likewise.
32740         * locale/programs/ld-name.c: Likewise.
32741         * locale/programs/ld-numeric.c: Likewise.
32742         * locale/programs/ld-paper.c: Likewise.
32743         * locale/programs/ld-telephone.c: Likewise.
32744         * locale/programs/ld-time.c: Likewise.
32745         * locale/programs/linereader.c: Likewise.
32746         * locale/programs/locale.c: Likewise.
32747         * locale/programs/locarchive.c: Likewise.
32748         * locale/programs/locfile.h: Likewise.
32749         * locale/programs/repertoire.c: Likewise.
32750         * locale/programs/simple-hash.c: Likewise.
32751         * locale/programs/simple-hash.h: Likewise.
32752         * malloc/memusage.c: Likewise.
32753         * malloc/memusagestat.c: Likewise.
32754         * nis/nis_defaults.c: Likewise.
32755         * nis/nis_hash.c: Likewise.
32756         * nis/nis_print.c: Likewise.
32757         * nis/nis_xdr.c: Likewise.
32758         * nscd/connections.c: Likewise.
32759         * nscd/hstcache.c: Likewise.
32760         * nscd/nscd_gethst_r.c: Likewise.
32761         * nscd/nscd_getserv_r.c: Likewise.
32762         * nscd/nscd_helper.c: Likewise.
32763         * nscd/servicescache.c: Likewise.
32764         * nss/makedb.c: Likewise.
32765         * nss/nss_db/db-XXX.c: Likewise.
32766         * nss/nss_db/db-initgroups.c: Likewise.
32767         * nss/nss_db/db-netgrp.c: Likewise.
32768         * nss/nss_files/files-network.c: Likewise.
32769         * nss/nss_files/files-parse.c: Likewise.
32770         * posix/bug-regex5.c: Likewise.
32771         * posix/fnmatch_loop.c: Likewise.
32772         * posix/regcomp.c: Likewise.
32773         * posix/regexec.c: Likewise.
32774         * posix/tst-rfc3484-2.c: Likewise.
32775         * posix/tst-rfc3484-3.c: Likewise.
32776         * posix/tst-rfc3484.c: Likewise.
32777         * resolv/nss_dns/dns-canon.c: Likewise.
32778         * resolv/nss_dns/dns-network.c: Likewise.
32779         * resolv/res_init.c: Likewise.
32780         * resolv/res_mkquery.c: Likewise.
32781         * resolv/tst-aton.c: Likewise.
32782         * stdlib/cxa_atexit.c: Likewise.
32783         * stdlib/cxa_finalize.c: Likewise.
32784         * stdlib/gen-fpioconst.c: Likewise.
32785         * stdlib/strtol_l.c: Likewise.
32786         * string/tst-endian.c: Likewise.
32787         * sunrpc/auth_des.c: Likewise.
32788         * sunrpc/clnt_udp.c: Likewise.
32789         * sunrpc/rtime.c: Likewise.
32790         * sunrpc/svcauth_des.c: Likewise.
32791         * sunrpc/xdr.c: Likewise.
32792         * sunrpc/xdr_intXX_t.c: Likewise.
32793         * sunrpc/xdr_rec.c: Likewise.
32794         * sysdeps/generic/ldconfig.h: Likewise.
32795         * sysdeps/generic/ldsodefs.h: Likewise.
32796         * sysdeps/generic/memusage.h: Likewise.
32797         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32798         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32799         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32800         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32801         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32803         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32804         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32805         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32806         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32807         * sysdeps/posix/getaddrinfo.c: Likewise.
32808         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32809         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32810         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32811         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32812         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32813         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32814         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32815         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32816         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32817         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32818         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32819         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32820         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32821         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32822         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32823         * sysdeps/x86_64/dl-tls.h: Likewise.
32824         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32825         * time/alt_digit.c: Likewise.
32826         * time/era.c: Likewise.
32827         * wcsmbs/tst-c16c32-1.c: Likewise.
32829 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32831         * math/libm-test.inc (struct test_sincos_data): New type.
32832         (RUN_TEST_LOOP_sincos): New macro.
32833         (sincos_test_data): New variable.
32834         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32836 2013-05-16  Richard Henderson  <rth@redhat.com>
32838         * math/atest-exp2.c (LIMB64): New macro.
32839         (CONSTSZ): New macro.
32840         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32841         (hexdig): Move ...
32842         (print_mpn_fp): ... to function scope.
32843         (read_mpn_hex): Remove.
32844         (get_log2): Remove.
32845         (exp2_mpn): Use mp_log2.
32846         (main): Use mp_exp1.
32848 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32850         * math/libm-test.inc: Remove comment about not testing "inexact"
32851         exceptions.
32852         (INEXACT_EXCEPTION): New macro.
32853         (NO_INEXACT_EXCEPTION): Likewise.
32854         (INVALID_EXCEPTION_OK): Update value.
32855         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32856         (OVERFLOW_EXCEPTION_OK): Likewise.
32857         (UNDERFLOW_EXCEPTION_OK): Likewise.
32858         (IGNORE_ZERO_INF_SIGN): Likewise.
32859         (ERRNO_UNCHANGED): Likewise.
32860         (ERRNO_EDOM): Likewise.
32861         (ERRNO_ERANGE): Likewise.
32862         (test_exceptions): Handle testing "inexact" exceptions.
32863         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32864         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32865         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32866         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32867         INEXACT_EXCEPTION.
32868         (rint_towardzero_test_data): Likewise.
32869         (rint_downward_test_data): Likewise.
32870         (rint_upward_test_data): Likewise.
32872         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32873         with OVERFLOW_EXCEPTION.
32874         (exp10_test_data): Likewise.
32875         (exp2_test_data): Likewise.
32876         (expm1_test_data): Likewise.
32877         (lgamma_test_data): Likewise.
32878         (pow_test_data): Likewise.
32879         (tgamma_test_data): Likewise.
32880         (yn_test_data): Remove duplicate test of overflow.
32882         * math/libm-test.inc (struct test_cc_c_data): New type.
32883         (RUN_TEST_LOOP_cc_c): New macro.
32884         (cpow_test_data): New variable.
32885         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32887         * math/libm-test.inc (struct test_f_L_data): New type.
32888         (RUN_TEST_LOOP_f_L): New macro.
32889         (llrint_test_data): New variable.
32890         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32891         (llrint_tonearest_test_data): New variable.
32892         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32893         (llrint_towardzero_test_data): New variable.
32894         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32895         (llrint_downward_test_data): New variable.
32896         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32897         (llrint_upward_test_data): New variable.
32898         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32899         (llround_test_data): New variable.
32900         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32902 2013-05-13  Peter Collingbourne  <pcc@google.com>
32904         * math/atest-exp2.c (get_log2): Remove const attribute.
32906 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32908         * math/libm-test.inc (struct test_f_l_data): New type.
32909         (RUN_TEST_LOOP_f_l): New macro.
32910         (lrint_test_data): New variable.
32911         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32912         (lrint_tonearest_test_data): New variable.
32913         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32914         (lrint_towardzero_test_data): New variable.
32915         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32916         (lrint_downward_test_data): New variable.
32917         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32918         (lrint_upward_test_data): New variable.
32919         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32920         (lround_test_data): New variable.
32921         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32923 2013-05-15  Peter Collingbourne  <pcc@google.com>
32925         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32926         (EXTRACT_WORDS64) Use where appropriate.
32927         (INSERT_WORDS64) Likewise.
32929         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32930         constraints with x constraints.
32931         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32933         * malloc/obstack.c (_obstack_compat): Add initializer.
32935 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32937         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32938         si_trapno and add si_addr_lsb to _sifields.sigfault.
32939         (si_trapno): Remove macro.
32940         (si_addr_lsb): Define new macro.
32941         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32943 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32945         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32946         instead of TEST_f_l.
32947         (llrint_test_tonearest): Likewise.
32948         (llrint_test_towardzero): Likewise.
32949         (llrint_test_downward): Likewise.
32950         (llrint_test_upward): Likewise.
32951         (llround_test): Likewise.
32953         * math/libm-test.inc (struct test_f_i_data): Add comment.
32954         (RUN_TEST_LOOP_f_b): New macro.
32955         (RUN_TEST_LOOP_f_b_tg): Likewise.
32956         (finite_test_data): New variable.
32957         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32958         (isfinite_test_data): New variable.
32959         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32960         (isinf_test_data): New variable.
32961         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32962         (isnan_test_data): New variable.
32963         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32964         (isnormal_test_data): New variable.
32965         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32966         (issignaling_test_data): New variable.
32967         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32968         (signbit_test_data): New variable.
32969         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32971         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32972         with INVALID_EXCEPTION.
32973         (acosh_test_data): Likewise.
32974         (asin_test_data): Likewise.
32975         (atanh_test_data): Likewise.
32976         (fmod_test_data): Likewise.
32977         (log_test_data): Likewise.
32978         (log10_test_data): Likewise.
32979         (log2_test_data): Likewise.
32980         (pow_test_data): Likewise.
32981         (sqrt_test_data): Likewise.
32982         (y0_test_data): Likewise.
32983         (y1_test_data): Likewise.
32984         (yn_test_data): Likewise.
32986         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32987         function contents.
32989         * math/libm-test.inc (struct test_ff_i_data): New type.
32990         (RUN_TEST_LOOP_ff_i_tg): New macro.
32991         (isgreater_test_data): New variable.
32992         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32993         (isgreaterequal_test_data): New variable.
32994         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32995         (isless_test_data): New variable.
32996         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32997         (islessequal_test_data): New variable.
32998         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32999         (islessgreater_test_data): New variable.
33000         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33001         (isunordered_test_data): New variable.
33002         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33004 2013-05-14  David S. Miller  <davem@davemloft.net>
33006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33008 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33010         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33012         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33013         extra_test to int.
33014         (struct test_f_i_data): Change type of max_ulp to int.
33016         * math/libm-test.inc (test_ffI_f1_data): New type.
33017         (RUN_TEST_LOOP_ffI_f1): New macro.
33018         (remquo_test_data): New variable.
33019         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33021         * setjmp/tst-setjmp-fp.c: New file.
33022         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33023         (link-libm): New variable.
33024         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33026         * math/libm-test.inc (struct test_f_i_data): New type.
33027         (RUN_TEST_LOOP_f_i): New macro.
33028         (RUN_TEST_LOOP_f_i_tg): Likewise.
33029         (fpclassify_test_data): New variable.
33030         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33031         (ilogb_test_data): New variable.
33032         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33034         * math/libm-test.inc (scalbln_test): Correct function name in END
33035         call.
33037         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33038         (RUN_TEST_LOOP_fI_f1): New macro.
33039         (frexp_test_data): New variable.
33040         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33042         * math/libm-test.inc (struct test_fF_f1_data): New type.
33043         (RUN_TEST_LOOP_fF_f1): New macro.
33044         (modf_test_data): New variable.
33045         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33047         * math/libm-test.inc (struct test_f_f1_data): New type.
33048         (RUN_TEST_LOOP_f_f1): New macro.
33049         (gamma_test_data): New variable.
33050         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33051         (lgamma_test_data): New variable.
33052         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33054 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33056         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33057         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33058         (main): Comment "tls" pseudo-hwcap.
33060 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33062         * math/libm-test.inc (struct test_fl_f_data): New type.
33063         (RUN_TEST_LOOP_fl_f): New variable.
33064         (scalbln_test_data): New variable.
33065         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33067         * math/libm-test.inc (struct test_fi_f_data): New type.
33068         (RUN_TEST_LOOP_fi_f): New macro.
33069         (ldexp_test_data): New variable.
33070         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33071         (scalbn_test_data): New variable.
33072         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33074         * math/libm-test.inc (struct test_c_f_data): New type.
33075         (RUN_TEST_LOOP_c_f): New macro.
33076         (cabs_test_data): New variable.
33077         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33078         (carg_test_data): New variable.
33079         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33080         (cimag_test_data): New variable.
33081         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33082         (creal_test_data): New variable.
33083         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33085         * math/libm-test.inc (struct test_if_f_data): New type.
33086         (RUN_TEST_LOOP_if_f): New macro.
33087         (jn_test_data): New variable.
33088         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33089         (yn_test_data): New variable.
33090         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33092         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33094 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33096         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33097         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33099 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33101         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33102         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33103         (bench-deps): Add bench-timing.h.
33104         * benchtests-bench-skeleton.c: Include bench-timing.h.
33105         (main): Use TIMING_* macros instead of clock_gettime.
33106         * benchtests/bench-timing.h: New file.
33108         [BZ #14582]
33109         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33110         Renamed from _LIB_VERSION.
33111         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33113 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33115         * math/libm-test.inc (struct test_fff_f_data): New type.
33116         (RUN_TEST_LOOP_fff_f): New macro.
33117         (fma_test_data): New variable.
33118         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33119         (fma_towardzero_test_data): New variable.
33120         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33121         (fma_downward_test_data): New variable.
33122         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33123         (fma_upward_test_data): New variable.
33124         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33126         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33127         (struct test_c_c_data): New type.
33128         (RUN_TEST_LOOP_c_c): New macro.
33129         (cacos_test_data): New variable.
33130         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33131         (cacosh_test_data): New variable.
33132         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33133         (casin_test_data): New variable.
33134         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33135         (casinh_test_data): New variable.
33136         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33137         (catan_test_data): New variable.
33138         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33139         (catanh_test_data): New variable.
33140         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33141         (ccos_test_data): New variable.
33142         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33143         (ccosh_test_data): New variable.
33144         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33145         (cexp_test_data): New variable.
33146         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33147         (clog_test_data): New variable.
33148         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33149         (clog10_test_data): New variable.
33150         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33151         (conj_test_data): New variable.
33152         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33153         (cproj_test_data): New variable.
33154         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33155         (csin_test_data): New variable.
33156         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33157         (csinh_test_data): New variable.
33158         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33159         (csqrt_test_data): New variable.
33160         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33161         (ctan_test_data): New variable.
33162         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33163         (ctan_tonearest_test_data): New variable.
33164         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33165         (ctan_towardzero_test_data): New variable.
33166         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33167         (ctan_downward_test_data): New variable.
33168         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33169         (ctan_upward_test_data): New variable.
33170         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33171         (ctanh_test_data): New variable.
33172         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33173         (ctanh_tonearest_test_data): New variable.
33174         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33175         (ctanh_towardzero_test_data): New variable.
33176         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33177         (ctanh_downward_test_data): New variable.
33178         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33179         (ctanh_upward_test_data): New variable.
33180         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33181         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33182         of BUILD_COMPLEX.
33184         * math/libm-test.inc (struct test_ff_f_data): New type.
33185         (struct test_ff_f_data_nexttoward): Likewise.
33186         (RUN_TEST_LOOP_2_f): New macro.
33187         (RUN_TEST_LOOP_ff_f): Likewise.
33188         (atan2_test_data): New variable.
33189         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33190         (copysign_test_data): New variable.
33191         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33192         (fdim_test_data): New variable.
33193         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33194         (fmax_test_data): New variable.
33195         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33196         (fmin_test_data): New variable.
33197         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33198         (fmod_test_data): New variable.
33199         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33200         (hypot_test_data): New variable.
33201         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33202         (nextafter_test_data): New variable.
33203         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33204         (nexttoward_test_data): New variable.
33205         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33206         (pow_test_data): New variable.
33207         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33208         (pow_tonearest_test_data): New variable.
33209         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33210         (pow_towardzero_test_data): New variable.
33211         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33212         (pow_downward_test_data): New variable.
33213         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33214         (pow_upward_test_data): New variable.
33215         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33216         (remainder_test_data): New variable.
33217         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33218         (scalb_test_data): New variable.
33219         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33220         * sysdeps/i386/fpu/libm-test-ulps: Update.
33222 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33224         * math/libm-test.inc (fma_test): Use max_value instead of local
33225         variable fltmax.
33226         (nextafter_test): Likewise.
33228         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33229         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33230         (acos_downward_test_data): New variable.
33231         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33232         (acos_upward_test_data): New variable.
33233         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33234         (acosh_test_data): New variable.
33235         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33236         (asin_test_data): New variable.
33237         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33238         (asin_tonearest_test_data): New variable.
33239         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33240         (asin_towardzero_test_data): New variable.
33241         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33242         (asin_downward_test_data): New variable.
33243         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33244         (asin_upward_test_data): New variable.
33245         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33246         (asinh_test_data): New variable.
33247         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33248         (atan_test_data): New variable.
33249         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33250         (atanh_test_data): New variable.
33251         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33252         (cbrt_test_data): New variable.
33253         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33254         (ceil_test_data): New variable.
33255         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33256         (cos_test_data): New variable.
33257         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33258         (cos_tonearest_test_data): New variable.
33259         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33260         (cos_towardzero_test_data): New variable.
33261         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33262         (cos_downward_test_data): New variable.
33263         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33264         (cos_upward_test_data): New variable.
33265         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33266         (cosh_test_data): New variable.
33267         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33268         (cosh_tonearest_test_data): New variable.
33269         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33270         (cosh_towardzero_test_data): New variable.
33271         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33272         (cosh_downward_test_data): New variable.
33273         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33274         (cosh_upward_test_data): New variable.
33275         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33276         (erf_test_data): New variable.
33277         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33278         (erfc_test_data): New variable.
33279         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33280         (exp_test_data): New variable.
33281         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33282         (exp_tonearest_test_data): New variable.
33283         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33284         (exp_towardzero_test_data): New variable.
33285         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33286         (exp_downward_test_data): New variable.
33287         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33288         (exp_upward_test_data): New variable.
33289         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33290         (exp10_test_data): New variable.
33291         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33292         (exp2_test_data): New variable.
33293         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33294         (expm1_test_data): New variable.
33295         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33296         (fabs_test_data): New variable.
33297         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33298         (floor_test_data): New variable.
33299         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33300         (j0_test_data): New variable.
33301         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33302         (j1_test_data): New variable.
33303         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33304         (log_test_data): New variable.
33305         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33306         (log10_test_data): New variable.
33307         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33308         (log1p_test_data): New variable.
33309         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33310         (log2_test_data): New variable.
33311         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33312         (logb_test_data): New variable.
33313         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33314         (logb_downward_test_data): New variable.
33315         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33316         (nearbyint_test_data): New variable.
33317         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33318         (rint_test_data): New variable.
33319         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33320         (rint_tonearest_test_data): New variable.
33321         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33322         (rint_towardzero_test_data): New variable.
33323         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33324         (rint_downward_test_data): New variable.
33325         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33326         (rint_upward_test_data): New variable.
33327         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33328         (round_test_data): New variable.
33329         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33330         (sin_test_data): New variable.
33331         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33332         (sin_tonearest_test_data): New variable.
33333         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33334         (sin_towardzero_test_data): New variable.
33335         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33336         (sin_downward_test_data): New variable.
33337         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33338         (sin_upward_test_data): New variable.
33339         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33340         (sinh_test_data): New variable.
33341         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33342         (sinh_tonearest_test_data): New variable.
33343         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33344         (sinh_towardzero_test_data): New variable.
33345         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33346         (sinh_downward_test_data): New variable.
33347         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33348         (sinh_upward_test_data): New variable.
33349         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33350         (sqrt_test_data): New variable.
33351         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33352         (tan_test_data): New variable.
33353         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33354         (tan_tonearest_test_data): New variable.
33355         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33356         (tan_towardzero_test_data): New variable.
33357         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33358         (tan_downward_test_data): New variable.
33359         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33360         (tan_upward_test_data): New variable.
33361         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33362         (tanh_test_data): New variable.
33363         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33364         (tgamma_test_data): New variable.
33365         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33366         (trunc_test_data): New variable.
33367         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33368         (y0_test_data): New variable.
33369         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33370         (y1_test_data): New variable.
33371         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33372         (significand_test_data): New variable.
33373         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33375 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33377         [BZ #12387]
33378         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33380 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33382         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33384 2013-05-10  Andreas Jaeger  <aj@suse.de>
33386         [BZ #15448]
33387         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33388         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33390 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33392         * math/gen-libm-test.pl (adjust_arg): New function.
33393         (special_functions): Handle generating output in both functions
33394         and arrays.
33395         (parse_args): Likewise.
33396         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33397         $in_func argument to parse_args.
33398         * math/libm-test.inc (struct test_f_f_data): New type.
33399         (IF_ROUND_INIT_): New macro.
33400         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33401         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33402         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33403         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33404         (ROUND_RESTORE_): Likewise.
33405         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33406         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33407         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33408         (ROUND_RESTORE_FE_UPWARD): Likewise.
33409         (RUN_TEST_LOOP_f_f): New macro.
33410         (acos_test_data): New variable.
33411         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33412         (acos_tonearest_test_data): New variable.
33413         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33415 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33417         * benchtests/bench-skeleton.c (startup): Fix coding style.
33419 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33421         [BZ #6809]
33422         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33423         negative infinity argument.
33424         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33425         negative infinity argument.
33426         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33427         negative infinity argument.
33428         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33429         domain errors.
33431 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33433         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33434         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33435         * iconv/iconv_prog.c (main): Likewise.
33436         * locale/programs/charmap-dir.c (charmap_readdir)
33437         (fopen_uncompressed): Likewise.
33438         * locale/programs/locfile.c (siblings_uncached)
33439         (write_locale_data): Use lstat64 instead of lstat.
33440         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33441         stat.
33443 2013-05-10  Andreas Jaeger  <aj@suse.de>
33445         [BZ #15395]
33446         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33447         localization.
33448         Include <locale.h>.
33450 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33452         * elf/dl-close.c (_dl_close_worker): Add comments.
33454 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33456         [BZ #15359]
33457         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33458         high part of pi/2.
33459         (__ieee754_rem_pio2l): Update comments.
33461         [BZ #15429]
33462         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33463         high part of pi/2.
33464         (__ieee754_rem_pio2l): Update comments.
33466         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33467         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33469         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33470         M_PI_4l.
33472         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33473         (M_PI_34_LOG10El): Likewise.
33474         (M_PI2_LOG10El): Likewise.
33475         (M_PI4_LOG10El): Likewise.
33476         (M_PI_LOG10El): Likewise.
33478 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33482 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33484         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33485         (MINUS_ZERO_INIT): Likewise.
33486         (PLUS_INFTY_INIT): Likewise.
33487         (MINUS_INFTY_INIT): Likewise.
33488         (QNAN_VALUE_INIT): Likewise.
33489         (MAX_VALUE_INIT): Likewise.
33490         (MIN_VALUE_INIT): Likewise.
33491         (MIN_SUBNORM_VALUE_INIT): Likewise.
33492         (plus_zero): Initialize with PLUS_ZERO_INIT.
33493         (minus_zero): Initialize with MINUS_ZERO_INIT.
33494         (plus_infty): Initialize with PLUS_INFTY_INIT.
33495         (minus_infty): Initialize with MINUS_INFTY_INIT.
33496         (qnan_value): Initialize with QNAN_VALUE_INIT.
33497         (max_value): Initialize with MAX_VALUE_INIT.
33498         (min_value): Initialize with MIN_VALUE_INIT.
33499         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33501         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33502         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33503         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33504         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33506         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33507         (RUN_TEST_2_f): Likewise.
33508         (RUN_TEST_ff_f): Likewise.
33509         (RUN_TEST_fi_f): Likewise.
33510         (RUN_TEST_fl_f): Likewise.
33511         (RUN_TEST_fff_f): Likewise.
33512         (RUN_TEST_c_f): Likewise.
33513         (RUN_TEST_f_f1): Likewise.
33514         (RUN_TEST_fF_f1): Likewise.
33515         (RUN_TEST_fI_f1): Likewise.
33516         (RUN_TEST_ffI_f1): Likewise.
33517         (RUN_TEST_c_c): Likewise.
33518         (RUN_TEST_cc_c): Likewise.
33519         (RUN_TEST_f_i): Likewise.
33520         (RUN_TEST_f_i_tg): Likewise.
33521         (RUN_TEST_ff_i_tg): Likewise.
33522         (RUN_TEST_f_b): Likewise.
33523         (RUN_TEST_f_b_tg): Likewise.
33524         (RUN_TEST_f_l): Likewise.
33525         (RUN_TEST_f_L): Likewise.
33526         (RUN_TEST_sincos): Likewise.
33527         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33528         whether to show exceptions.  Do not include ");\n" in return
33529         value.
33530         (special_functions): Output call to RUN_TEST_sincos instead of
33531         check_float calls.  Update calls to new_test.
33532         (parse_args): Output call to single RUN_TEST_* macro instead of
33533         check_* calls and other assignments.  Update calls to new_test.
33535         [BZ #2546]
33536         [BZ #2560]
33537         [BZ #5159]
33538         [BZ #15426]
33539         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33540         input to result for tgamma overflow.
33541         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33542         (gamma_coeff): New variable.
33543         (NCOEFF): New macro.
33544         (gamma_positive): New function.
33545         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33546         underflow here.  Use gamma_positive instead of exp (lgamma) for
33547         other arguments.
33548         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33549         (gamma_coeff): New variable.
33550         (NCOEFF): New macro.
33551         (gammaf_positive): New function.
33552         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33553         underflow here.  Use gamma_positive instead of exp (lgamma) for
33554         other arguments.
33555         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33556         (gamma_coeff): New variable.
33557         (NCOEFF): New macro.
33558         (gammal_positive): New function.
33559         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33560         underflow here.  Use gamma_positive instead of exp (lgamma) for
33561         other arguments.
33562         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33563         (gamma_coeff): New variable.
33564         (NCOEFF): New macro.
33565         (gammal_positive): New function.
33566         (__ieee754_gammal_r): Handle positive infinity, overflow and
33567         underflow here.  Handle NaN the same as positive infinity.  Remove
33568         check x < 0xffffffff for negative integers.  Use gamma_positive
33569         instead of exp (lgamma) for other arguments.
33570         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33571         (gamma_coeff): New variable.
33572         (NCOEFF): New macro.
33573         (gammal_positive): New function.
33574         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33575         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33576         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33577         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33578         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33579         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33580         * sysdeps/generic/math_private.h (__gamma_productf): New
33581         prototype.
33582         (__gamma_product): Likewise.
33583         (__gamma_productl): Likewise.
33584         * math/Makefile (libm-calls): Add gamma_product.
33585         * math/libm-test.inc (tgamma_test): Add more tests.
33586         * sysdeps/i386/fpu/libm-test-ulps: Update.
33587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33589 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33591         * benchtests/bench-skeleton.c (main): Preheat CPU.
33593 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33595         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33597 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33599         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33600         and _dl_skip_args_internal.
33602 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33604         * manual/message.texi (Message Translation): Talk about users.
33605         Message to key mapping impacts design.
33607 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33609         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33611         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33613         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33614         * sysdeps/wordsize-64/glob64.c: ... here.
33616         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33617         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33618         New macros.
33620         * debug/getlogin_r_chk.c: Moved to ...
33621         * login/getlogin_r_chk.c: ... here.
33622         * debug/Makefile (routines): Move getlogin_r_chk to ...
33623         * login/Makefile (routines): ... here.
33624         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33625         * login/Versions (libc: GLIBC_2.4): ... here.
33627         * io/poll.c (__poll): Renamed from poll.
33628         Add libc_hidden_def.
33629         (poll): Define as weak alias.
33631         * debug/ptsname_r_chk.c: Moved to ...
33632         * login/ptsname_r_chk.c: ... here.
33633         * debug/Makefile (routines): Move ptsname_r_chk to ...
33634         * login/Makefile (routines): ... here.
33635         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33636         * login/Versions (libc: GLIBC_2.4): ... here.
33638         * posix/getlogin.c: Moved to ...
33639         * login/getlogin.c: ... here.
33640         * posix/getlogin_r.c: Moved to ...
33641         * login/getlogin_r.c: ... here.
33642         * posix/getlogin_r.c: Moved to ...
33643         * login/getlogin_r.c: ... here.
33644         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33645         * login/Makefile (routines): ... here.
33646         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33647         * login/Versions (libc: GLIBC_2.0): ... here.
33649         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33650         (setrlimit): Define as weak alias.
33652         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33653         Call __ names for open, ftruncate, and close.
33654         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33655         (truncate): Define as weak alias.
33657 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33659         * math/gen-libm-test.pl (parse_args): Initialize x before each
33660         test of frexp, modf and remquo.
33662         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33663         test signgam value.
33665 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33667         [BZ #15418]
33668         [BZ #15419]
33669         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33670         internal tests.
33671         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33673 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33675         * elf/dl-writev.h: New file.
33676         * elf/dl-misc.c: Include it.
33677         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33678         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33680 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33682         * math/libm-test.inc (noXFails): Remove variable.
33683         (noXPasses): Likewise.
33684         (BUILD_COMPLEX_INT): Remove macro.
33685         (print_screen): Remove xfail argument.
33686         (print_screen_max_error): Likewise.
33687         (update_stats): Likewise.
33688         (print_max_error): Likewise.  Update calls to other affected
33689         functions.
33690         (print_complex_max_error): Likewise.
33691         (test_single_exception): Update calls to print_screen.
33692         (test_single_errno): Likewise.
33693         (check_float_internal): Remove xfail argument.  Update calls to
33694         other affected functions.
33695         (check_float): Likewise.
33696         (check_complex): Likewise.
33697         (check_int): Likewise.
33698         (check_long): Likewise.
33699         (check_bool): Likewise.
33700         (check_longlong): Likewise.
33701         (main): Don't print noXFails and noXPasses.
33702         * math/gen-libm-test.pl (top level): Don't mention expected
33703         failure handling in comment.
33704         (new_test): Don't handle expected failures.
33705         (parse_args): Don't mention expected failure handling in comment.
33706         (generate_testfile): Don't handle expected failures.
33707         (parse_ulps): Likewise.
33708         (print_ulps_file): Likewise.
33709         (get_failure): Remove function.
33710         (output_test): Don't handle expected failures.
33711         * make/README.libm-test: Don't mention expected failure handling.
33713         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33714         (minus_zero): Likewise.
33715         (plus_infty): Likewise.
33716         (minus_infty): Likewise.
33717         (qnan_value): Likewise.
33718         (max_value): Likewise.
33719         (min_value): Likewise.
33720         (min_subnorm_value): Likewise.
33721         (initialize): Do not initialize those variables dynamically.
33723 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33725         * io/open.c (__open_2): Moved to ...
33726         * io/open_2.c: ... this new file.
33727         * io/open64.c (__open64_2): Moved to ...
33728         * io/open64_2.c: ... this new file.
33729         * io/openat.c (__openat_2): Moved to ...
33730         * io/openat_2.c: ... this new file.
33731         * io/openat64.c (__openat64_2): Moved to ...
33732         * io/openat64_2.c: ... this new file.
33733         * io/Makefile (routines): Add them.
33734         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33735         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33736         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33737         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33738         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33739         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33740         (__openat64): Add hidden_ver.
33741         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33742         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33744         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33745         Separately conditionalize setting of GLRO(dl_sysinfo) so
33746         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33747         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33749 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33751         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33752         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33753         definition.
33754         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33755         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33756         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33757         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33758         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33760 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33762         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33763         test signgam value.
33765         * math/libm-test.inc (hypot_test): Do not use
33766         IGNORE_ZERO_INF_SIGN.
33768 2013-05-03  Andreas Jaeger  <aj@suse.de>
33770         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33771         Linux 3.9.
33772         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33773         (PF_MAX): Adjust for VSOCK change.
33775 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33779 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33781         [BZ #15264]
33782         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33783         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33784         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33786 2013-05-02  David S. Miller  <davem@davemloft.net>
33788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33790 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33792         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33794 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33796         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33798 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33800         [BZ #14952]
33801         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33802         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33803         Use __attribute__ ((__gnu_inline__)).
33804         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33805         Don't use __attribute__ ((__gnu_inline__)).
33807 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33809         [BZ #15423]
33810         * math/s_catan.c (__catan): Handle small real or imaginary part of
33811         input specially to avoid spurious underflow.
33812         * math/s_catanf.c (__catanf): Likewise.
33813         * math/s_catanh.c (__catanh): Likewise.
33814         * math/s_catanhf.c (__catanhf): Likewise.
33815         * math/s_catanhl.c (__catanhl): Likewise.
33816         * math/s_catanl.c (__catanl): Likewise.
33817         * math/libm-test.inc (catan_test): Add more tests.
33818         (catanh_test): Likewise.
33819         * sysdeps/i386/fpu/libm-test-ulps: Update.
33820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33822 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33826 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33828         [BZ #15416]
33829         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33830         accurately for denominator in atan2.
33831         * math/s_catanf.c (__catanf): Likewise.
33832         * math/s_catanh.c (__catanh): Likewise.
33833         * math/s_catanhf.c (__catanhf): Likewise.
33834         * math/s_catanhl.c (__catanhl): Likewise.
33835         * math/s_catanl.c (__catanl): Likewise.
33836         * math/libm-test.inc (catan_test): Add more tests.
33837         (catanh_test): Likewise.
33838         * sysdeps/i386/fpu/libm-test-ulps: Update.
33839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33841 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33843         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33845         * benchtests/Makefile (bench): Remove slow benchmarks.
33846         * benchtests/atan-inputs: Add slow benchmark inputs.
33847         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33848         (BENCH_FUNC): Accept variant offset.
33849         (VARIANT): Define.
33850         * benchtests/bench-skeleton.c (main): Run benchmark for each
33851         variant.
33852         * benchtests/cos-inputs: Add slow benchmark inputs.
33853         * benchtests/exp-inputs: Likewise.
33854         * benchtests/pow-inputs: Likewise.
33855         * benchtests/sin-inputs: Likewise.
33856         * benchtests/slowatan-inputs: Remove.
33857         * benchtests/slowatan.c: Remove.
33858         * benchtests/slowcos-inputs: Remove.
33859         * benchtests/slowcos.c: Remove.
33860         * benchtests/slowexp-inputs: Remove.
33861         * benchtests/slowexp.c: Remove.
33862         * benchtests/slowpow-inputs: Remove.
33863         * benchtests/slowpow.c: Remove.
33864         * benchtests/slowsin-inputs: Remove.
33865         * benchtests/slowsin.c: Remove.
33866         * benchtests/slowtan-inputs: Remove.
33867         * benchtests/slowtan.c: Remove.
33868         * benchtests/tan-inputs: Add slow benchmark inputs.
33869         * scripts/bench.pl: Parse comments and directives.
33871         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33872         in CPPFLAGS.
33873         ($(objpfx)bench-%.c): Remove *-ITER.
33874         * benchtests/bench-modf.c: Remove definition of ITER.
33875         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33876         (main): Loop for DURATION seconds instead of fixed number of
33877         iterations.
33878         * scripts/bench.pl: Don't expect iterations in parameters.
33880 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33882         * io/fchdir.c (__fchdir): Renamed from fchdir.
33883         (fchdir): Define as weak alias.
33885 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33887         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33888         (ERRNO_EDOM): Likewise.
33889         (ERRNO_ERANGE): Likewise.
33890         (noErrnoTests): New variable.
33891         (init_max_error): Set errno to 0.
33892         (test_single_errno): New function.
33893         (test_errno): Likewise.
33894         (check_float_internal): Call test_errno.  Set errno to 0.
33895         (check_complex): Refer to errno tests in comment.
33896         (check_int): Call test_errno.  Set errno to 0.
33897         (check_long): Likewise.
33898         (check_bool): Likewise.
33899         (check_longlong): Likewise.
33900         (cos_test): Use ERRNO_* flags for errno tests instead of
33901         check_int.
33902         (expm1_test): Likewise.
33903         (fmod_test): Likewise.
33904         (ilogb_test): Likewise.
33905         (lgamma_test): Likewise.
33906         (pow_test): Likewise.
33907         (remainder_test): Likewise.
33908         (sin_test): Likewise.
33909         (tan_test): Likewise.
33910         (yn_test): Likewise.
33911         (initialize): Set errno to 0.
33912         (main): Print number of errno tests.
33913         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33915 2013-04-29  Andreas Jaeger  <aj@suse.de>
33917         [BZ #15084]
33918         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33919         and RES_USEVC.
33921         [BZ #15085]
33922         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33923         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33924         unimplemented.
33926         [BZ #15380]
33927         * stdlib/random.c (__initstate): Return NULL if
33928         __initstate fails.
33930         [BZ #15086]
33931         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33932         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33933         RES_SNGLKUPREOP.
33935 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33939 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33941         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33942         of individual tests.
33943         (casin_test): Likewise.
33944         (casinh_test): Likewise.
33946 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33948         [BZ #15409]
33949         * math/s_catan.c (__catan): Handle arguments with large real or
33950         imaginary part separately without squaring.
33951         * math/s_catanf.c (__catanf): Likewise.
33952         * math/s_catanh.c (__catanh): Likewise.
33953         * math/s_catanhf.c (__catanhf): Likewise.
33954         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33955         and redefine.
33956         (__catanhl): Handle arguments with large real or imaginary part
33957         separately without squaring.
33958         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33959         and redefine.
33960         (__catanl): Handle arguments with large real or imaginary part
33961         separately without squaring.
33962         * math/libm-test.inc (catan_test): Add more tests.
33963         (catanh_test): Likewise.
33964         * sysdeps/i386/fpu/libm-test-ulps: Update.
33965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33967 2013-04-27  Andreas Jaeger  <aj@suse.de>
33969         [BZ #15007]
33970         * stdlib/stdlib.h: Update guards for qecvt.
33971         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33972         <stdlib.h>.
33974 2013-04-27  Allan McRae  <allan@archlinux.org>
33976         * sysdeps/i386/fpu/libm-test-ulps: Update.
33978 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33980         [BZ #15406]
33981         * math/s_catan.c: Include <float.h>.
33982         (__catan): Ensure underflow exception occurs for underflowed
33983         result.
33984         * math/s_catanf.c: Include <float.h>.
33985         (__catanf): Ensure underflow exception occurs for underflowed
33986         result.
33987         * math/s_catanh.c: Include <float.h>.
33988         (__catanh): Ensure underflow exception occurs for underflowed
33989         result.
33990         * math/s_catanhf.c: Include <float.h>.
33991         (__catanhf): Ensure underflow exception occurs for underflowed
33992         result.
33993         * math/s_catanhl.c: Include <float.h>.
33994         (__catanhl): Ensure underflow exception occurs for underflowed
33995         result.
33996         * math/s_catanl.c: Include <float.h>.
33997         (__catanl): Ensure underflow exception occurs for underflowed
33998         result.
33999         * math/libm-test.inc (catan_test): Add more tests.
34000         (catanh_test): Likewise.
34002         [BZ #15405]
34003         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34004         underflowed result.
34005         * math/s_ccoshf.c (__ccoshf): Likewise.
34006         * math/s_ccoshl.c (__ccoshl): Likewise.
34007         * math/s_csin.c (__csin): Likewise.
34008         * math/s_csinf.c (__csinf): Likewise.
34009         * math/s_csinh.c (__csinh): Likewise.
34010         * math/s_csinhf.c (__csinhf): Likewise.
34011         * math/s_csinhl.c (__csinhl): Likewise.
34012         * math/s_csinl.c (__csinl): Likewise.
34013         * math/libm-test.inc (ccos_test): Add more tests.
34014         (ccosh_test): Likewise.
34015         (csin_test): Likewise.
34016         (csinh_test): Likewise.
34018 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34020         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34021         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34022         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34023         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34024         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34025         powerpc/power5+/fpu folders.
34026         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34029 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34033 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34035         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34036         additions to variable.
34037         [$(config-machine) = x86_64] (modules-names): Likewise.
34038         ($(objpfx)tst-audit3): Remove dependency.
34039         ($(objpfx)tst-audit3.out): Likewise.
34040         ($(objpfx)tst-audit4): Likewise.
34041         ($(objpfx)tst-audit4.out): Likewise.
34042         ($(objpfx)tst-audit5): Likewise.
34043         ($(objpfx)tst-audit5.out): Likewise.
34044         ($(objpfx)tst-audit6): Likewise.
34045         ($(objpfx)tst-audit6.out): Likewise.
34046         ($(objpfx)tst-audit7): Likewise.
34047         ($(objpfx)tst-audit7.out): Likewise.
34048         (tst-audit3-ENV): Remove variable.
34049         (tst-audit4-ENV): Likewise.
34050         (tst-audit5-ENV): Likewise.
34051         (tst-audit6-ENV): Likewise.
34052         (tst-audit7-ENV): Likewise.
34053         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34054         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34055         addition to variable.
34056         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34057         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34058         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34059         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34060         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34061         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34062         tst-audit3, tst-audit4 and tst-audit5.
34063         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34064         tst-audit6 and tst-audit7.
34065         [$(subdir) = elf] (modules-names): Add audit modules for those
34066         tests.
34067         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34068         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34069         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34070         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34071         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34072         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34073         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34074         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34075         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34076         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34077         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34078         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34079         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34080         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34081         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34082         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34083         Likewise.
34084         [$(subdir) = elf && $(config-cflags-avx) = yes]
34085         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34086         [$(subdir) = elf && $(config-cflags-avx) = yes]
34087         (CFLAGS-tst-auditmod4a.c): Likewise.
34088         [$(subdir) = elf && $(config-cflags-avx) = yes]
34089         (CFLAGS-tst-auditmod4b.c): Likewise.
34090         [$(subdir) = elf && $(config-cflags-avx) = yes]
34091         (CFLAGS-tst-auditmod6b.c): Likewise.
34092         [$(subdir) = elf && $(config-cflags-avx) = yes]
34093         (CFLAGS-tst-auditmod6c.c): Likewise.
34094         [$(subdir) = elf && $(config-cflags-avx) = yes]
34095         (CFLAGS-tst-auditmod7b.c): Likewise.
34096         * elf/tst-audit3.c: Move to ...
34097         * sysdeps/x86_64/tst-audit3.c: ... here.
34098         * elf/tst-audit4.c: Move to ...
34099         * sysdeps/x86_64/tst-audit4.c: ... here.
34100         * elf/tst-audit5.c: Move to ...
34101         * sysdeps/x86_64/tst-audit5.c: ... here.
34102         * elf/tst-audit6.c: Move to ...
34103         * sysdeps/x86_64/tst-audit6.c: ... here.
34104         * elf/tst-audit7.c: Move to ...
34105         * sysdeps/x86_64/tst-audit7.c: ... here.
34106         * elf/tst-auditmod3a.c: Move to ...
34107         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34108         * elf/tst-auditmod3b.c: Move to ...
34109         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34110         * elf/tst-auditmod4a.c: Move to ...
34111         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34112         * elf/tst-auditmod4b.c: Move to ...
34113         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34114         * elf/tst-auditmod5a.c: Move to ...
34115         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34116         * elf/tst-auditmod5b.c: Move to ...
34117         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34118         * elf/tst-auditmod6a.c: Move to ...
34119         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34120         * elf/tst-auditmod6b.c: Move to ...
34121         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34122         * elf/tst-auditmod6c.c: Move to ...
34123         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34124         * elf/tst-auditmod7a.c: Move to ...
34125         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34126         * elf/tst-auditmod7b.c: Move to ...
34127         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34129 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34131         [BZ #15366]
34132         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34133         define unconditionally.
34134         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34135         define unconditionally.
34136         (INT8_C, INT16_C, etc.): Likewise.
34138 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34140         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34141         __ehdr_start with hidden visibility.
34143         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34145 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34147         * math/libm-test.inc (cos_test): Use accurate hex constants.
34148         (sincost_test): Likewise.
34150 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34152         * math/libm-test.inc (catan_test): Add more tests.
34153         (catanh_test): Likewise.
34155         * math/s_catanf.c (__catanf): Use suffixed floating-point
34156         constants.
34157         * math/s_catanhf.c (__catanhf): Likewise.
34158         * math/s_catanhl.c (__catanhl): Likewise.
34159         * math/s_catanl.c (__catanl): Likewise.
34161         [BZ #15394]
34162         * math/s_catan.c (__catan): Calculate imaginary part of result
34163         with log1p not log unless computing log of number close to 0.
34164         * math/s_catanf.c (__catanf): Likewise.
34165         * math/s_catanl.c (__catanl): Likewise.
34166         * math/s_catanh.c (__catanh): Calculate real part of result with
34167         log1p not log unless computing log of number close to 0.
34168         * math/s_catanhf.c (__catanhf): Likewise.
34169         * math/s_catanhl.c (__catanhl): Likewise.
34170         * math/libm-test.inc (catan_test): Add more tests.
34171         (catanh_test): Likewise.
34172         * sysdeps/i386/fpu/libm-test-ulps: Update.
34173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34175 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34177         * benchtests/Makefile: Mention files in which fast and slow
34178         paths of math functions are implemented.
34180 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34182         * sysdeps/posix/timespec_get.c: New file.
34184 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34186         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34187         POWER.
34188         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34189         for POWER.
34190         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34191         powerpc/power5/fpu folders.
34192         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34193         * benchtests/Makefile: Add modf testcase.
34194         * benchtests/bench-modf.c: New file: Benchmark test for mo
34196 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34198         [BZ #14888]
34199         * time/Makefile (tests): Add tst-strptime-whitespace.
34200         * time/strptime_l.c (get_number): Use ISSPACE.
34201         (__strptime_internal): Likewise.
34202         * time/tst-strptime-whitespace.c: New test case.
34204 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34206         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34207         member.
34208         (_nss_files_init): Set it here.
34210 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34212         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34213         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34214         unsigned.
34216 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34218         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34220 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34222         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34223         size just once.
34225 2013-04-21  David S. Miller  <davem@davemloft.net>
34227         * po/ru.po: Update Russion translation from translation project.
34229 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34231         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34232         and setfsgid.
34234 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34236         * configure.in: Remove i386 configure warning. Remove i386 case.
34237         * configure: Regenerate.
34238         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34239         Add example to error message.
34240         * sysdeps/i386/configure: Regenerate.
34242 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34244         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34245         slowtan.
34246         * benchtests/cos-inputs: New file.
34247         * benchtests/slowcos-inputs: New file.
34248         * benchtests/slowcos.c: New file.
34249         * benchtests/slowtan-inputs: New file.
34250         * benchtests/slowtan.c: New file.
34251         * benchtests/tan-inputs: New file.
34253 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34255         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34256         considered kosher.
34258 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34260         * benchtests/Makefile: Include cppflags-iterator.mk to add
34261         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34263         * Makefile.in (bench-clean): New target.
34264         * benchtests/Makefile (bench-clean): Likewise.
34266 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34268         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34270 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34272         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34274 2013-04-15  Andreas Schwab  <schwab@suse.de>
34276         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34277         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34278         * nscd/pwdcache.c (cache_addpw): Likewise.
34279         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34280         more than recsize.
34282 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34284         * benchtests/Makefile (bench): Write all output to
34285         bench-out.tmp together.
34287 2013-04-15  Andreas Schwab  <schwab@suse.de>
34289         * nscd/nscd.c (main): Don't fork again after closing files.
34291 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34293         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34295         * benchtests/Rules (bench-deps): Collect dependencies into a
34296         single variable.  Add Makefile to dependencies.
34297         ($(objpfx)bench-%.c): Depend on bench-deps.
34299 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34300             Xavier Roche  <roche+kml2@exalead.com>
34302         [BZ #15361]
34303         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34304         just that it's a file descriptor.
34305         * manual/llio.texi (Synchronizing AIO Operations): Update description
34306         for EBADF error from aio_fsync.
34308 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34310         * Rules (bench): Move target definition...
34311         * benchtests/Makefile: ... here.
34313 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34315         * math/libm-test.inc (cos_test): Fix PI/2 test.
34316         (sincos_test): Likewise.
34317         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34318         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34320 2013-04-11  Andreas Schwab  <schwab@suse.de>
34322         [BZ #13988]
34323         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34324         accept exponent character only when digits were seen.
34325         * stdio-common/Makefile (tests): Add bug26.
34326         * stdio-common/bug26.c: New file.
34328         [BZ #14293]
34329         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34330         non-freeable.
34332 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34334         * Makeconfig (rtld-prefix): Define built linker prefix.
34335         * Rules (run-bench): Use it.
34336         * math/Makefile (run-regen-ulps): Likewise.
34338         * Rules (bench): Remove eval.
34340 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34341             Roland McGrath  <roland@hack.frob.com>
34342             Ondrej Bilka  <neleai@seznam.cz>
34344         [BZ #15346]
34345         * time/getdate.c: Include ctype.h and alloca.h.
34346         (__getdate_r): Trim leading and trailing spaces of input.
34347         * time/tst-getdate.c (tests): Add tests with leading and
34348         trailing spaces.
34350 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34352         [BZ #14280]
34353         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34354         when computing value.
34356 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34358         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34359         Use testrun.sh to run libm tests.
34361         [BZ #15309]
34362         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34364 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34366         [BZ #15264]
34367         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34369 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34371         * Makefile.in (regen-ulps): New target.
34372         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34373         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34374         [ifneq (no,$(PERL)] (regen-ulps): New target.
34375         [ifeq (no,$(PERL)] (regen-ulps): New target.
34376         * math/libm-test.inc (ulps_file_name): Define.
34377         (output_dir): New variable.
34378         (options): Add "output-dir" option.
34379         (parse_opt): Handle 'o' case.
34380         (main): If output_dir is non-NULL use it as a prefix
34381         otherwise use "".
34382         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34384 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34386         [BZ #10060, #10062]
34387         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34388         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34389         fail configure if __sync_val_compare_and_swap is not inlined.
34390         * sysdeps/i386/configure: Regenerate.
34391         * configure.in: Build for i686 when configured for i386.
34392         * configure: Regenerate.
34393         * README: Remove i386 reference.
34395 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34397         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34398         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34400 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34402         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34403         (lmsnanval): New variables.
34404         (F): Add conversion tests.
34405         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34406         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34408         * stdio-common/tstdiomisc.c (F): Properly collect individual
34409         tests' results.
34411         [BZ #14686, #15336]
34412         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34413         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34414         Instead, use input NaN values or generate a qNaN by arithmetic
34415         operation.  Also fix bugs to comply with the standard.
34416         * math/libm-test.inc (remainder_test): Add more tests.
34418         [BZ #15335, #15342]
34419         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34420         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34421         input NaN values or generate a qNaN by arithmetic operation.
34423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34424         unreachable code.
34426         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34427         definitions.
34429 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34431         [BZ #14478]
34432         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34433         underflowed result.
34434         * math/s_cexpf.c (__cexpf): Likewise.
34435         * math/s_cexpl.c (__cexpl): Likewise.
34436         * math/libm-test.inc (cexp_test): Add more tests.
34438 2013-04-03  Andreas Schwab  <schwab@suse.de>
34440         [BZ #15330]
34441         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34442         order arrays from heap if bigger than alloca cutoff.
34444 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34446         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34447         (SNAN_TESTS_double): Refer to GCC PR56831.
34448         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34449         GCC PR56828.
34451 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34453         * Rules (bench): Move bench.out after the run is complete.
34455         * Rules (bench): Echo currently running benchmark.
34457         * benchtests/Makefile (bench): Add atan and slowatan.
34458         * benchtests/atan-inputs: New file.
34459         * benchtests/slowatan-inputs: New file.
34460         * benchtests/slowatan.c: New file.
34462         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34463         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34464         its value.
34466         [BZ #15305]
34467         * sysdeps/unix/sysv/linux/kernel-features.h
34468         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34469         __ASSUME_XFS_RESTRICTED_CHOWN.
34470         * sysdeps/unix/sysv/linux/pathconf.c
34471         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34472         Save and restore errno.
34474 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34476         [BZ #15327]
34477         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34478         arguments using __kernel_casinh.
34479         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34480         arguments using __kernel_casinhf.
34481         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34482         arguments using __kernel_casinhl.
34483         * math/libm-test.inc (cacosh_test): Add more tests.
34484         * sysdeps/i386/fpu/libm-test-ulps: Update.
34485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34487 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34489         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34490         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34492         * bench/Makefile (bench): Add sin and slowsin.
34493         * benchtests/sin-inputs: New file.
34494         * benchtests/slowsin-inputs: New file.
34495         * benchtests/slowsin.c: New file.
34497         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34498         (bench): Add slowexp and slowpow.
34499         (exp-ITER): Increase iterations.
34500         (pow-ITER): Likewise.
34501         * benchtests/exp-inputs: Change input.
34502         * benchtests/pow-inputs: Likewise.
34503         * benchtests/slowexp-inputs: New file.
34504         * benchtests/slowexp.c: New file.
34505         * benchtests/slowpow-inputs: New file.
34506         * benchtests/slowpow.c: New file.
34508 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34510         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34511         instructions.
34512         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34513         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34514         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34515         * benchtests/Makefile: Add rint benchtest.
34516         * benchtests/rint-inputs: Input for rint benchtest.
34518 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34520         * Versions.def (libm): Add GLIBC_2.18.
34521         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34522         hidden libm prototypes.
34523         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34524         * math/Makefile (libm-calls): Add s_issignaling.
34525         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34526         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34527         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34528         declaration.
34529         * math/math.h [__USE_GNU] (issignaling): New macro.
34530         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34531         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34532         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34533         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34534         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34535         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34536         * manual/arith.texi (issignaling): New section.
34537         * manual/libm-err-tab.pl (@all_functions): Update comment.
34538         * math/gen-libm-test.pl (parse_args): Apply special handling for
34539         issignaling.
34540         * math/libm-test.inc (print_float, issignaling_test): New
34541         functions.
34542         (check_float_internal): Add issignaling checks.
34543         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34544         default definition.
34545         * sysdeps/powerpc/math-tests.h: New file.
34546         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34547         tests.
34548         * math/test-snan.c (TEST_FUNC): Likewise.
34550 2013-03-30  David S. Miller  <davem@davemloft.net>
34552         * po/de.po: Update from translation team.
34554 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34556         [BZ #10357]
34557         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34558         imaginary part less than 1.0 and real part less than 0.5
34559         specially.
34560         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34561         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34562         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34563         (cacos_test): Add more tests.
34564         (casin_test): Likewise.
34565         (casinh_test): Likewise.
34566         * sysdeps/i386/fpu/libm-test-ulps: Update.
34567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34569 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34571         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34572         ONE with its value.
34574         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34575         (__pow_mp): Replace ONE and MONE with their values.
34576         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34578         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34579         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34580         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34581         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34583         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34585         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34586         (__pow_mp): Replace ZERO and MZERO with their values.
34587         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34588         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34589         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34591         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34592         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34593         (__sqr): Likewise.
34595         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34597         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34599 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34601         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34602         Declare with __attribute__ ((weak)).
34603         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34604         Call __call_tls_dtors only if it's not NULL.
34606 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34608         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34609         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34610         magic __ehdr_start linker symbol if it's defined.
34611         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34612         them up here if it was already done.
34614         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34615         (_dl_aux_init): Use const in cast when setting it.
34616         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34617         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34618         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34620         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34621         Declare them here.
34622         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34623         * csu/libc-tls.c: Nor here.
34624         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34626         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34627         (__libc_message): Never call vsyslog.
34629 2013-03-28  Alan Modra  <amodra@gmail.com>
34631         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34632         Define as empty.
34633         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34634         Likewise.
34636 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34638         [BZ #15214]
34639         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34640         underflow.
34641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34643 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34645         [BZ #15304]
34646         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34647         Don't add gid passed as argument.
34649         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34651 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34653         [BZ #15307]
34654         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34655         imaginary part between 1.0 and 1.5 and real part less than 0.5
34656         specially.
34657         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34658         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34659         * math/libm-test.inc (cacos_test): Add more tests.
34660         (casin_test): Likewise.
34661         (casinh_test): Likewise.
34662         * sysdeps/i386/fpu/libm-test-ulps: Update.
34663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34665 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34667         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34668         constants.
34669         (norm): Likewise.
34670         (denorm): Likewise.
34671         (__dbl_mp): Likewise.
34672         (add_magnitudes): Likewise.
34673         (sub_magnitudes): Likewise.
34674         (__add): Likewise.
34675         (__sub): Likewise.
34676         (__mul): Likewise.
34677         (__sqr): Likewise.
34678         (__inv): Likewise.
34679         (__dvd): Likewise.
34681         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34682         commented code.
34683         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34684         (__dubcos): Likewise.
34685         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34686         (__ieee754_acos): Likewise.
34687         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34688         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34689         (__exp1): Likewise.
34690         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34691         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34692         (log1): Likewise.
34693         (my_log2): Likewise.
34694         (checkint): Likewise.
34695         * sysdeps/ieee754/dbl-64/e_remainder.c
34696         (__ieee754_remainder): Likewise.
34697         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34698         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34699         (bsloww): Likewise.
34700         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34702         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34703         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34704         MANTISSA_STORE_T to store computations on mantissa.  Use
34705         macros for rounding and division.
34706         (denorm): Likewise.
34707         (__dbl_mp): Likewise.
34708         (add_magnitudes): Likewise.
34709         (sub_magnitudes): Likewise.
34710         (__mul): Likewise.
34711         (__sqr): Likewise.
34712         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34713         powers of two in terms of TWOPOW macro.
34714         (mp_no): Make type of mantissa as MANTISSA_T.
34715         [!RADIXI]: Define RADIXI.
34716         [!TWO52]: Define TWO52.
34717         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34719 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34721         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34722         llroundl symbol when building for PPC32.
34724 2013-03-24  Mark H Weaver  <mhw@netris.org>
34726         * manual/arith.texi (Normalization Functions): Fix prototypes for
34727         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34729 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34731         [BZ #13889]
34732         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34733         high value to check if expl overflow.
34734         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34735         to check for underflow and overflow.
34736         * math/libm-test.inc: Add exp test.
34738 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34740         [BZ #11120]
34741         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34742         with NOT_IN_libc.
34744 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34746         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34747         symbol.
34749 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34751         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34752         wrap blocks consisting of several statements.
34754         * sysdeps/generic/math-tests.h: New file.
34755         * sysdeps/i386/fpu/math-tests.h: Likewise.
34756         * math/test-snan.c: Include it.
34757         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34759 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34761         [BZ #15285]
34762         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34763         (__ieee754_j0l): Do not improve calculations using cos of twice
34764         input for inputs above LDBL_MAX / 2.0L.
34765         (__ieee754_y0l): Likewise.
34766         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34767         (__ieee754_j1l): Do not improve calculations using cos of twice
34768         input for inputs above LDBL_MAX / 2.0L.
34769         (__ieee754_y1l): Likewise.
34770         * math/libm-test.inc (j0_test): Add another test.
34771         (j1_test): Likewise.
34772         (y0_test): Likewise.
34773         (y1_test): Likewise.
34774         * sysdeps/i386/fpu/libm-test-ulps: Update.
34776 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34778         * Rules ($(objpfx)bench-%.c): Include code from a C source
34779         file.
34781 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34783         [BZ #15287]
34784         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34785         imaginary part 1.0 and real part less than 0.5 specially.
34786         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34787         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34788         * math/libm-test.inc (cacos_test): Add more tests.
34789         (casin_test): Likewise.
34790         (casinh_test): Likewise.
34791         * sysdeps/i386/fpu/libm-test-ulps: Update.
34792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34794 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34796         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34797         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34799 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34801         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34802         * config.make.in (config-cflags-sse4): Remove variable.
34803         (config-cflags-avx): Likewise.
34804         (config-cflags-sse2avx): Likewise.
34805         (config-cflags-novzeroupper): Likewise.
34806         (config-asflags-i686): Likewise.
34807         (have-mfma4): Likewise.
34808         (have-as-vis3): Likewise.
34809         (MIG): Likewise.
34810         * configure.in (MIG): Do not AC_SUBST.
34811         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34812         (libc_cv_cc_sse4): Do not AC_SUBST.
34813         (libc_cv_cc_avx): Likewise.
34814         (libc_cv_cc_sse2avx): Likewise.
34815         (libc_cv_cc_novzeroupper): Likewise.
34816         (libc_cv_cc_fma4): Likewise.
34817         (libc_cv_as_i686): Likewise.
34818         (libc_cv_sparc_as_vis3): Likewise.
34819         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34820         LIBC_CONFIG_VAR.
34821         (config-asflags-i686): Likewise.
34822         (config-cflags-avx): Likewise.
34823         (config-cflags-sse2avx): Likewise.
34824         (have-mfma4): Likewise.
34825         (config-cflags-novzeroupper): Likewise.
34826         * sysdeps/mach/configure.in (MIG): Likewise.
34827         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34828         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34829         LIBC_CONFIG_VAR.
34830         (config-cflags-avx): Likewise.
34831         (config-cflags-sse2avx): Likewise.
34832         (have-mfma4): Likewise.
34833         (config-cflags-novzeroupper): Likewise.
34834         * configure: Regenerated.
34835         * sysdeps/i386/configure: Likewise.
34836         * sysdeps/mach/configure: Likewise.
34837         * sysdeps/sparc/configure: Likewise.
34838         * sysdeps/x86_64/configure: Likewise.
34840 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34842         [BZ #14812]
34843         * locale/programs/localedef.c (options): Put N_ translation marker
34844         on argument names, not just descriptions.
34846 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34848         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34850 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34852         [BZ #14176]
34853         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34855 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34857         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34858         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34859         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34860         [!BEFORE_ABORT] (before_abort): New function.
34861         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34862         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34863         (writev_for_fatal): New function.
34864         (WRITEV_FOR_FATAL): New macro; call that.
34865         (backtrace_and_maps): New function.
34866         (BEFORE_ABORT): New macro; call that.
34867         (struct str_list): Type removed.
34868         (__libc_message, __libc_fatal): Functions removed.
34869         Include <sysdeps/posix/libc_fatal.c> instead.
34871 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34873         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34874         constants.
34875         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34876         double constants.
34878 2013-03-19  Andreas Schwab  <schwab@suse.de>
34880         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34881         * sysdeps/gnu/configure: Regenerate.
34883         * configure.in: Substitute libc_cv_rtlddir.
34884         * configure: Regenerate.
34885         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34886         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34887         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34888         * elf/Makefile (install-others, CFLAGS-interp.c)
34889         (ldso_install, common-ldd-rewrite): Likewise.
34890         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34891         $(inst_slibdir)/$(rtld-installed-name).
34892         * scripts/rellns-sh: Add -p option.
34893         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34894         for source.
34896 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34898         * manual/nptl.texi: Renamed to ...
34899         * manual/threads.texi: ... this.
34900         * manual/Makefile (chapters): Update.
34902 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34904         [BZ #14812]
34905         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34906         on argument names, not just descriptions.
34907         * malloc/memusagestat.c (options): Likewise.
34908         * nss/getent.c (options): Likewise.
34910 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34912         [BZ #14812]
34913         * iconv/iconv_prog.c (options): Put N_ translation marker
34914         on argument names, not just descriptions.
34915         * iconv/iconvconfig.c (options): Likewise.
34917 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34919         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34920         implementation which is faster on all x86_64 architectures.
34921         Tested on AMD, Intel Nehalem, SNB, IVB.
34922         * sysdeps/x86_64/strnlen.S: Likewise.
34924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34925         Remove all multiarch strlen and strnlen versions.
34926         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34927         Remove strlen and strnlen related parts.
34929         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34930         Inline strlen part.
34931         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34933         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34934         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34935         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34936         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34937         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34938         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34940 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34942         * manual/memory.texi (Malloc Tunable Parameters):
34943         Sort parameters alphabetically. Add comments for missing entries.
34945 2013-03-17  David S. Miller  <davem@davemloft.net>
34947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34949 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34951         [BZ #15283]
34952         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34953         for arguments at most half maximum finite value.
34954         * math/libm-test.inc (j0_test): Add more tests.
34955         (j1_test): Likewise.
34956         (y0_test): Likewise.
34957         (y1_test): Likewise.
34958         * sysdeps/i386/fpu/libm-test-ulps: Update.
34959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34961         [BZ #14155]
34962         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34963         1 / x and functions P and Q for arguments above 0x1p256L.
34964         (__ieee754_y0l): Likewise.
34965         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34966         (__ieee754_y1l): Likewise.
34967         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34968         (j1_test): Likewise.
34969         (y0_test): Likewise.
34970         (y1_test): Likewise.
34972 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34974         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34975         variable.
34977 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34979         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34980         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34981         zero since it's initialized to EXEC_PAGESIZE.
34983         * sysdeps/unix/sysv/linux/ldsodefs.h
34984         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34985         * sysdeps/generic/ldsodefs.h: ... here.
34987 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34989         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34991         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34992         math/test-snan.c.
34993         * math/test-snan.c: Renamed from
34994         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34995         * math/Makefile (tests): Add test-snan.
34996         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34997         test-powerpc-snan.
34999         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35000         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35001         functions.
35002         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35003         __builtin_nan family of functions.
35004         * math/libm-test.inc (initialize): Initialize qnan_value with
35005         __builtin_nan family of functions.
35006         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35007         Remove variables.
35008         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35009         Remove functions.
35010         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35011         storage class.  Initialize qNaN_var and sNaN_var with
35012         __builtin_nan and __builtin_nans families of functions,
35013         respectively.
35015         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35016         (sqrt_test): Remove duplicate test with qNaN input.
35017         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35018         (round_test, signbit_test, significand_test): Note missing +/-Inf
35019         as well as qNaN tests.
35021         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35022         qNaN_var.  Fix a few strings, too.
35023         * math/libm-test.inc (nan_value): Rename to qnan_value.
35024         * math/gen-libm-test.pl (%beautify): Adjust to that.
35025         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35026         * math/test-misc.c (main): Likewise.
35027         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35028         to __qnan_bytes, and __qnan_union, respectively.
35029         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35030         Likewise.
35031         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35032         and lqnanval, respectively.
35033         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35034         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35035         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35036         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35038         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35039         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35040         doubles.
35042         * math/test-misc.c (main): Fix copy'n'pastos.
35043         * misc/tst-efgcvt.c (special): Likewise.
35045         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35046         Remove declarations.
35048 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35050         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35051         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35052         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35053         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35055 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35057         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35058         macro to return vdso values correctly in IFUNC implementations.
35059         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35060         Optimization by using IFUNC.
35062 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35063             Richard Henderson  <rth@redhat.com>
35064             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35066         * Makefile.in (bench): New target.
35067         * NEWS: Mention the benchmark framework.
35068         * Rules (bench): Likewise.
35069         (binaries-bench): Generate binaries for functions to
35070         benchmark.
35071         * benchtests/Makefile: New makefile for benchmark tests.
35072         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35073         programs.
35074         * benchtests/exp-inputs: New input file for EXP function.
35075         * benchtests/pow-inputs: New input file for POW function.
35076         * scripts/bench.pl: New script to generate source files for
35077         benchmark programs.
35079 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35081         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35082         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35083         computations on mantissa.  Use macros for rounding and
35084         division.
35085         (denorm): Likewise.
35086         (__dbl_mp): Likewise.
35087         (add_magnitudes): Likewise.
35088         (sub_magnitudes): Likewise.
35089         (__mul): Likewise.
35090         (__sqr): Likewise.
35091         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35092         powers of two in terms of TWOPOW macro.
35093         (mp_no): Make type of mantissa as MANTISSA_T.
35094         [!RADIXI]: Define RADIXI.
35095         [!TWO52]: Define TWO52.
35096         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35098         * manual/nptl.texi (cindex): Modify threads to pthreads.
35100 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35102         * sysdeps/x86_64/preconfigure: Regenerated.
35104 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35106         [BZ #14155]
35107         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35108         0x1p28 and above.
35109         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35110         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35111         0x1p28 and above.
35112         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35113         * math/libm-test.inc (j0_test): Do not allow one spurious
35114         underflow exception.
35115         (y1_test): Likewise.
35117 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35119         * manual/Makefile (chapters): Add nptl.
35120         * manual/debug.texi (Debugging Support): Add link to Threads
35121         chapter.
35122         * manual/nptl.texi: New file.
35124         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35126 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35128         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35129         for non-NULL pointer before the memory validity test. Pointed
35130         out by Holger Brunck <holger.brunck@keymile.com>.
35132 2013-03-13  Andreas Schwab  <schwab@suse.de>
35134         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35135         instead of .os.
35137 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35139         * timezone/zic.c: Update from tzcode 2013b.
35141 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35143         * manual/install.texi (Configuring and compiling):
35144         Mention i686 and i586.
35145         * INSTALL: Regenerate.
35147 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35149         * sysdeps/init_array/elf-init.c: New file.
35150         * csu/elf-init.c
35151         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35152         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35154         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35155         __gmon_start__ as global, but as static with a .preinit_array pointer.
35156         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35157         * sysdeps/init_array/crti.S: New file, empty except for comments.
35158         * sysdeps/init_array/crtn.S: Likewise.
35160 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35162         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35163         definining bcopy.
35164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35165         Remove Prefer_SSE_for_memop.
35166         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35167         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35168         HAS_PREFER_SSE_FOR_MEMOP.
35169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35170         memset-x86-64.
35171         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35172         Remove bzero, memset ifunc support.
35173         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35174         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35175         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35176         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35178 2013-03-11  Andreas Schwab  <schwab@suse.de>
35180         [BZ #15234]
35181         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35182         by SHLIB_COMPAT.
35183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35184         (GLIBC_2.16): Remove pthread_atfork.
35186 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35188         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35189         (ptestcases.h): Likewise.
35191 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35193         * Makeconfig ($(common-objpfx)config.status): Depend on
35194         sysdeps/*/preconfigure{,.in} too.
35196 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35198         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35199         (__free_hook): Use void * instead of __malloc_ptr_t.
35200         (__malloc_hook): Likewise.
35201         (__realloc_hook): Likewise.
35202         (__memalign_hook): Likewise.
35203         (__after_morecore_hook): Likewise.
35204         * malloc/arena.c (save_malloc_hook): Likewise.
35205         (save_free_hook): Likewise.
35206         * malloc/hooks.c (malloc_hook_ini): Likewise.
35207         (realloc_hook_ini): Likewise.
35208         (memalign_hook_ini): Likewise.
35209         * malloc/malloc.c (malloc_hook_ini): Likewise.
35210         (realloc_hook_ini): Likewise.
35211         (memalign_hook_ini): Likewise.
35212         (__free_hook): Likewise.
35213         (__malloc_hook): Likewise.
35214         (__realloc_hook): Likewise.
35215         (__memalign_hook): Likewise.
35216         (__libc_malloc): Likewise.
35217         (__libc_free): Likewise.
35218         (__libc_realloc): Likewise.
35219         (__libc_memalign): Likewise.
35220         (__libc_valloc): Likewise.
35221         (__libc_pvalloc): Likewise.
35222         (__libc_calloc): Likewise.
35223         (__posix_memalign): Likewise.
35224         * malloc/morecore.c (__sbrk): Likewise.
35225         (__default_morecore): Likewise.
35227         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35229         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35230         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35231         __malloc_ptrdiff_t.
35233         * malloc/malloc.h (__malloc_size_t): Remove macro.
35234         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35235         __malloc_size_t.
35236         (old_memalign_hook): Likewise.
35237         (old_realloc_hook): Likewise.
35238         (struct hdr): Likewise.
35239         (flood): Likewise.
35240         (mallochook): Likewise.
35241         (memalignhook): Likewise.
35242         (reallochook): Likewise.
35243         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35244         (tr_old_realloc_hook): Likewise.
35245         (tr_old_memalign_hook): Likewise.
35246         (tr_mallochook): Likewise.
35247         (tr_reallochook): Likewise.
35248         (tr_memalignhook): Likewise.
35250 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35252         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35253         default_ldbl_pack and using as default implementation.
35254         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35255         implementation.
35256         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35257         redundant definition.
35258         (ldbl_insert_mantissa): Likewise.
35259         (ldbl_canonicalize): Likewise.
35260         (ldbl_nearbyint): Likewise.
35261         (ldbl_pack): Rename to ldbl_pack_ppc.
35262         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35263         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35264         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35266 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35269         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35270         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35271         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35273         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35274         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35275         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35277 2013-03-07  Andreas Jaeger  <aj@suse.de>
35279         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35280         bits/mman-linux.h.
35282 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35284         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35285         Include mpa.h and declare __MPEXP.
35286         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35287         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35288         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35289         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35290         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35291         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35292         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35294         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35295         (__slowpow): Use long double EXPL and LOGL functions to
35296         compute POW.
35297         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35298         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35299         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35300         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35301         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35302         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35304         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35305         intermediate variable to calculate exponent.
35306         (__sqr): Likewise.
35307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35308         Likewise.
35309         (__sqr): Likewise.
35311         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35312         [!NO__SQR]: Define __sqr.
35313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35314         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35315         sysdeps/ieee754/dbl-64/mpa.c.
35316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35318         [BZ #12723]
35319         * posix/Makefile (tests): Add tst-pathconf.
35320         * posix/tst-pathconf.c: New test case.
35321         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35322         _PC_PIPE_BUF.
35323         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35325 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35327         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35329 2013-03-06  Andreas Jaeger  <aj@suse.de>
35331         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35332         definition via __MAP_ANONYMOUS.
35334         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35335         it's not part of Linux headers.
35337         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35338         (MAP_HUGE_MASK): Define.
35340         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35341         Define.
35342         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35343         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35344         Define.
35345         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35346         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35347         Define.
35348         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35349         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35350         Define.
35351         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35353         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35354         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35355         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35356         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35357         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35358         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35360         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35361         Handle f2fs.
35363         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35364         Handle f2fs and efivarfs.
35366         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35367         f2fs.
35369         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35370         (EFIVARFS_MAGIC): Add.
35371         (F2FS_LINK_MAX): Add.
35373 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35375         * stdio-common/vfprintf.c: Replace __builtin_expect with
35376         __glibc_unlikely.
35378 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35380         [BZ #13550]
35381         * sysdeps/generic/bp-sym.h: Remove file.
35382         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35383         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35384         <bp-sym.h> and <bp-asm.h>.
35385         (__longjmp): Don't use BP_SYM.
35386         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35387         and <bp-asm.h>.
35388         (memcpy): Don't use BP_SYM.
35389         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35390         <bp-sym.h> and <bp-asm.h>.
35391         (memcpy): Don't use BP_SYM.
35392         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35393         <bp-asm.h>.
35394         (memcpy): Don't use BP_SYM.
35395         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35396         <bp-asm.h>.
35397         (memset): Don't use BP_SYM.
35398         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35399         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35400         (__bzero): Don't use BP_SYM.
35401         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35402         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35403         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35404         <bp-sym.h> and <bp-asm.h>.
35405         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35406         pointers.
35407         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35408         <bp-sym.h> and <bp-asm.h>.
35409         (memcpy): Don't use BP_SYM.
35410         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35411         <bp-sym.h> and <bp-asm.h>.
35412         (memset): Don't use BP_SYM.
35413         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35414         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35415         (__bzero): Don't use BP_SYM.
35416         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35417         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35418         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35419         <bp-sym.h> and <bp-asm.h>.
35420         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35421         pointers.
35422         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35423         <bp-sym.h> and <bp-asm.h>.
35424         (memcpy): Don't use BP_SYM.
35425         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35426         <bp-sym.h> and <bp-asm.h>.
35427         (memset): Don't use BP_SYM.
35428         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35429         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35430         (__bzero): Don't use BP_SYM.
35431         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35432         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35433         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35434         <bp-sym.h> and <bp-asm.h>.
35435         (__memchr): Don't use BP_SYM.
35436         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35437         <bp-sym.h> and <bp-asm.h>.
35438         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35439         pointers.
35440         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35441         <bp-sym.h> and <bp-asm.h>.
35442         (memcpy): Don't use BP_SYM.
35443         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35444         <bp-sym.h> and <bp-asm.h>.
35445         (__mempcpy): Don't use BP_SYM.
35446         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35447         <bp-sym.h> and <bp-asm.h>.
35448         (__memrchr): Don't use BP_SYM.
35449         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35450         <bp-sym.h> and <bp-asm.h>.
35451         (memset): Don't use BP_SYM.
35452         (__bzero): Likewise.
35453         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35454         <bp-sym.h> and <bp-asm.h>.
35455         (__rawmemchr): Don't use BP_SYM.
35456         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35457         <bp-sym.h> and <bp-asm.h>.
35458         (__STRCMP): Don't use BP_SYM.
35459         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35460         <bp-sym.h> and <bp-asm.h>.
35461         (strchr): Don't use BP_SYM.
35462         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35463         <bp-sym.h> and <bp-asm.h>.
35464         (__strchrnul): Don't use BP_SYM.
35465         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35466         <bp-sym.h> and <bp-asm.h>.
35467         (strlen): Don't use BP_SYM.
35468         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35469         <bp-sym.h> and <bp-asm.h>.
35470         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35471         pointers.
35472         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35473         <bp-sym.h> and <bp-asm.h>.
35474         (__strnlen): Don't use BP_SYM.
35475         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35476         <bp-sym.h> and <bp-asm.h>.
35477         (__GI__setjmp): Don't use BP_SYM.
35478         (_setjmp): Likewise.
35479         (__sigsetjmp): Likewise.
35480         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35481         (L(start_addresses)): Don't use BP_SYM.
35482         (_start): Likewise.
35483         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35484         <bp-asm.h>.
35485         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35486         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35487         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35488         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35489         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35490         <bp-asm.h>.
35491         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35492         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35493         about bounded pointers.
35494         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35495         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35496         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35497         <bp-asm.h>.
35498         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35499         about bounded pointers.  Remove GKM FIXME comments.
35500         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35501         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35502         <bp-asm.h>.
35503         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35504         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35505         Remove GKM FIXME comments.
35506         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35507         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35508         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35509         <bp-asm.h>.
35510         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35511         about bounded pointers.  Remove GKM FIXME comment.
35512         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35513         and <bp-asm.h>.
35514         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35515         pointers.
35516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35517         <bp-sym.h> and <bp-asm.h>.
35518         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35520         <bp-sym.h> and <bp-asm.h>.
35521         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35522         comment.
35524 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35526         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35527         call free(NULL).
35529 2013-03-05  David S. Miller  <davem@davemloft.net>
35531         * po/es.po: Update from translation team.
35533 2013-03-05  Andreas Jaeger  <aj@suse.de>
35535         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35536         <bits/mman-linux.h>.
35537         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35538         is fine.
35539         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35540         <bits/mman-linux.h> to end of file.
35541         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35542         is fine.
35543         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35544         <bits/mman-linux.h> to end of file.
35545         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35546         is fine.
35547         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35548         <bits/mman-linux.h> to end of file.
35550         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35551         (MCL_CURRENT, MCL_FUTURE): Define here.
35553 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35555         [BZ #15232]
35556         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35557         attribute_hidden.
35558         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35560 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35562         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35563         fourth parameter needed for rt_sigprocmask syscall.
35564         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35565         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35566         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35567         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35568         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35569         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35571 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35573         [BZ #13550]
35574         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35575         comment about bounded pointers.
35576         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35577         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35579 2013-03-04  Andreas Jaeger  <aj@suse.de>
35581         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35582         common definitions.
35584         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35585         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35586         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35587         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35588         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35589         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35591 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35593         [BZ #15055]
35594         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35595         __ieee754_sqrl instead of __sqrl.
35597 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35599         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35600         * sysdeps/powerpc/fpu_control.h: ... here.
35601         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35602         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35603         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35604         * sysdeps/powerpc/bits/mathinline.h: ... here.
35606 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35608         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35609         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35610         to just [NEED_DL_SYSINFO_DSO].
35611         * elf/dl-support.c: Likewise.
35612         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35613         * elf/rtld.c (dl_main): Likewise.
35614         * elf/setup-vdso.h (setup_vdso): Likewise.
35615         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35616         * sysdeps/unix/sysv/linux/dl-sysdep.c
35617         (_dl_discover_osversion): Likewise.
35619 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35621         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35622         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35624 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35626         * NEWS: Mention libm performance improvements and non-x86 PI
35627         futex support.
35629         * csu/libc-start.c (__pthread_initialize_minimal): Change
35630         function arguments.
35631         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35633 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35635         [BZ #13550]
35636         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35637         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35638         <bp-sym.h> and <bp-asm.h>.
35639         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35640         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35641         and <bp-asm.h>.
35642         (memcpy): Don't use BP_SYM.
35643         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35644         <bp-asm.h>.
35645         (__mpn_add_n): Don't use BP_SYM.
35646         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35647         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35648         and <bp-asm.h>.
35649         (__mpn_addmul_1): Don't use BP_SYM.
35650         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35651         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35652         <bp-sym.h>.
35653         (_setjmp): Don't use BP_SYM.
35654         (__novmx_setjmp): Likewise.
35655         (__GI__setjmp): Likewise.
35656         (__vmx_setjmp): Likewise.
35657         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35658         <bp-sym.h>.
35659         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35660         (__bzero): Don't use BP_SYM.
35661         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35662         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35663         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35664         <bp-sym.h> and <bp-asm.h>.
35665         (memcpy): Don't use BP_SYM.
35666         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35667         <bp-sym.h> and <bp-asm.h>.
35668         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35669         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35670         <bp-sym.h> and <bp-asm.h>.
35671         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35672         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35673         <bp-asm.h>.
35674         (__mpn_lshift): Don't use BP_SYM.
35675         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35676         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35677         <bp-asm.h>.
35678         (memset): Don't use BP_SYM.
35679         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35680         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35681         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35682         <bp-asm.h>.
35683         (__mpn_mul_1): Don't use BP_SYM.
35684         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35685         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35686         <bp-sym.h> and <bp-asm.h>.
35687         (memcmp): Don't use BP_SYM.
35688         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35689         <bp-sym.h> and <bp-asm.h>.
35690         (memcpy): Don't use BP_SYM.
35691         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35692         <bp-sym.h> and <bp-asm.h>.
35693         (memset): Don't use BP_SYM.
35694         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35695         <bp-sym.h> and <bp-asm.h>.
35696         (strncmp): Don't use BP_SYM.
35697         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35698         <bp-sym.h> and <bp-asm.h>.
35699         (memcpy): Don't use BP_SYM.
35700         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35701         <bp-sym.h> and <bp-asm.h>.
35702         (memset): Don't use BP_SYM.
35703         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35704         <bp-sym.h> and <bp-asm.h>.
35705         (__memchr): Don't use BP_SYM.
35706         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35707         <bp-sym.h> and <bp-asm.h>.
35708         (memcmp): Don't use BP_SYM.
35709         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35710         <bp-sym.h> and <bp-asm.h>.
35711         (memcpy): Don't use BP_SYM.
35712         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35713         <bp-sym.h> and <bp-asm.h>.
35714         (__mempcpy): Don't use BP_SYM.
35715         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35716         <bp-sym.h> and <bp-asm.h>.
35717         (__memrchr): Don't use BP_SYM.
35718         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35719         <bp-sym.h> and <bp-asm.h>.
35720         (memset): Don't use BP_SYM.
35721         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35722         <bp-sym.h> and <bp-asm.h>.
35723         (__rawmemchr): Don't use BP_SYM.
35724         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35725         <bp-sym.h> and <bp-asm.h>.
35726         (__STRCMP): Don't use BP_SYM.
35727         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35728         <bp-sym.h> and <bp-asm.h>.
35729         (strchr): Don't use BP_SYM.
35730         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35731         <bp-sym.h> and <bp-asm.h>.
35732         (__strchrnul): Don't use BP_SYM.
35733         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35734         <bp-sym.h> and <bp-asm.h>.
35735         (strlen): Don't use BP_SYM.
35736         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35737         <bp-sym.h> and <bp-asm.h>.
35738         (strncmp): Don't use BP_SYM.
35739         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35740         <bp-sym.h> and <bp-asm.h>.
35741         (__strnlen): Don't use BP_SYM.
35742         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35743         <bp-asm.h>.
35744         (__mpn_rshift): Don't use BP_SYM.
35745         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35746         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35747         <bp-sym.h> and <bp-asm.h>.
35748         (__sigsetjmp): Don't use BP_SYM.
35749         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35750         (L(start_addresses)): Don't use BP_SYM.
35751         (_start): Likewise.
35752         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35753         <bp-asm.h>.
35754         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35755         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35756         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35757         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35758         <bp-asm.h>.
35759         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35760         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35761         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35762         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35763         <bp-asm.h>.
35764         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35765         comments.
35766         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35767         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35768         <bp-asm.h>.
35769         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35770         FIXME comments.
35771         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35772         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35773         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35774         <bp-asm.h>.
35775         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35776         comment.
35777         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35778         and <bp-asm.h>.
35779         (strncmp): Don't use BP_SYM,
35780         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35781         <bp-asm.h>.
35782         (__mpn_sub_n): Don't use BP_SYM.
35783         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35784         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35785         and <bp-asm.h>.
35786         (__mpn_submul_1): Don't use BP_SYM.
35787         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35789         <bp-sym.h> and <bp-asm.h>.
35790         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35792         <bp-sym.h> and <bp-asm.h>.
35793         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35794         comment.
35796 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35799         Use ZK to minimize writes to Z.
35800         (sub_magnitudes): Simplify code a bit.
35801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35802         Use ZK to minimize writes to Z.
35803         (sub_magnitudes): Simplify code a bit.
35805 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35807         * csu/gmon-start.c: Add special exception to license text.
35809 2013-02-27  Richard Henderson  <rth@redhat.com>
35811         * scripts/config.guess: Update from config.git.
35812         * scripts/config.sub: Likewise.
35814 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35816         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35818         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35820         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35822         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35824         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35826 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35828         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35829         [$(build-shared = yes].
35831 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35833         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35834         (__mul): Reduce iterations for calculating mantissa.
35836         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35837         MPTWO.
35838         (__mpranred): Likewise.
35840         [BZ #15160]
35841         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35842         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35844 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35846         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35847         Define __attribute__.
35849 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35851         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35852         unused.
35853         * posix/regex_internal.h (__attribute): Remove.
35854         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35855         (re_string_context_at): Likewise.
35856         (bitset_not): Use __attribute__ and mark function as possibly
35857         unused.
35858         (bitset_merge): Likewise.
35859         (bitset_mask): Likewise.
35860         (re_string_char_size_at): Likewise.
35861         (re_string_wchar_at): Likewise.
35862         (re_string_elem_size_at): Likewise.
35864 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35866         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35867         code.
35868         (cc32): Likewise.
35870         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35871         (__acr): Likewise.
35872         (__cpy): Likewise.
35873         (norm): Likewise.
35874         (denorm): Likewise.
35875         (__dbl_mp): Likewise.
35876         (add_magnitudes): Likewise.
35877         (sub_magnitudes): Likewise.
35878         (__mul): Likewise.
35879         (__inv): Likewise.
35881         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35882         style.
35884         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35885         style.
35887         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35888         code.
35890         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35891         up changes with default code.
35892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35893         Likewise.
35895 2013-02-24  Allan McRae  <allan@archlinux.org>
35897         * manual/socket.texi (The Internet Namespace): Order menu items
35898         to match that in the file.
35900         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35901         node listing of the info page menu.
35903 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35905         [BZ #13550]
35906         * sysdeps/i386/bp-asm.h: Remove file.
35907         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35908         (PARMS): Do not use macros from bp-asm.h.
35909         (S1): Likewise.
35910         (S2): Likewise.
35911         (SIZE): Likewise.
35912         (__mpn_add_n): Do not use BP_SYM
35913         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35914         "bp-asm.h".
35915         (PARMS): Do not use macros from bp-asm.h.
35916         (S1): Likewise.
35917         (SIZE): Likewise.
35918         (__mpn_addmul_1): Do not use BP_SYM
35919         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35920         "bp-asm.h".
35921         (PARMS): Do not use macros from bp-asm.h.
35922         (SIGMSK): Likewise.
35923         (_setjmp): Likewise.  Do not use BP_SYM.
35924         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35925         "bp-asm.h".
35926         (PARMS): Do not use macros from bp-asm.h.
35927         (SIGMSK): Likewise.
35928         (setjmp): Likewise.  Do not use BP_SYM.
35929         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35930         "bp-asm.h".
35931         (PARMS): Do not use macros from bp-asm.h.
35932         (__frexp): Do not use BP_SYM.
35933         (frexp): Likewise.
35934         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35935         "bp-asm.h".
35936         (PARMS): Do not use macros from bp-asm.h.
35937         (__frexpf): Do not use BP_SYM.
35938         (frexpf): Likewise.
35939         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35940         "bp-asm.h".
35941         (PARMS): Do not use macros from bp-asm.h.
35942         (__frexpl): Do not use BP_SYM.
35943         (frexpl): Likewise.
35944         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35945         "bp-asm.h".
35946         (PARMS): Do not use macros from bp-asm.h.
35947         (__remquo): Do not use BP_SYM.
35948         (remquo): Likewise.
35949         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35950         "bp-asm.h".
35951         (PARMS): Do not use macros from bp-asm.h.
35952         (__remquof): Do not use BP_SYM.
35953         (remquof): Likewise.
35954         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35955         "bp-asm.h".
35956         (PARMS): Do not use macros from bp-asm.h.
35957         (__remquol): Do not use BP_SYM.
35958         (remquol): Likewise.
35959         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35960         "bp-asm.h".
35961         (PARMS): Do not use macros from bp-asm.h.
35962         (DEST): Likewise.
35963         (SRC): Likewise.
35964         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35965         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35966         "bp-asm.h".
35967         (PARMS): Do not use macros from bp-asm.h.
35968         (strlen): Do not use BP_SYM.
35969         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35970         "bp-asm.h".
35971         (PARMS): Do not use macros from bp-asm.h.
35972         (S1): Likewise.
35973         (S2): Likewise.
35974         (SIZE): Likewise.
35975         (__mpn_add_n): Do not use BP_SYM.
35976         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35977         "bp-asm.h".
35978         (PARMS): Do not use macros from bp-asm.h.
35979         (S1): Likewise.
35980         (SIZE): Likewise.
35981         (__mpn_addmul_1): Do not use BP_SYM.
35982         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35983         weak_alias.
35984         (bzero): Likewise.
35985         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35986         "bp-asm.h".
35987         (PARMS): Do not use macros from bp-asm.h.
35988         (S): Likewise.
35989         (SIZE): Likewise.
35990         (__mpn_lshift): Do not use BP_SYM.
35991         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35992         "bp-asm.h".
35993         (PARMS): Do not use macros from bp-asm.h.
35994         (DEST): Likewise.
35995         (SRC): Likewise.
35996         (LEN): Likewise.
35997         (memcpy): Likewise.  Do not use BP_SYM.
35998         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35999         libc_hidden_def and weak_alias.
36000         (mempcpy): Do not use BP_SYM in weak_alias.
36001         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36002         "bp-asm.h".
36003         (PARMS): Do not use macros from bp-asm.h.
36004         (DEST): Likewise.
36005         (LEN): Likewise.
36006         [!BZERO_P] (CHR): Likewise.
36007         (memset): Likewise.  Do not use BP_SYM.
36008         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36009         "bp-asm.h".
36010         (PARMS): Do not use macros from bp-asm.h.
36011         (S1): Likewise.
36012         (SIZE): Likewise.
36013         (__mpn_mul_1): Do not use BP_SYM.
36014         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36015         "bp-asm.h".
36016         (PARMS): Do not use macros from bp-asm.h.
36017         (S): Likewise.
36018         (SIZE): Likewise.
36019         (__mpn_rshift): Do not use BP_SYM.
36020         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36021         "bp-asm.h".
36022         (PARMS): Do not use macros from bp-asm.h.
36023         (STR): Likewise.
36024         (CHR): Likewise.
36025         (strchr): Likewise.  Do not use BP_SYM.
36026         (index): Do not use BP_SYM in weak_alias.
36027         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36028         "bp-asm.h".
36029         (PARMS): Do not use macros from bp-asm.h.
36030         (DEST): Likewise.
36031         (SRC): Likewise.
36032         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36033         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36034         "bp-asm.h".
36035         (PARMS): Do not use macros from bp-asm.h.
36036         (strlen): Do not use BP_SYM.
36037         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36038         "bp-asm.h".
36039         (PARMS): Do not use macros from bp-asm.h.
36040         (S1): Likewise.
36041         (S2): Likewise.
36042         (SIZE): Likewise.
36043         (__mpn_sub_n): Do not use BP_SYM.
36044         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36045         "bp-asm.h".
36046         (PARMS): Do not use macros from bp-asm.h.
36047         (S1): Likewise.
36048         (SIZE): Likewise.
36049         (__mpn_submul_1): Do not use BP_SYM.
36050         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36051         "bp-asm.h".
36052         (PARMS): Do not use macros from bp-asm.h.
36053         (S1): Likewise.
36054         (S2): Likewise.
36055         (SIZE): Likewise.
36056         (__mpn_add_n): Do not use BP_SYM.
36057         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36058         weak_alias.
36059         (bzero): Likewise.
36060         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36061         "bp-asm.h".
36062         (PARMS): Do not use macros from bp-asm.h.
36063         (BLK2): Likewise.
36064         (LEN): Likewise.
36065         (memcmp): Do not use BP_SYM.
36066         (bcmp): Do not use BP_SYM in weak_alias.
36067         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36068         "bp-asm.h".
36069         (PARMS): Do not use macros from bp-asm.h.
36070         (DEST): Likewise.
36071         (SRC): Likewise.
36072         (LEN): Likewise.
36073         (memcpy): Likewise.  Do not use BP_SYM.
36074         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36075         "bp-asm.h".
36076         (PARMS): Do not use macros from bp-asm.h.
36077         (DEST): Likewise.
36078         (SRC): Likewise.
36079         (LEN): Likewise.
36080         (memmove): Likewise.  Do not use BP_SYM.
36081         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36082         "bp-asm.h".
36083         (PARMS): Do not use macros from bp-asm.h.
36084         (DEST): Likewise.
36085         (SRC): Likewise.
36086         (LEN): Likewise.
36087         (__mempcpy): Likewise.  Do not use BP_SYM.
36088         (mempcpy): Do not use BP_SYM in weak_alias.
36089         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36090         "bp-asm.h".
36091         (PARMS): Do not use macros from bp-asm.h.
36092         (DEST): Likewise.
36093         (LEN): Likewise.
36094         [!BZERO_P] (CHR): Likewise.
36095         (memset): Likewise.  Do not use BP_SYM.
36096         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36097         "bp-asm.h".
36098         (PARMS): Do not use macros from bp-asm.h.
36099         (STR2): Likewise.
36100         (strcmp): Do not use BP_SYM.
36101         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36102         "bp-asm.h".
36103         (PARMS): Do not use macros from bp-asm.h.
36104         (STR): Likewise.
36105         (DELIM): Likewise.
36106         [USE_AS_STRTOK_R] (SAVE): Likewise.
36107         (FUNCTION): Likewise.  Do not use BP_SYM.
36108         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36109         aliases.
36110         (strtok_r): Likewise.
36111         (__GI___strtok_r): Likewise.
36112         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36113         (PARMS): Do not use macros from bp-asm.h.
36114         (S): Likewise.
36115         (SIZE): Likewise.
36116         (__mpn_lshift): Do not use BP_SYM.
36117         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36118         (PARMS): Do not use macros from bp-asm.h.
36119         (STR): Likewise.
36120         (CHR): Likewise.
36121         (__memchr): Do not use BP_SYM.
36122         (memchr): Do not use BP_SYM in weak_alias.
36123         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36124         (PARMS): Do not use macros from bp-asm.h.
36125         (BLK2): Likewise.
36126         (LEN): Likewise.
36127         (memcmp): Do not use BP_SYM.
36128         (bcmp): Do not use BP_SYM in weak_alias.
36129         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36130         (PARMS): Do not use macros from bp-asm.h.
36131         (S1): Likewise.
36132         (SIZE): Likewise.
36133         (__mpn_mul_1): Do not use BP_SYM.
36134         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36135         "bp-asm.h".
36136         (PARMS): Do not use macros from bp-asm.h.
36137         (STR): Likewise.
36138         (CHR): Likewise.
36139         (__rawmemchr): Do not use BP_SYM.
36140         (rawmemchr): Do not use BP_SYM in weak_alias.
36141         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36142         (PARMS): Do not use macros from bp-asm.h.
36143         (S): Likewise.
36144         (SIZE): Likewise.
36145         (__mpn_rshift): Do not use BP_SYM.
36146         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36147         (PARMS): Do not use macros from bp-asm.h.
36148         (SIGMSK): Likewise.
36149         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36150         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36151         (_start): Do not use BP_SYM.
36152         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36153         (PARMS): Do not use macros from bp-asm.h.
36154         (DEST): Likewise.
36155         (SRC): Likewise.
36156         (__stpcpy): Likewise.  Do not use BP_SYM.
36157         (stpcpy): Do not use BP_SYM in weak_alias.
36158         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36159         "bp-asm.h".
36160         (PARMS): Do not use macros from bp-asm.h.
36161         (DEST): Likewise.
36162         (SRC): Likewise.
36163         (LEN): Likewise.
36164         (__stpncpy): Likewise.  Do not use BP_SYM.
36165         (stpncpy): Do not use BP_SYM in weak_alias.
36166         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36167         (PARMS): Do not use macros from bp-asm.h.
36168         (STR): Likewise.
36169         (CHR): Likewise.
36170         (strchr): Likewise.  Do not use BP_SYM.
36171         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36172         "bp-asm.h".
36173         (PARMS): Do not use macros from bp-asm.h.
36174         (STR): Likewise.
36175         (CHR): Likewise.
36176         (__strchrnul): Likewise.  Do not use BP_SYM.
36177         (strchrnul): Do not use BP_SYM in weak_alias.
36178         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36179         "bp-asm.h".
36180         (PARMS): Do not use macros from bp-asm.h.
36181         (STOP): Likewise.
36182         (strcspn): Do not use BP_SYM.
36183         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36184         "bp-asm.h".
36185         (PARMS): Do not use macros from bp-asm.h.
36186         (STR): Likewise.
36187         (STOP): Likewise.
36188         (strpbrk): Likewise.  Do not use BP_SYM.
36189         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36190         "bp-asm.h".
36191         (PARMS): Do not use macros from bp-asm.h.
36192         (STR): Likewise.
36193         (CHR): Likewise.
36194         (strrchr): Likewise.  Do not use BP_SYM.
36195         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36196         (PARMS): Do not use macros from bp-asm.h.
36197         (SKIP): Likewise.
36198         (strspn): Do not use BP_SYM.
36199         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36200         (PARMS): Do not use macros from bp-asm.h.
36201         (STR): Likewise.
36202         (DELIM): Likewise.
36203         (SAVE): Likewise.
36204         (FUNCTION): Likewise.  Do not use BP_SYM.
36205         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36206         aliases.
36207         (strtok_r): Likewise.
36208         (__GI___strtok_r): Likewise.
36209         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36210         (PARMS): Do not use macros from bp-asm.h.
36211         (S1): Likewise.
36212         (S2): Likewise.
36213         (SIZE): Likewise.
36214         (__mpn_sub_n): Do not use BP_SYM.
36215         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36216         "bp-asm.h".
36217         (PARMS): Do not use macros from bp-asm.h.
36218         (S1): Likewise.
36219         (SIZE): Likewise.
36220         (__mpn_submul_1): Do not use BP_SYM.
36221         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36222         <bp-sym.h>.
36223         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36224         and <bp-asm.h>.
36225         (PARMS): Do not use macros from bp-asm.h.
36226         (FLAGS): Likewise.
36227         (PTID): Likewise.
36228         (TLS): Likewise.
36229         (CTID): Likewise.
36230         (__clone): Do not use BP_SYM.
36231         (clone): Do not use BP_SYM in weak_alias.
36232         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36233         and <bp-asm.h>.
36234         (PARMS): Do not use macros from bp-asm.h.
36235         (LEN): Likewise.
36236         (__mmap64): Do not use BP_SYM.
36237         (mmap64): Do not use BP_SYM in weak_alias.
36238         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36239         <bp-sym.h> and <bp-asm.h>.
36240         (PARMS): Do not use macros from bp-asm.h.
36241         (__posix_fadvise64_l64): Do not use BP_SYM.
36242         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36243         (PARMS): Do not use macros from bp-asm.h.
36244         (NSOPS): Likewise.
36245         (semtimedop): Do not use BP_SYM.
36246         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36247         and <bp-asm.h>.
36249 2013-02-21  Allan McRae  <allan@archlinux.org>
36251         * manual/message.texi (Charset conversion in gettext):
36252         Move @end statement to beginning of line.
36254 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36257         static.
36258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36259         Likewise.
36261         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36262         (denorm): Likewise.
36263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36266 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36268         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36269         tail-call to the resolved function if pltexit isn't needed.
36271 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36274         or Y being zero as being unlikely.
36275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36276         Likewise.
36278 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36280         * manual/nss.texi (System Databases and Name Service Switch):
36281         Remove frobnicate @pxref.
36283 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36285         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36286         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36288 2013-02-20  Petr Machata  <pmachata@redhat.com>
36290         * elf/elf.h (R_ARM_TARGET1): New macro.
36291         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36292         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36293         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36294         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36295         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36296         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36297         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36298         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36299         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36300         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36301         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36302         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36303         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36304         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36305         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36306         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36307         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36308         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36309         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36310         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36311         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36312         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36313         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36314         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36315         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36316         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36317         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36318         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36319         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36320         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36321         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36322         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36323         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36324         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36325         (R_ARM_THM_GOT_BREL12): Likewise.
36326         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36327         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36328         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36329         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36330         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36331         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36332         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36333         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36334         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36336 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36338         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36339         __attribute_used__ to __attribute__ ((unused)).
36341 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36343         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36344         powerpc mpa.c.
36345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36346         comment formatting.
36347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36349 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36351         [BZ #13550]
36352         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36353         Remove macro.
36354         (ENTER): Remove both macro definitions.
36355         (LEAVE): Likewise.
36356         (CHECK_BOUNDS_LOW): Likewise.
36357         (CHECK_BOUNDS_HIGH): Likewise.
36358         (CHECK_BOUNDS_BOTH): Likewise.
36359         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36360         (RETURN_BOUNDED_POINTER): Likewise.
36361         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36362         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36363         (POP_ERRNO_LOCATION_RETURN): Likewise.
36364         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36365         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36366         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36367         macros.
36368         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36369         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36370         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36371         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36372         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36373         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36374         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36375         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36376         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36377         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36378         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36379         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36380         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36381         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36382         removed macros.
36383         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36384         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36385         macros.
36386         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36387         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36388         * sysdeps/i386/i586/memset.S (memset): Likewise.
36389         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36390         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36391         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36392         macros.
36393         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36394         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36395         Change uses of L(2) to L(out).
36396         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36397         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36398         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36399         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36400         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36401         removed macros.
36402         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36403         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36404         macros.
36405         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36406         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36407         (RETURN): Do not use macro LEAVE.
36408         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36409         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36410         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36411         * sysdeps/i386/i686/memset.S (memset): Likewise.
36412         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36413         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36414         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36415         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36416         Likewise.
36417         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36418         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36419         L(1_2) and L(1_3) into L(1).
36420         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36421         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36422         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36423         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36424         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36425         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36426         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36427         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36428         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36429         macros.
36430         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36431         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36432         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36433         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36434         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36435         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36436         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36437         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36438         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36439         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36440         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36441         * sysdeps/i386/strspn.S (strspn): Likewise.
36442         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36443         conditional code.
36444         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36445         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36446         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36447         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36448         L(1_3) into L(1_1).
36449         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36450         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36451         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36452         macros.
36453         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36455 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36457         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36458         macro.
36460 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36462         * math/atest-exp.c (exp_mpn): Remove ROUND.
36463         * math/atest-exp2.c (exp_mpn): Likewise.
36464         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36466         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36467         * stdlib/tst-tls-atexit-lib.c: Likewise.
36468         * stdlib/tst-tls-atexit.c: Likewise.
36470 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36472         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36473         and __attribute_alloc_size__.
36475 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36477         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36478         __attribute_alloc_size__.
36479         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36480         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36482 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36484         * include/programs/xmalloc.h: New file.
36485         * catgets/gencat.c: Include it.
36486         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36487         * elf/pldd.c: Likewise.
36488         * iconv/iconv_charmap.c: Likewise.
36489         * iconv/iconvconfig.c: Likewise.
36490         * iconv/strtab.c: Likewise.
36491         * locale/programs/locale.c: Likewise.
36492         * locale/programs/localedef.h: Likewise.
36493         * locale/programs/simple-hash.c: Likewise.
36494         * nscd/nscd.h: Likewise.
36495         * nss/makedb.c: Likewise.
36496         * sysdeps/generic/ldconfig.h: Likewise.
36498 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36500         * Versions.def: Add GLIBC_2.18.
36501         * include/link.h (struct link_map): New member l_tls_dtor_count.
36502         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36503         (__call_tls_dtors): Likewise.
36504         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36505         __cxa_thread_atexit_impl.
36506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36507         Likewise.
36508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36509         Likewise.
36510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36511         Likewise.
36512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36513         Likewise.
36514         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36516         Likewise.
36517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36518         Likewise.
36519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36521         Likewise.
36522         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36523         (tests): Add test case tst-tls-atexit.
36524         (modules-names): Add shared library for tst-tls-atexit.
36525         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36526         (GLIBC_PRIVATE): Add __call_tls_dtors.
36527         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36528         for libstdc++.
36529         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36530         * stdlib/tst-tls-atexit.c: New test case.
36531         * stdlib/tst-tls-atexit-lib.c: New test case.
36533         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36535         * elf/Versions (ld): Add _dl_find_dso_for_object.
36536         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36537         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36538         (dl_open_worker): Use _dl_find_dso_for_object.
36539         * elf/dl-sym.c (do_sym): Likewise.
36540         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36542 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36544         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36545         Syntactic changes only.
36546         (_dl_runtime_profile): Do a tail-call to the resolved function.
36548 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36550         [BZ #13550]
36551         * sysdeps/x86_64/bp-asm.h: Remove file.
36552         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36553         <bp-sym.h> and <bp-asm.h>.
36554         (__clone): Do not use BP_SYM.
36555         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36556         <bp-sym.h> and <bp-asm.h>.
36557         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36558         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36559         "bp-asm.h".
36560         (_setjmp): Do not use BP_SYM.
36561         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36562         "bp-asm.h".
36563         (setjmp): Do not use BP_SYM.
36564         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36565         libc_hidden_def.
36566         (mempcpy): Do not use BP_SYM in weak_alias.
36567         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36568         "bp-asm.h".
36569         (strchr): Do not use BP_SYM.
36570         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36571         "bp-asm.h".
36572         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36573         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36574         (_start): Do not use BP_SYM.
36575         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36576         "bp-asm.h".
36577         (strcat): Do not use BP_SYM.
36578         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36579         "bp-asm.h".
36580         (STRCMP): Do not use BP_SYM.
36581         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36582         "bp-asm.h".
36583         (STRCPY): Do not use BP_SYM.
36584         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36585         "bp-asm.h".
36586         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36587         "bp-asm.h".
36588         (FUNCTION): Do not use BP_SYM.
36589         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36590         weak_alias.
36591         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36593 2013-02-17  Andreas Jaeger  <aj@suse.de>
36595         * time/Versions: Sort entries.
36596         * string/Versions: Likewise.
36597         * resolv/Versions: Likewise.
36598         * posix/Versions: Likewise.
36599         * iconv/Versions: Likewise.
36600         * elf/Versions: Likewise.
36601         * wcsmbs/Versions: Likewise.
36603 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36605         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36606         loop termination condition.
36608         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36609         variable to calculate EZ.
36610         (__sqr): Likewise.
36612         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36613         the lower precision input.
36615 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36617         [BZ #13550]
36618         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36619         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36620         (run-via-rtld-prefix): Do not handle %-bp tests.
36621         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36622         (all-object-suffixes): Remove .ob.
36623         (bppfx): Remove variable.
36624         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36625         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36626         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36627         [$(build-bounded) = yes] (libtype.ob): Likewise.
36628         * Makerules (elide-routines.ob): Remove variable.
36629         (do-tests-clean): Do not handle *-bp.out.
36630         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36631         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36632         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36633         (tests): Do not include $(tests-bp.out).
36634         (xtests): Do not include $(xtests-bp.out).
36635         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36636         [$(build-bounded) = yes] ($(addprefix
36637         $(objpfx),$(binaries-bounded))): Remove rule.
36638         ($(objpfx)%-bp.out): Remove rule.
36639         * config.make.in (build-bounded): Remove variable.
36640         * crypt/Makefile [$(build-bounded) = yes]
36641         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36642         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36643         append to variable.
36644         [$(build-bounded) = yes] (install-lib): Likewise.
36645         [$(build-bounded) = yes] (generated): Likewise.
36646         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36647         Remove rule.
36648         * intl/Makefile [$(build-bounded) = yes]
36649         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36650         * math/Makefile [$(build-bounded) = yes]
36651         ($(tests:%=$(objpfx)%-bp): Likewise.
36652         * misc/Makefile [$(build-bounded) = yes]
36653         ($(objpfx)tst-tsearch-bp): Likewise.
36654         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36655         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36656         Remove dependency.
36657         * string/Makefile (o-objects.ob): Remove variable.
36658         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36659         (CFLAGS-.ob): Remove variable.
36660         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36661         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36662         both definitions of variable.
36663         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36664         (ASFLAGS-.ob): Remove variable.
36666 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36668         [BZ #13550]
36669         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36670         Remove __BOUNDED_POINTERS__ from condition.
36671         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36672         * string/bits/string2.h [!__NO_STRING_INLINES &&
36673         !__BOUNDED_POINTERS__]: Likewise.
36674         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36675         Likewise.
36676         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36677         Remove conditional code.
36678         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36679         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36680         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36681         condition.
36683         [BZ #13550]
36684         * csu/libc-start.c: Do not include <bp-sym.h>.
36685         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36686         * elf/dl-open.c: Do not include <bp-sym.h>.
36687         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36688         * math/fegetenv.c: Do not include <bp-sym.h>.
36689         (fegetenv): Do not use BP_SYM in versioned symbols.
36690         * nptl/sysdeps/pthread/bits/libc-lockP.h
36691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36692         <bp-sym.h>.
36693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36694         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36696         (__pthread_mutex_destroy): Likewise.
36697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36698         (__pthread_mutex_lock): Likewise.
36699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36700         (__pthread_mutex_trylock): Likewise.
36701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36702         (__pthread_mutex_unlock): Likewise.
36703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36704         (__pthread_mutexattr_init): Likewise.
36705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36706         (__pthread_mutexattr_destroy): Likewise.
36707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36708         (__pthread_mutexattr_settype): Likewise.
36709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36710         (__pthread_rwlock_init): Likewise.
36711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36712         (__pthread_rwlock_destroy): Likewise.
36713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36714         (__pthread_rwlock_rdlock): Likewise.
36715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36716         (__pthread_rwlock_tryrdlock): Likewise.
36717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36718         (__pthread_rwlock_wrlock): Likewise.
36719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36720         (__pthread_rwlock_trywrlock): Likewise.
36721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36722         (__pthread_rwlock_unlock): Likewise.
36723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36724         (__pthread_key_create): Likewise.
36725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36726         (__pthread_setspecific): Likewise.
36727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36728         (__pthread_getspecific): Likewise.
36729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36730         Likewise.
36731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36732         (_pthread_cleanup_push_defer): Likewise.
36733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36734         (_pthread_cleanup_pop_restore): Likewise.
36735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36736         (pthread_setcancelstate): Likewise.
36737         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36738         <bp-sym.h>.
36739         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36740         (memchr): Do not use BP_SYM in weak_alias.
36741         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36742         (fegetenv): Do not use BP_SYM in versioned symbols.
36743         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36744         (fesetenv): Do not use BP_SYM in versioned symbols.
36745         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36746         (feupdateenv): Do not use BP_SYM in versioned symbols.
36747         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36748         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36749         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36750         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36751         (open64): Do not use BP_SYM in weak_alias.
36752         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36753         (fegetenv): Do not use BP_SYM in versioned symbols.
36754         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36755         (fesetenv): Do not use BP_SYM in versioned symbols.
36756         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36757         (feupdateenv): Do not use BP_SYM in versioned symbols.
36758         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36759         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36760         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36761         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36762         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36763         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36764         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36765         <bp-sym.h>.
36766         (__libc_start_main): Do not use BP_SYM.
36768 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36771         redundant return line.
36772         (norm): Likewise.
36773         (denorm): Likewise.
36774         (dbl_mp): Likewise.
36775         (sub_magnitudes): Likewise.
36776         (__add): Likewise.
36777         (__sub): Likewise.
36778         (__mul): Likewise.
36779         (__inv): Likewise.
36780         (__dvd): Likewise.
36781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36782         (norm): Likewise.
36783         (denorm): Likewise.
36784         (dbl_mp): Likewise.
36785         (sub_magnitudes): Likewise.
36786         (__add): Likewise.
36787         (__sub): Likewise.
36788         (__mul): Likewise.
36789         (__inv): Likewise.
36790         (__dvd): Likewise.
36792         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36793         instead of __mul.
36794         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36795         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36796         (cc32): Likewise.
36798         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36799         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36800         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36801         of __mul for squares.
36802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36803         function
36804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36805         Likewise.
36806         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36807         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36809 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36811         [BZ #13550]
36812         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36813         code.
36814         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36815         prototype or function definition.  Rename ubp_* variables and
36816         parameters.  Remove argv definitions conditional on
36817         [__BOUNDED_POINTERS__].
36818         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36819         * elf/dl-runtime.c (_dl_fixup): Likewise.
36820         * include/set-hooks.h (RUN_HOOK): Likewise.
36821         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36822         definition.
36823         * string/strcpy.c (strcpy): Do not use __unbounded.
36824         * sysdeps/generic/frame.h (struct layout): Likewise.
36825         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36826         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36827         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36828         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36829         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36830         (__backtrace): Likewise.
36831         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36832         use __ptrvalue.
36833         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36834         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36835         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36836         Likewise.
36837         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36838         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36839         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36840         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36841         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36842         Do not use __unbounded.
36843         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36844         Rename __unboundedrlimits parameter to rlimits in prototype.
36845         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36846         Do not use __unbounded.
36847         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36848         not use __ptrvalue.
36849         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36850         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36851         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36852         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36853         __ptrvalue or __unbounded.
36854         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36855         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36856         use __unbounded.
36857         (__new_msgctl): Do not use __ptrvalue.
36858         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36859         __unbounded.
36860         (__libc_msgrcv): Do not use __ptrvalue.
36861         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36862         startup_info): Do not use __unbounded.
36863         (__libc_start_main): Likewise.  Rename ubp_* variables and
36864         parameters.  Remove argv definitions conditional on
36865         [__BOUNDED_POINTERS__].
36866         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36867         __ptrvalue.
36868         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36869         use __unbounded.
36870         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36871         or __ptrvalue.
36872         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36873         use __unbounded.
36874         (__new_shmctl): Do not use __ptrvalue.
36875         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36876         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36877         Likewise.
36878         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36879         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36880         (__libc_sigaction): Likewise.
36881         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36882         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36883         Likewise.
36884         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36886 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36888         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36890         * string/mempcpy.c: Implement by calling memcpy.
36892 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36897         evaluation.
36899         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36900         values in the mantissa.
36902         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36903         minimize writes to Z.
36904         (sub_magnitudes): Simplify code a bit.
36906 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36908         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36909         from the message.  The linker prefixes all warnings with that already.
36911 2013-02-12  Andreas Schwab  <schwab@suse.de>
36913         [BZ #15078]
36914         * posix/regexec.c (extend_buffers): Add parameter min_len.
36915         (check_matching): Pass minimum needed length.
36916         (clean_state_log_if_needed): Likewise.
36917         (get_subexp): Likewise.
36918         * posix/Makefile (tests): Add bug-regex34.
36919         (bug-regex34-ENV): Define.
36920         * posix/bug-regex34.c: New file.
36922         [BZ #11561]
36923         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36924         elements compare against the byte sequence of it, not its name.
36925         * posix/Makefile (tests): Add bug-regex35.
36926         (bug-regex35-ENV): Define.
36927         * posix/bug-regex35.c: New file.
36929 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36931         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36932         comment.
36933         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36934         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36935         (CHECK_EOL): Add undef.
36937 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36939         * bits/stdlib-bsearch.h: New file.
36940         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36941         * stdlib/stdlib.h: Likewise.
36943 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36945         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36946         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36947         declaration.
36948         * manual/search.texi (Array Search Function): Add missing const in
36949         lfind prototype.
36950         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36951         declaration to use rlim_t.
36952         (Basic Scheduling Functions): Remove erroneous const from
36953         sched_getparam prototype.  Remove erroneous * from
36954         sched_get_priority_max and sched_get_priority_min prototypes.
36955         (Resource Usage): Fix summary @comment on vtimes to refer to
36956         sys/vtimes.h rather than vtimes.h.
36957         Add missing *s in vtimes prototype.
36958         (Limits on Resources): Fix ulimit prototype to return long int.
36959         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36960         prototypes to use long int rather than double.
36961         (BSD Random): Fix initstate and setstate to use char *, not void *.
36962         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36963         prototype to make second argument 'struct aiocb64 *const[]'.
36964         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36965         (Status of AIO Operations): Remove erroneous const in aio_return and
36966         aio_return64 prototypes.
36967         (Synchronizing I/O): Fix sync prototype to return void.
36968         * manual/startup.texi (Suboptions): Remove an erroneous const in
36969         getsubopt prototype.
36970         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36971         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36972         use size_t rather than int.
36973         (Scanning All Users): Likewise for getpwent_r.
36974         (Setting Groups): Add missing const to setgroups prototype.
36975         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36976         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36977         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36978         'const void *' rather than 'const char *'.
36979         (Host Address Functions): Likewise for inet_ntop.
36980         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36981         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36982         ssize_t for return value.
36983         (Sending Data): Likewise for send, sendto, sendmsg.
36984         (Socket Option Functions): Add a missing const in setsockopt prototype.
36985         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36986         use wchar_t for the argument.
36987         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36988         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36989         take no arguments.
36990         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36991         double/float/long double for second argument.
36992         Fix return types of significand, significandf, significandl.
36993         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36994         argument in fchmod prototype.
36995         (File Owner): Use uid_t and gid_t in fchown prototype.
36996         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36997         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36998         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36999         use 'const struct dirent **' as argument types to CMP function pointer
37000         argument.
37001         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37002         (File Times): Fix summary magic @comment for struct utimbuf and utime
37003         to refer to utime.h, not time.h.
37004         * manual/string.texi (Argz Functions): Add missing const in
37005         argz_extract and argz_next prototypes.
37006         (Finding Tokens in a String): Likewise for basename.
37007         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37008         (Copying and Concatenation): Fix typo in wmemmove prototype.
37009         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37010         (Signal Stack): Remove erroneous const in sigstack prototype.
37011         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37012         prototype.
37013         (Simple Calendar Time): Likewise for stime.
37014         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37015         prototype.
37016         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37017         say sys/sysctl.h instead.
37018         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37019         and vsyslog prototypes.
37021 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37023         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37024         Remove.
37026 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37028         * misc/sys/mman.h: Fix typo in mremap comment.
37030 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37032         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37033         the '\0' terminator.
37035 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37037         [BZ #13550]
37038         * debug/segfault.c: Don't include <bp-checks.h>.
37039         * sysdeps/generic/bp-checks.h: Remove file.
37040         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37041         (__GETDENTS): Don't use CHECK_N.
37042         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37043         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37044         (__getgroups): Don't use CHECK_N.
37045         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37046         (setgroups): Don't use CHECK_N.
37047         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37048         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37049         (__libc_msgrcv): Don't use CHECK_N.
37050         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37051         (__libc_msgsnd): Don't use CHECK_N.
37052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37053         <bp-checks.h>.
37054         (__libc_pread): Don't use CHECK_N.
37055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37056         include <bp-checks.h>.
37057         (__libc_pread64): Don't use CHECK_N.
37058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37059         include <bp-checks.h>.
37060         (__libc_pwrite): Don't use CHECK_N.
37061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37062         include <bp-checks.h>.
37063         (__libc_pwrite64): Don't use CHECK_N.
37064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37065         <bp-checks.h>.
37066         (__libc_pread): Don't use CHECK_N.
37067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37068         include <bp-checks.h>.
37069         (__libc_pread64): Don't use CHECK_N.
37070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37071         include <bp-checks.h>.
37072         (__libc_pwrite): Don't use CHECK_N.
37073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37074         include <bp-checks.h>.
37075         (__libc_pwrite64): Don't use CHECK_N.
37076         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37077         (do_pread): Don't use CHECK_N.
37078         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37079         (do_pread64): Don't use CHECK_N.
37080         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37081         (do_pwrite): Don't use CHECK_N.
37082         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37083         (do_pwrite64): Don't use CHECK_N.
37084         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37085         (__libc_readv): Don't use CHECK_N.
37086         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37087         (semop): Don't use CHECK_N.
37088         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37089         <bp-checks.h>.
37090         (semtimedop): Don't use CHECK_N.
37091         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37092         (__libc_pread): Don't use CHECK_N.
37093         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37094         <bp-checks.h>.
37095         (__libc_pread64): Don't use CHECK_N.
37096         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37097         <bp-checks.h>.
37098         (__libc_pwrite): Don't use CHECK_N.
37099         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37100         <bp-checks.h>.
37101         (__libc_pwrite64): Don't use CHECK_N.
37102         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37103         <bp-checks.h>.
37104         (__libc_msgrcv): Don't use CHECK_N.
37105         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37106         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37107         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37108         (__libc_writev): Don't use CHECK_N.
37110 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37112         * string/strcpy.c: Removed unused variable.
37114         * Makeconfig (+sysdep-includes): Define with := rather than =.
37115         Use an existing include/ subdir of each sysdeps dir before it.
37117 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37119         * nscd/connection.c (register_traced_file): Comment function.
37120         [HAVE_INOTIFY] (union __inev): Define.
37121         [HAVE_INOTIFY] (inotify_check_files): New function.
37122         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37123         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37124         clear_db_cache.
37125         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37127 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37129         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37130         loaded if not already and that a failure is permanent.
37132 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37134         [BZ #15006]
37135         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37136         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37138 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37140         [BZ #13550]
37141         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37142         (CHECK_1_NULL_OK): Likewise.
37143         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37144         (__fxstat): Do not use CHECK_1.
37145         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37146         <bp-checks.h>.
37147         (___fxstat64): Do not use CHECK_1.
37148         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37149         <bp-checks.h>.
37150         (__fxstatat): Do not use CHECK_1.
37151         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37152         <bp-checks.h>.
37153         (__fxstatat64): Do not use CHECK_1.
37154         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37155         <bp-checks.h>.
37156         (__fxstat): Do not use CHECK_1.
37157         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37158         <bp-checks.h>.
37159         (__fxstatat): Do not use CHECK_1.
37160         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37161         <bp-checks.h>.
37162         (__getresgid): Do not use CHECK_1.
37163         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37164         <bp-checks.h>.
37165         (__getresuid): Do not use CHECK_1.
37166         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37167         <bp-checks.h>.
37168         (__lxstat): Do not use CHECK_1.
37169         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37170         <bp-checks.h>.
37171         (__old_msgctl): Do not use CHECK_1.
37172         (__new_msgctl): Likewise.
37173         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37174         <bp-checks.h>.
37175         (__new_setrlimit): Do not use CHECK_1.
37176         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37177         <bp-checks.h>.
37178         (__old_shmctl): Do not use CHECK_1.
37179         (__new_shmctl): Likewise.
37180         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37181         <bp-checks.h>.
37182         (__xstat): Do not use CHECK_1.
37183         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37184         (__lxstat): Do not use CHECK_1.
37185         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37186         <bp-checks.h>.
37187         (___lxstat64): Do not use CHECK_1.
37188         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37189         (__old_msgctl): Do not use CHECK_1.
37190         (__new_msgctl): Likewise.
37191         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37192         <bp-checks.h>.
37193         (__gettimeofday): Do not use CHECK_1.
37194         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37195         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37196         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37197         <bp-checks.h>.
37198         (__gettimeofday): Do not use CHECK_1.
37199         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37200         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37201         (__new_shmctl): Do not use CHECK_1.
37202         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37203         <bp-checks.h>.
37204         (do_sigtimedwait): Do not use CHECK_1.
37205         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37206         <bp-checks.h>.
37207         (do_sigwaitinfo): Do not use CHECK_1.
37208         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37209         <bp-checks.h>.
37210         (msgctl): Do not use CHECK_1.
37211         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37212         <bp-checks.h>.
37213         (shmctl): Do not use CHECK_1.
37214         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37215         (ustat): Do not use CHECK_1.
37216         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37217         <bp-checks.h>.
37218         (__fxstat): Do not use CHECK_1.
37219         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37220         <bp-checks.h>.
37221         (__fxstatat): Do not use CHECK_1.
37222         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37223         <bp-checks.h>.
37224         (__lxstat): Do not use CHECK_1.
37225         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37226         <bp-checks.h>.
37227         (__xstat): Do not use CHECK_1.
37228         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37229         (__xstat): Do not use CHECK_1.
37230         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37231         (___xstat64): Do not use CHECK_1.
37233         [BZ #13550]
37234         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37235         definitions.
37236         (CHECK_BOUNDS_HIGH): Likewise.
37237         * string/strcpy.c: Do not include <bp-checks.h>.
37238         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37240 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37242         * nscd/nscd-client.h (__nscd_drop_map_ref):
37243         Add __attribute__ ((unused)).
37244         * nis/nss-nisplus.h (niserr2nss): Likewise.
37246         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37247         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37249         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37250         Remove inline keyword.
37251         * include/rounding-mode.h (round_away): Likewise.
37252         * libio/wfileops.c (adjust_wide_data): Likewise.
37253         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37254         (__m128i_strloadu_tolower): Likewise.
37255         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37256         (__m128i_strloadu_tolower): Likewise.
37257         * time/mktime.c (ydhms_diff): Likewise.
37258         * locale/elem-hash.h (elem_hash): Likewise.
37259         * locale/setlocale.c (setdata): Likewise.
37260         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37261         (re_string_wchar_at): Likewise.
37262         (bitset_not, bitset_merge, bitset_mask): Likewise.
37263         [!(__GNUC__ > 3)] (inline): Remove macro.
37264         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37265         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37266         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37267         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37268         * string/memcmp.c (memcmp_bytes): Likewise.
37269         * locale/programs/locarchive.c (compute_hashval): Likewise.
37270         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37271         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37272         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37273         * nss/getent.c (print_rpc, print_protocols): Likewise.
37274         (print_passwd, print_group, print_aliases): Likewise.
37275         * nis/nss-nisplus.h (niserr2nss): Likewise.
37276         * nscd/connections.c (restart_p): Likewise.
37277         Change return type to bool.
37279 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37281         * Makeconfig (all-Depend-files): Add existing
37282         $(sorted-subdirs:=/Depend) files.
37283         (all-subdirs): Remove nss.
37284         * sysdeps/unix/inet/Subdirs: Add it here instead.
37285         * hesiod/Depend: New file.
37287         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37288         instead of calling alloca.
37290         * io/lseek.c (__lseek): Rename to __libc_lseek.
37291         Define __lseek as an alias.
37293         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37295 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37297         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37298         else clause and remove check for non-standard endianness.
37300 2013-02-04  David S. Miller  <davem@davemloft.net>
37302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37304 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37306         [BZ #13550]
37307         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37308         (__ubp_memchr): Remove prototype.
37309         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37310         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37311         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37312         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37313         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37314         Remove alias.
37315         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37316         (__ubp_memchr): Likewise.
37317         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37318         (__ubp_memchr): Likewise.
37319         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37320         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37321         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37322         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37323         CHECK_STRING.
37324         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37325         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37326         (__getcwd): Do not use CHECK_STRING.
37327         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37328         <bp-checks.h>.
37329         (__real_chown): Do not use CHECK_STRING.
37330         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37331         <bp-checks.h>.
37332         (fchownat): Do not use CHECK_STRING.
37333         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37334         CHECK_STRING.
37335         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37336         <bp-checks.h>.
37337         (__lchown): Do not use CHECK_STRING.
37338         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37339         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37340         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37341         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37343         include <bp-checks.h>.
37344         (truncate64): Do not use CHECK_STRING.
37345         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37346         <bp-checks.h>.
37347         (__real_chown): Do not use CHECK_STRING.
37348         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37349         <bp-checks.h>.
37350         (__lchown): Do not use CHECK_STRING.
37351         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37352         <bp-checks.h>.
37353         (__chown): Do not use CHECK_STRING.
37354         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37355         <bp-checks.h>.
37356         (truncate64): Do not use CHECK_STRING.
37357         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37358         Likewise.
37359         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37360         (__xmknod): Do not use CHECK_STRING.
37361         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37362         <bp-checks.h>.
37363         (__xmknodat): Do not use CHECK_STRING.
37364         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37365         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37367 2013-02-04  Andreas Schwab  <schwab@suse.de>
37369         [BZ #14142]
37370         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37371         * include/netdb.h: Likewise for h_errno.
37372         * elf/tst-stackguard1.c: Include <tls.h>.
37374 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37376         * elf/link.h (struct link_map): Extend the l_addr comment.
37377         * include/link.h (struct link_map): Likewise.
37379 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37381         [BZ #13550]
37382         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37383         (BOUNDED_1): Remove macro.
37384         * debug/backtrace.c: Don't include <bp-checks.h>.
37385         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37386         (__backtrace): Likewise.
37387         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37388         <bp-checks.h>.
37389         (__backtrace): Don't use BOUNDED_1.
37390         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37391         <bp-checks.h>.
37392         (__backtrace): Don't use BOUNDED_1.
37393         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37394         (__backtrace): Don't use BOUNDED_1.
37395         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37396         (shmat): Don't use BOUNDED_N.
37398 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37400         [BZ #13550]
37401         * sysdeps/generic/bp-start.h: Remove file.
37402         * csu/libc-start.c: Don't include <bp-start.h>.
37403         (LIBC_START_MAIN): Set up __environ directly instead of using
37404         INIT_ARGV_and_ENVIRON.
37405         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37406         <bp-start.h>.
37408         [BZ #13550]
37409         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37410         definitions.
37411         (CHECK_FCNTL): Likewise.
37412         (CHECK_N_PAGES): Likewise.
37414         [BZ #13550]
37415         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37416         definitions.
37417         (CHECK_SIGSET_NULL_OK): Likewise.
37418         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37419         <bp-checks.h>.
37420         (sigpending): Don't use CHECK_SIGSET.
37421         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37422         <bp-checks.h>.
37423         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37424         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37425         <bp-checks.h>.
37426         (do_sigsuspend): Don't use CHECK_SIGSET.
37427         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37428         use CHECK_SIGSET.
37429         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37430         (do_sigwait): Don't use CHECK_SIGSET.
37431         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37432         use CHECK_SIGSET.
37433         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37434         include <bp-checks.h>.
37435         (sigpending): Don't use CHECK_SIGSET.
37436         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37437         include <bp-checks.h>.
37438         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37439         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37440         <bp-checks.h>.
37441         (sigpending): Don't use CHECK_SIGSET.
37442         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37443         <bp-checks.h>.
37444         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37446         [BZ #13550]
37447         * sysdeps/generic/bp-semctl.h: Remove file.
37448         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37449         <bp-checks.h> and <bp-semctl.h>.
37450         (__old_semctl): Don't use CHECK_SEMCTL.
37451         (__new_semctl): Likewise.
37452         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37453         and <bp-semctl.h>.
37454         (__old_semctl): Don't use CHECK_SEMCTL.
37455         (__new_semctl): Likewise.
37456         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37457         <bp-checks.h> and <bp-semctl.h>.
37458         (__old_semctl): Don't use CHECK_SEMCTL.
37459         (__new_semctl): Likewise.
37460         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37461         <bp-checks.h> and <bp-semctl.h>.
37462         (semctl): Don't use CHECK_SEMCTL.
37464         [BZ #13550]
37465         * Makerules (elide-bp-thunks): Remove variable.
37466         (elide-routines.oS): Don't use $(elide-bp-thunks).
37467         (elide-routines.os): Likewise.
37468         (elide-routines.o): Likewise.
37469         (elide-routines.op): Likewise.
37470         (elide-routines.og): Likewise.
37471         (objects): Don't use $(bp-thunks).
37472         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37473         include.
37474         (common-generated): Do not add s-proto-bp.d.
37475         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37476         (int): Likewise.
37477         (typ): Likewise.
37478         Do not generate makefile rules for bounded-pointer thunks.
37479         * sysdeps/generic/bp-thunks.h: Remove file.
37480         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37481         * sysdeps/unix/s-proto-bp.S: Likewise.
37483         [BZ #15062]
37484         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37485         parts of result separately when argument is not close to line from
37486         -i to i and one part of argument is small.
37487         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37488         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37489         * math/libm-test.inc (cacos_test): Add more tests.
37490         (casin_test): Likewise.
37491         (casinh_test): Likewise.
37492         * sysdeps/i386/fpu/libm-test-ulps: Update.
37493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37495 2013-01-31  David S. Miller  <davem@davemloft.net>
37497         * po/de.po: Update from translation team.
37499 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37501         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37503 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37505         * configure.in (_AC_PROG_CC_C89): New definition.
37506         * configure: Regenerate.
37508         * configure.in (AC_PROG_CPP): New definition.
37509         * configure: Regenerate.
37511 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37513         * debug/tst-backtrace.h: New file.
37514         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37515         (ret): Remove variable.
37516         (x): Likewise.
37517         (FAIL): Remove macro.
37518         (NO_INLINE): Likewise.
37519         (fn1): Use match function instead of strstr.
37520         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37521         (ret): Remove variable.
37522         (x): Likewise.
37523         (FAIL): Remove macro.
37524         (NO_INLINE): Likewise.
37525         (fn): Use match function instead of strstr.
37526         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37527         (ret): Remove variable.
37528         (x): Likewise.
37529         (FAIL): Remove macro.
37530         (NO_INLINE): Likewise.
37531         (handle_signal): Use match function instead of strstr.
37532         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37533         (ret): Remove variable.
37534         (x): Likewise.
37535         (FAIL): Remove macro.
37536         (NO_INLINE): Likewise.
37537         (handle_signal): Use match function instead of strstr.
37539 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37541         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37543 2013-01-23  David S. Miller  <davem@davemloft.net>
37545         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37546         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37547         argument of CAS if possible.
37548         * sysdeps/sparc/sparc64/bits/atomic.h
37549         (__arch_compare_and_exchange_val_32_acq): Likewise.
37550         (__arch_compare_and_exchange_val_64_acq): Likewise.
37552 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37554         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37555         * sysdeps/posix/ulimit.c: ... this.
37556         Include <limits.h>.
37557         * sysdeps/unix/bsd/ulimit.c: Remove file.
37559 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37561         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37562         (LDFLAGS-tst-array5): Likewise.
37564 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37566         [BZ #15036]
37567         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37568         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37569         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37570         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37572 2013-01-21  David S. Miller  <davem@davemloft.net>
37574         * sysdeps/sparc/backtrace.c: New file.
37575         * sysdeps/sparc/sparc32/backtrace.h: New file.
37576         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37577         * sysdeps/sparc/sparc64/backtrace.h: New file.
37578         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37579         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37580         -funwind-tables.
37582 2013-01-21  Andreas Schwab  <schwab@suse.de>
37584         [BZ #15020]
37585         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37586         closed its stdout.
37588 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37591         "mpa2.h".
37592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37594 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37595             Mark Mitchell  <mark@codesourcery.com>
37596             Tom de Vries  <tom@codesourcery.com>
37597             Paul Pluzhnikov  <ppluzhnikov@google.com>
37599         * debug/tst-backtrace2.c: New file.
37600         * debug/tst-backtrace3.c: Likewise.
37601         * debug/tst-backtrace4.c: Likewise.
37602         * debug/tst-backtrace5.c: Likewise.
37603         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37604         (CFLAGS-tst-backtrace3.c): Likewise.
37605         (CFLAGS-tst-backtrace4.c): Likewise.
37606         (CFLAGS-tst-backtrace5.c): Likewise.
37607         (LDFLAGS-tst-backtrace2): Likewise.
37608         (LDFLAGS-tst-backtrace3): Likewise.
37609         (LDFLAGS-tst-backtrace4): Likewise.
37610         (LDFLAGS-tst-backtrace5): Likewise.
37611         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37612         tst-backtrace4 and tst-backtrace5.
37614 2013-01-18  Anton Blanchard  <anton@samba.org>
37615             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37617         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37618         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37619         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37620         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37622         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37623         "+r" and remove output regs list as redundant.  Add explicit inline
37624         asm to specify register of return val to work around compiler codegen
37625         bug.  Remove (int) cast on return value.  Add return type parameter to
37626         use in macro so that this macro does not truncate return value for
37627         64-bit values.
37628         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37629         pass to INTERNAL_VSYSCALL_NCS.
37630         (INLINE_VSYSCALL): Add 'long int' as return type to
37631         INTERNAL_VSYSCALL_NCS macro invocation.
37632         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37633         INTERNAL_VSYSCALL_NCS macro invocation.
37634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37636 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37638         [BZ #14496]
37639         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37640         Fix application of SIMD FP exception mask.
37642         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37643         mp_no from a power of two.
37644         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37645         __mpexp_twomm1.  Use __pow_mp.
37647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37648         multiplication.
37650 2013-01-17  David S. Miller  <davem@davemloft.net>
37652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37654 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37656         [BZ #15023]
37657         * include/complex.h: Condition contents on [!_COMPLEX_H].
37658         (__kernel_casinhf): New prototype.
37659         (__kernel_casinh): Likewise.
37660         (__kernel_casinhl): Likewise.
37661         * math/Makefile (libm_calls): Add k_casinh.
37662         * math/k_casinh.c: New file.
37663         * math/k_casinhf.c: Likewise.
37664         * math/k_casinhl.c: Likewise.
37665         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37666         finite nonzero arguments.
37667         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37668         finite nonzero arguments.
37669         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37670         finite nonzero arguments.
37671         * math/s_casinh.c: Do not include <float.h>.
37672         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37673         * math/s_casinhf.c: Do not include <float.h>.
37674         (__casinhf): Move code for finite nonzero arguments to
37675         k_casinhf.c.
37676         * math/s_casinhl.c: Do not include <float.h>.
37677         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37678         redefine.
37679         (__casinhl): Move code for finite nonzero arguments to
37680         k_casinhl.c.
37681         * math/libm-test.inc (cacos_test): Add more tests.
37682         * sysdeps/i386/fpu/libm-test-ulps: Update.
37683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37685 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37687         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37688         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37689         [!HAVE_MREMAP]: Remove [defined linux] case.
37690         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37692 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37694         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37696 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37698         * elf/elf.h (R_386_SIZE32): New relocation.
37699         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37700         R_386_SIZE32.
37701         (elf_machine_rela): Likewise.
37702         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37703         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37705 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37707         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37708         (FP_FAST_FMA): Do not define.
37709         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37710         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37711         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37712         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37713         !_SOFT_FLOAT]: Likewise.
37714         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37715         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37716         value.
37717         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37718         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37719         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37720         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37721         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37722         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37723         file.
37725 2013-01-16  Andreas Schwab  <schwab@suse.de>
37727         [BZ #14327]
37728         * include/stdlib.h (__mktemp): Add declaration.
37729         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37730         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37732 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37734         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37735         definitions.
37736         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37737         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37738         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37739         definitions here.
37740         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37741         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37742         definitions.
37743         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37744         and ONE.
37745         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37746         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37747         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37748         definitions.
37749         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37750         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37751         definitions.
37752         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37754         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37756 2013-01-15  David S. Miller  <davem@davemloft.net>
37758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37759         trunc{,f} to libm-sysdep_routes.
37760         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37762         file.
37763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37765         file.
37766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37767         file.
37768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37770         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37771         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37772         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37773         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37774         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37775         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37778         nearbyint{,f} to libm-sysdep_routes.
37779         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37781         New file.
37782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37783         file.
37784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37785         New file.
37786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37787         file.
37788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37790         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37791         file.
37792         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37793         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37794         file.
37795         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37796         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37797         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37799         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37800         libc_feholdexcept and libc_fesetenv.
37802 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37804         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37806 2013-01-14  David S. Miller  <davem@davemloft.net>
37808         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37809         (SPARC_ASM_VIS2_IFUNC): Likewise.
37810         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37812         use of 'siam' instruction.
37813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37814         Likewise.
37815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37816         Likewise.
37817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37818         Likewise.
37819         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37821         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37822         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37824         file.
37825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37826         file.
37827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37828         file.
37829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37830         file.
37831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37836         new VIS2 routines.
37837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37840         Likewise.
37841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37843         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37846         routines to libm-sysdep_routines.
37847         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37850         fdim/fdimf to libm-sysdep_routines.
37851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37852         file.
37853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37855         file.
37856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37859         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37860         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37861         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37862         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37864 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37866         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37867         to optimize copies.
37869         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37874         local variable MPTWO.
37875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37876         Likewise.
37878 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37880         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37881         GLOB_NOESCAPE.
37883 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37885         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37887 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37889         * manual/pattern.texi (glob_t): Document gl_flags.
37890         (glob64_t): Likewise.
37892 2013-01-11  David S. Miller  <davem@davemloft.net>
37894         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37895         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37896         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37897         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37898         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37899         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37900         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37901         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37902         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37903         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37904         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37905         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37906         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37908         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37909         sparc V9 rather than using V8 code.
37910         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37911         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37913         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37914         Move to...
37915         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37916         Here.
37918 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37920         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37921         not in the main loop.
37922         * configure: Regenerated.
37924 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37926         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37927         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37928         to just #else.
37929         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37930         [!__GLIBC_HAVE_LONG_LONG] case.
37931         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37932         condition to just #else.
37933         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37934         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37935         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37936         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37937         unconditional.
37938         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37939         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37940         #elif condition to just #else.
37941         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37942         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37943         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37944         #elif condition to just #else.
37946 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37948         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37949         (EF_MIPS_ARCH_64): Fix value.
37950         (EF_MIPS_ARCH_32R2): New.
37951         (EF_MIPS_ARCH_64R2): New.
37953 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37955         * Makeconfig (+link-pie-before-libc): New.
37956         (+link-pie-after-libc): Likewise.
37957         (+link-pie-tests): Likewise.
37958         (+link-pie): Rewritten.
37959         (link-before-libc): Remove $(config-LDFLAGS).
37960         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37961         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37962         (config-LDFLAGS): Renamed to ...
37963         (rtld-LDFLAGS): This.
37964         (rtld-tests-LDFLAGS): New macro.
37965         (link-libc-rpath-link): Likewise.
37966         (link-libc-tests-rpath-link): Likewise.
37967         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37968         (link-libc): Prepand $(link-libc-rpath-link).
37969         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37970         (test-program-prefix): New macro.
37971         (test-via-rtld-prefix): Likewise.
37972         (test-program-cmd): Likewise.
37973         (host-test-program-cmd): Likewise.
37974         * Makefile ($(common-objpfx)testrun.sh): Replace
37975         $(run-program-prefix) with $(test-program-prefix).
37976         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37977         $(rtld-LDFLAGS).
37978         ($(common-objpfx)shlib.lds): Likewise.
37979         (build-module-helper): Likewise.
37980         ($(common-objpfx)format.lds): Likewise.
37981         * Rules (binaries-pie-tests): New.
37982         (binaries-pie-notests): Likewise.
37983         (binaries-pie): Rewritten.
37984         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37985         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37986         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37987         (make-test-out): Replace $(host-built-program-cmd) with
37988         $(host-test-program-cmd).
37989         * config.make.in (build-hardcoded-path-in-tests): New variable.
37990         * configure.in (--enable-hardcoded-path-in-tests): New configure
37991         option.
37992         (hardcoded_path_in_tests): New AC_SUBST.
37993         * configure: Regenerated.
37994         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37995         $(built-program-cmd) with $(test-program-cmd).
37996         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37997         (test_program_cmd): This.
37998         * elf/Makefile ($(objpfx)order.out): Run test with
37999         $(test-program-prefix).
38000         ($(objpfx)order2.out): Likewise.
38001         ($(objpfx)tst-initorder.out): Likewise.
38002         ($(objpfx)tst-initorder2.out): Likewise.
38003         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38004         $(test-program-cmd).
38005         ($(objpfx)tst-array1-static.out): Likewise.
38006         ($(objpfx)tst-array2.out): Likewise.
38007         ($(objpfx)tst-array3.out): Likewise.
38008         ($(objpfx)tst-array4.out): Likewise.
38009         ($(objpfx)tst-array5.out): Likewise.
38010         ($(objpfx)tst-array5-static.out): Likewise.
38011         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38012         $(test-program-cmd).
38013         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38014         $(run-program-prefix) with $(test-program-prefix).
38015         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38016         (test_program_prefix): This.
38017         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38018         $(run-program-prefix) with $(test-program-prefix).
38019         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38020         (test_program_prefix): This.
38021         * iconvdata/tst-tables.sh: Likewise.
38022         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38023         $(run-program-prefix) with $(test-program-prefix).
38024         ($(objpfx)tst-translit.out): Likewise.
38025         ($(objpfx)tst-gettext2.out): Likewise.
38026         ($(objpfx)tst-gettext4.out): Likewise.
38027         ($(objpfx)tst-gettext6.out): Likewise.
38028         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38029         (test_program_prefix): This.
38030         * intl/tst-gettext2.sh: Likewise.
38031         * intl/tst-gettext4.sh  Likewise.
38032         * intl/tst-gettext6.sh: Likewise.
38033         * intl/tst-translit.sh: Likewise.
38034         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38035         with $(test-program-cmd).
38036         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38037         $(run-program-prefix) with $(test-program-prefix).
38038         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38039         (test_program_prefix): This.
38040         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38041         $(run-program-prefix) with $(test-program-prefix).
38042         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38043         (test_program_prefix): This.
38044         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38045         * posix/Makefile ($(objpfx)globtest.out): Replace
38046         $(run-via-rtld-prefix) and $(test-wrapper) with
38047         $(test-program-prefix) and $(test-via-rtld-prefix).
38048         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38049         $(test-program-prefix).
38050         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38051         $(host-test-program-cmd).
38052         (tst-spawn-ARGS): Likewise.
38053         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38054         $(test-program-prefix).
38055         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38056         (test_via_rtld_prefix): This.
38057         (test_wrapper): Renamed to ...
38058         (test_program_prefix): This.
38059         (run_program_prefix): Replaced by test_program_prefix.
38060         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38061         (test_program_prefix): This.
38062         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38063         with $(host-test-program-cmd).
38064         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38065         $(run-program-prefix) with $(test-program-prefix).
38066         ($(objpfx)tst-printf.out): Likewise.
38067         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38068         $(test-program-cmd).
38069         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38070         (test_program_prefix): This.
38071         * stdio-common/tst-unbputc.sh: Likewise.
38072         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38073         $(run-program-prefix) with $(test-program-prefix).
38074         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38075         (test_program_prefix): This.
38076         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38077         $(built-program-cmd) with $(test-program-cmd).
38079 2013-01-11  Andreas Jaeger  <aj@suse.de>
38081         [BZ #15003]
38082         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38083         value. Sync with Linux 3.7.
38085 2013-01-10  David S. Miller  <davem@davemloft.net>
38087         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38088         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38089         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38091 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38093         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38094         never set.
38095         * configure: Regenerated.
38097 2013-01-10  David S. Miller  <davem@davemloft.net>
38099         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38100         sparc V9 rather than using V8 code.
38101         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38102         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38104 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38106         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38107         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38108         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38109         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38110         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38111         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38112         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38113         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38114         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38115         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38116         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38117         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38118         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38119         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38120         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38121         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38122         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38123         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38124         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38125         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38126         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38127         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38128         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38129         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38130         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38131         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38132         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38134 2013-01-10  David S. Miller  <davem@davemloft.net>
38136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38138 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38140         * posix/Makefile (tests-static): New variable.
38141         (tests): Add $(tests-static).
38142         (tst-exec-static-ARGS): New variable.
38143         (tst-spawn-static-ARGS): Likewise.
38144         * posix/tst-exec-static.c: New file.
38145         * posix/tst-spawn-static.c: Likewise.
38146         * posix/tst-exec.c: Support run directly.
38147         * posix/tst-spawn.c: Likewise.
38149 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38151         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38152         long.
38153         * math/bits/mathcalls.h (llrint): Likewise.
38154         (llround): Likewise.
38155         * stdlib/stdlib.h (struct drand48_data): Likewise.
38156         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38157         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38158         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38159         Likewise.
38160         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38161         Likewise.
38162         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38163         (elf_greg_t): Likewise.
38164         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38165         (__jmp_buf): Likewise.
38166         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38167         definitions.
38168         (llrint): Likewise, for all definitions.
38169         (llrintl): Likewise.
38171         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38172         Remove [__GNUC__] condition.
38173         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38174         condition to just [__USE_ISOC99].
38175         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38177 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38179         [BZ #14200]
38180         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38181         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38182         defined.
38183         (_POSIX_V6_ILP32_OFF32): Likewise.
38184         (_XBS5_ILP32_OFF32): Likewise.
38185         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38186         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38188 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38190         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38192         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38193         doubles __mpexp_twomm1.  Adjust usage.
38194         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38195         Remove.
38197 2013-01-10  Andreas Schwab  <schwab@suse.de>
38199         [BZ #14964]
38200         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38201         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38203 2013-01-09  David S. Miller  <davem@davemloft.net>
38205         [BZ #15003]
38206         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38207         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38208         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38209         (TCP_FASTOPEN): Define.
38210         (tcp_repair_opt): New structure.
38211         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38212         enum values.
38213         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38214         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38215         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38216         (tcp_cookie_transactions): New structure.
38218 2013-01-09  Anton Blanchard  <anton@samba.org>
38220         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38221         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38222         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38223         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38225 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38227         * include/features.h (__USE_ANSI): Remove.
38229 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38231         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38233         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38235 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38237         * sysdeps/s390/fpu/libm-test-ulps: Update.
38239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38241         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38242         (__acr): Likewise.
38243         (__cpy): Likewise.
38244         (norm): Likewise.
38245         (denorm): Likewise.
38246         (__mp_dbl): Likewise.
38247         (__dbl_mp): Likewise.
38248         (add_magnitudes): Likewise.
38249         (sub_magnitudes): Likewise.
38250         (__add): Likewise.
38251         (__sub): Likewise.
38252         (__mul): Likewise.
38253         (__inv): Likewise.
38254         (__dvd): Likewise.
38255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38256         (__acr): Likewise.
38257         (__cpy): Likewise.
38258         (norm): Likewise.
38259         (denorm): Likewise.
38260         (__mp_dbl): Likewise.
38261         (__dbl_mp): Likewise.
38262         (add_magnitudes): Likewise.
38263         (sub_magnitudes): Likewise.
38264         (__add): Likewise.
38265         (__sub): Likewise.
38266         (__mul): Likewise.
38267         (__inv): Likewise.
38268         (__dvd): Likewise.
38269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38270         (__acr): Likewise.
38271         (__cpy): Likewise.
38272         (norm): Likewise.
38273         (denorm): Likewise.
38274         (__mp_dbl): Likewise.
38275         (__dbl_mp): Likewise.
38276         (add_magnitudes): Likewise.
38277         (sub_magnitudes): Likewise.
38278         (__add): Likewise.
38279         (__sub): Likewise.
38280         (__mul): Likewise.
38281         (__inv): Likewise.
38282         (__dvd): Likewise.
38284 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38286         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38287         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38288         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38289         2 && __USE_EXTERN_INLINES]: Likewise.
38291 2013-01-08  Andreas Jaeger  <aj@suse.de>
38293         [BZ# 14985]
38294         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38295         Remove.
38296         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38297         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38299 2013-01-07  Anton Blanchard  <anton@samba.org>
38301         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38302         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38303         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38304         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38305         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38306         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38307         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38308         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38310         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38311         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38312         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38313         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38314         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38315         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38316         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38317         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38318         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38319         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38320         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38321         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38322         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38323         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38324         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38325         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38326         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38327         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38328         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38329         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38330         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38331         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38333         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38334         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38335         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38336         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38337         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38338         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38339         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38340         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38341         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38342         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38343         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38345 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38347         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38348         (__MALLOC_PMT): Likewise.
38349         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38350         [__GNUC__], only on [_LIBC].
38351         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38352         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38353         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38354         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38355         forward declaration.
38356         (realloc_hook_ini): Likewise.
38357         (memalign_hook_ini): Likewise.
38358         (__libc_memalign): Do not use __MALLOC_PMT in variable
38359         declaration.
38360         (__libc_valloc): Likewise.
38361         (__libc_pvalloc): Likewise.
38362         (__libc_calloc): Likewise.
38363         (__posix_memalign): Likewise.
38365         [BZ #14996]
38366         * math/s_casinh.c: Include <float.h>.
38367         (__casinh): Do not do computation with squaring and square root
38368         for large arguments.
38369         * math/s_casinhf.c: Include <float.h>.
38370         (__casinhf): Do not do computation with squaring and square root
38371         for large arguments.
38372         * math/s_casinhl.c: Include <float.h>.
38373         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38374         (__casinhl): Do not do computation with squaring and square root
38375         for large arguments.
38376         * math/libm-test.inc (casin_test): Add more tests.
38377         (casinh_test): Likewise.
38378         * sysdeps/i386/fpu/libm-test-ulps: Update.
38379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38381 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38383         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38384         (__x86_64_raw_data_cache_size): Likewise.
38385         (__x86_64_data_cache_size_half): Likewise.
38386         (__x86_64_raw_data_cache_size_half): Likewise.
38387         (__x86_64_shared_cache_size): Likewise.
38388         (__x86_64_raw_shared_cache_size): Likewise.
38389         (__x86_64_shared_cache_size_half): Likewise.
38390         (__x86_64_raw_shared_cache_size_half): Likewise.
38391         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38392         to ...
38393         (__x86_data_cache_size): This.
38394         (__x86_64_raw_data_cache_size): Renamed to ...
38395         (__x86_raw_data_cache_size): This.
38396         (__x86_64_data_cache_size_half): Renamed to ...
38397         (__x86_data_cache_size_half): This.
38398         (__x86_64_raw_data_cache_size_half): Renamed to ...
38399         (__x86_raw_data_cache_size_half): This.
38400         (__x86_64_shared_cache_size): Renamed to ...
38401         (__x86_shared_cache_size): This.
38402         (__x86_64_raw_shared_cache_size): Renamed to ...
38403         (__x86_raw_shared_cache_size): This.
38404         (__x86_64_shared_cache_size_half): Renamed to ...
38405         (__x86_shared_cache_size_half): This.
38406         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38407         (__x86_raw_shared_cache_size_half): This.
38408         * sysdeps/x86_64/memcpy.S: Updated.
38409         * sysdeps/x86_64/memset.S: Likewise.
38410         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38414 2013-01-04  David S. Miller  <davem@davemloft.net>
38416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38418 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38420         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38421         1 to avoid redefinition warning.
38422         (__USE_GNU): Don't define.
38423         (init_signaling_nan): Protoize.
38425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38427 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38429         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38431         (__cpymn): Likewise.
38432         (norm): Remove commented code.
38433         (denorm): Likewise.
38434         (__mp_dbl): Likewise.
38435         (__inv): Likewise.
38436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38437         (__cpymn): Likewise.
38438         (norm): Remove commented code.
38439         (denorm): Likewise.
38440         (__mp_dbl): Likewise.
38441         (__inv): Likewise.
38443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38444         mp_no value for 1.0 and 2.0.
38445         (norm): Use RADIXI instead of radixi.d.
38446         (denorm): Likewise.
38447         (__mul): Use 0.0 instead of zero.d.
38448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38449         mp_no value for 1.0 and 2.0.
38450         (norm): Use RADIXI instead of radixi.d.
38451         (denorm): Likewise.
38452         (__mul): Use 0.0 instead of zero.d.
38454 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38456         [BZ #14994]
38457         * math/s_casinh.c (__casinh): Reduce finite argument to first
38458         quadrant then set signs of results at the end.
38459         * math/s_casinhf.c (__casinhf): Likewise.
38460         * math/s_casinhl.c (__casinhl): Likewise.
38461         * math/libm-test.inc (casin_test): Add more tests.
38462         (casinh_test): Likewise.
38463         * sysdeps/i386/fpu/libm-test-ulps: Update.
38464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38466 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38468         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38470         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38472         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38473         declarations.
38474         (denorm): Likewise.
38475         (__mp_dbl): Likewise.
38476         (__inv): Likewise.
38478         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38479         and adjust the header comment.
38481         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38482         variable name from declaration.
38484 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38487         Initialize COMMON_CPUID_INDEX_7 element.
38488         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38489         (CPUID_RTM): Likewise.
38490         (HAS_RTM): Likewise.
38491         (COMMON_CPUID_INDEX_7): New enum.
38493 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38495         [BZ #14981]
38496         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38497         size is zero, record memory as freed.
38499 2013-01-03  Andreas Jaeger  <aj@suse.de>
38501         * po/ia.po: Add new Interlingua translation.
38503 2012-01-03  Allan McRae  <allan@archlinux.org>
38505         * locale/programs/localedef.c: Fix description of '--posix' flag.
38507 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38509         * NEWS: Update dates in second copyright notice.
38510         * README: Update copyright dates in example.
38511         * manual/libc.texinfo: Update copyright dates.
38512         * scripts/test-installation.pl: Update copyright date in --version
38513         output.
38515         * hurd/ctty-input.c: Fix copyright notice formatting.
38516         * hurd/ctty-output.c: Likewise.
38517         * hurd/dtable.c: Likewise.
38518         * hurd/hurd-raise.c: Likewise.
38519         * hurd/hurdprio.c: Likewise.
38520         * hurd/msgportdemux.c: Likewise.
38521         * misc/sys/file.h: Likewise.
38522         * misc/sys/ioctl.h: Likewise.
38523         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38524         * sysdeps/mach/hurd/chdir.c: Likewise.
38525         * sysdeps/mach/hurd/fchdir.c: Likewise.
38526         * sysdeps/mach/hurd/rename.c: Likewise.
38527         * sysdeps/mach/hurd/rmdir.c: Likewise.
38528         * sysdeps/mach/hurd/seekdir.c: Likewise.
38529         * sysdeps/mach/hurd/setsid.c: Likewise.
38530         * sysdeps/posix/wait3.c: Likewise.
38532         * All files with FSF copyright notices: Update copyright dates
38533         using scripts/update-copyrights.
38534         * intl/plural.c: Regenerated.
38535         * locale/programs/charmap-kw.h: Likewise.
38536         * locale/programs/locfile-kw.h: Likewise.
38538 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38540         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38541         four values.
38543         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38544         calculation loop and add branch prediction.
38546         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38547         check access beyond bounds of m1np.
38549         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38550         MPTWO.
38551         (__inv): Remove local variable MPTWO to use the global
38552         constant.
38553         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38554         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38555         variable MPTWO.
38556         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38557         MP3HALFS static const.
38559 2013-01-01  David S. Miller  <davem@davemloft.net>
38561         * po/ca.po: Update from translation team.
38563 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38565         * scripts/update-copyrights: New file.
38566         * Makeconfig: Reformat copyright notice.
38567         * ctype/ctype.h: Likewise.
38568         * debug/swprintf_chk.c: Likewise.
38569         * elf/dl-cache.c: Likewise.
38570         * elf/dl-debug.c: Likewise.
38571         * elf/dl-object.c: Likewise.
38572         * grp/initgroups.c: Likewise.
38573         * hurd/Makefile: Likewise.
38574         * hurd/hurd/signal.h: Likewise.
38575         * hurd/hurdfault.c: Likewise.
38576         * hurd/hurdioctl.c: Likewise.
38577         * hurd/hurdlookup.c: Likewise.
38578         * hurd/intr-msg.c: Likewise.
38579         * iconv/gconv_open.c: Likewise.
38580         * libio/swprintf.c: Likewise.
38581         * locale/lc-ctype.c: Likewise.
38582         * locale/nl_langinfo.c: Likewise.
38583         * mach/Machrules: Likewise.
38584         * mach/Makefile: Likewise.
38585         * malloc/obstack.h: Likewise.
38586         * manual/Makefile: Likewise.
38587         * manual/tsort.awk: Likewise.
38588         * misc/bits/stab.def: Likewise.
38589         * nis/nis_print_group_entry.c: Likewise.
38590         * nis/nis_table.c: Likewise.
38591         * nis/nss_compat/compat-pwd.c: Likewise.
38592         * nis/nss_compat/compat-spwd.c: Likewise.
38593         * po/Makefile: Likewise.
38594         * posix/fnmatch.c: Likewise.
38595         * posix/regex.h: Likewise.
38596         * resolv/Makefile: Likewise.
38597         * resolv/nss_dns/dns-network.c: Likewise.
38598         * resolv/res_hconf.c: Likewise.
38599         * scripts/gen-sorted.awk: Likewise.
38600         * soft-fp/soft-fp.h: Likewise.
38601         * stdio-common/printf.h: Likewise.
38602         * stdlib/monetary.h: Likewise.
38603         * stdlib/random.c: Likewise.
38604         * stdlib/random_r.c: Likewise.
38605         * sysdeps/generic/Makefile: Likewise.
38606         * sysdeps/gnu/Makefile: Likewise.
38607         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38608         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38609         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38612         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38613         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38614         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38615         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38616         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38617         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38618         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38619         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38620         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38621         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38622         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38623         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38624         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38625         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38626         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38627         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38628         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38629         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38630         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38631         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38632         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38633         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38634         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38635         * sysdeps/mach/hurd/errnos.awk: Likewise.
38636         * sysdeps/mach/hurd/fork.c: Likewise.
38637         * sysdeps/mach/hurd/getcwd.c: Likewise.
38638         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38639         * sysdeps/mach/hurd/mmap.c: Likewise.
38640         * sysdeps/mach/hurd/utimes.c: Likewise.
38641         * sysdeps/mach/hurd/xmknod.c: Likewise.
38642         * sysdeps/posix/profil.c: Likewise.
38643         * sysdeps/posix/readdir_r.c: Likewise.
38644         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38645         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38646         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38647         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38649         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38650         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38651         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38653         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38654         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38655         * sysdeps/pthread/lio_listio.c: Likewise.
38656         * sysdeps/sparc/dl-procinfo.h: Likewise.
38657         * sysdeps/unix/i386/sysdep.S: Likewise.
38658         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38659         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38660         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38661         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38663         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38664         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38665         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38666         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38667         * sysdeps/wordsize-32/divdi3.c: Likewise.
38668         * time/sys/time.h: Likewise.
38669         * wcsmbs/Makefile: Likewise.
38671 2013-01-01  David S. Miller  <davem@davemloft.net>
38673         * po/fr.po: Update from translation team.
38675         * catgets/gencat.c: Update copyright year.
38676         * csu/version.c: Likewise.
38677         * debug/catchsegv.sh: Likewise.
38678         * debug/pcprofiledump.c: Likewise.
38679         * debug/xtrace.sh: Likewise.
38680         * elf/ldconfig.c: Likewise.
38681         * elf/ldd.bash.in: Likewise.
38682         * elf/pldd.c: Likewise.
38683         * elf/sotruss.ksh: Likewise.
38684         * elf/sprof.c: Likewise.
38685         * iconv/iconv_prog.c: Likewise.
38686         * iconv/iconvconfig.c: Likewise.
38687         * locale/programs/locale.c: Likewise.
38688         * locale/programs/localedef.c: Likewise.
38689         * login/programs/pt_chown.c: Likewise.
38690         * malloc/memusage.sh: Likewise.
38691         * malloc/memusagestat.c: Likewise.
38692         * malloc/mtrace.pl: Likewise.
38693         * nscd/nscd.c: Likewise.
38694         * nss/getent.c: Likewise.
38695         * nss/makedb.c: Likewise.
38696         * posix/getconf.c: Likewise.
38698 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38700         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38701         numbers.
38703 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38705         * math/bits/mathcalls.h (modf): Use __nonnull.
38707 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38709         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38710         (split): Use macro CN instead of the bare value.
38711         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38712         could be used.
38713         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38714         instead of the bare value.
38715         (power1): Likewise.
38717 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38719         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38720         __ATAN_TWOM.
38721         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38723         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38724         their values.
38725         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38726         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38727         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38728         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38730 2012-12-28  Andreas Jaeger  <aj@suse.de>
38732         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38733         values are from Linux 3.7.
38735         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38736         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38738 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38740         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38741         TRUE case.
38743         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38744         (norm): Likewise.
38745         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38746         variables with preprocessor constants.
38747         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38748         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38749         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38751 2012-12-27  Bruno Haible  <bruno@clisp.org>
38753         [BZ #14317]
38754         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38755         only if needed.
38757 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38759         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38760         and use variable directly.
38761         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38763         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38764         MPONE.
38765         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38766         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38767         variable MPONE.
38768         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38769         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38770         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38771         include directive.  Remove local variable MPONE.
38772         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38773         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38774         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38776 2012-12-25  David S. Miller  <davem@davemloft.net>
38778         * version.h (RELEASE): Set to "development".
38779         (VERSION): Set to "2.17.90".
38780         * NEWS: Add 2.18 section.
38782 2012-12-21  David S. Miller  <davem@davemloft.net>
38784         * po/hr.po: Update from translation team.
38786 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38788         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38790 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38792         * NEWS:  Mention new memcpy for MIPS.
38794 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38796         * manual/contrib.texi (Contributors): Spelling correction.
38798 2012-12-15  David S. Miller  <davem@davemloft.net>
38800         * po/ru.po: Update from translation team.
38802 2012-12-13  David S. Miller  <davem@davemloft.net>
38804         * NEWS: Mention IFUNC testsuite enhancements.
38806         * po/pl.po: Update from translation team.
38807         * po/bg.po: Likewise.
38809         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38810         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38812 2012-12-11  David S. Miller  <davem@davemloft.net>
38814         * po/sv.po: Update from translation team.
38816         * po/vi.po: Update from translation team.
38818         * po/cs.po: Update from translation team.
38820         * po/de.po: Update from translation team.
38821         * po/eo.po: Likewise.
38822         * po/nl.po: Likewise.
38824 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38826         [BZ #14246]
38827         * manual/argp.texi (Argp Helper Functions): Move node to follow
38828         Argp Parsing State.
38830         [BZ #14872]
38831         * manual/conf.texi (Limits on File System Capacity): Mention if
38832         terminating null is included in the max size.
38834 2012-12-10  Andreas Jaeger  <aj@suse.de>
38836         * po/cs.po: Update from translation team.
38838 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38840         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38841         void pointer and cast to uintptr_t.
38842         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38843         path.
38844         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38845         * sysdeps/s390/s390-64/memset.S: Likewise.
38847 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38849         [BZ #14833]
38850         * menual/message.texi (Message Translation): Fix typos.
38851         (Helper programs for gettext): Likewise.
38853 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38855         [BZ #14898]
38856         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38857         Change to -1.
38859 2012-12-07  David S. Miller  <davem@davemloft.net>
38861         * po/libc.pot: Update.
38863 2012-12-07  Richard Henderson  <rth@redhat.com>
38865         [BZ #10114]
38866         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38867         normal/normal case to before the switch.
38868         (_FP_DIV): Likewise.
38870 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38871             Mike Frysinger  <vapier@gentoo.org>
38873         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38874         check for __NR_fadvise64_64.
38876 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38878         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38879         0, not just to plain "0" as a statement.
38880         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38881         with cw.
38883 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38885         * NEWS: Use sourceware.org in Bugzilla URL.
38887 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38890         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38892         * stdio-common/tst-put-error.c (do_test): Add newline to the
38893         padded test to ensure flush.
38895 2012-12-05  Jeff Law  <law@redhat.com>
38897         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38899 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38901         * README: Don't refer to ports add-on as distributed separately.
38902         Mention AArch64 in list of systems supported in the ports add-on.
38904         * LICENSES: Add more non-FSF copyright and license notices.
38906         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38907         ((unused)).
38909         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38911         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38912         10000 as width of padded output.
38914 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38916         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38918         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38919         variable LX with __attribute__ ((unused)).
38920         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38921         Likewise.
38922         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38923         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38924         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38925         with __attribute__ ((unused)).
38927 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38929         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38931 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38933         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38934         (CFLAGS-nldbl-acos.c): New variable.
38935         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38936         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38937         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38938         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38939         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38940         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38941         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38942         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38943         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38944         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38945         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38946         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38947         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38948         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38949         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38950         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38951         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38952         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38953         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38954         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38955         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38956         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38957         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38958         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38959         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38960         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38961         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38962         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38963         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38964         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38965         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38966         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38967         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38968         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38969         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38970         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38971         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38972         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38973         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38974         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38975         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38976         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38977         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38978         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38979         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38980         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38981         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38982         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38983         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38984         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38985         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38986         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38987         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38988         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38989         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38990         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38991         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38992         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38993         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38994         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38995         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38996         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38997         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38998         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38999         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39000         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39001         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39002         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39003         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39004         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39005         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39006         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39007         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39008         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39009         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39010         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39011         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39012         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39013         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39014         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39015         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39016         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39017         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39018         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39019         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39020         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39021         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39022         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39023         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39024         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39025         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39026         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39027         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39028         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39029         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39030         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39031         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39034         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39036         [BZ #14914]
39037         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39038         whole low double instead of just low 47 bits when splitting values
39039         into two parts.
39041 2012-12-03  Allan McRae  <allan@archlinux.org>
39043         * manual/stdio.texi (Predefined Printf Handlers): Remove
39044         @hsep and @vsep usage.
39046 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39048         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39049         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39051 2012-12-03  Jeff Law  <law@redhat.com>
39053         * time/sys/time.h (settimeofday): Do not mark TV argument
39054         as __nonnull.
39056 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39058         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39059         when currently writing and seek to current position when not.
39060         * libio/Makefile (tests): Remove bug-fclose1.
39061         * libio/bug-fclose1.c: Delete.
39063 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39065         * manual/arith.texi (feenableexcept): Fix typo.
39066         (fedisableexcept): Likewise.
39068 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39070         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39071         second, differently-typed declaration, rather than a cast.
39073 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39075         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39076         * include/rpc/svc.h: ... here.
39078 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39080         [BZ #13013]
39081         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39082         depending n and resplen2 to catch cases where answer
39083         equals answerp2.
39085 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39087         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39088         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39090 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39092         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39094 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39096         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39098 2012-11-28  Jeff Law  <law@redhat.com>
39100         [BZ #13761]
39101         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39102         dataset_temporary.  Track alloca usage into alloca_used.
39103         If dataset is large allocate and release it via malloc/free.
39105 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39107         [BZ #14197]
39108         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39110 2012-11-28  David S. Miller  <davem@davemloft.net>
39112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39114 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39116         [BZ #14803]
39117         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39118         of pi/2 rounded to nearest to 64 bits.
39119         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39120         nearest to 64 bits.
39121         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39122         bits.
39124 2012-11-28  Jeff Law <law@redhat.com>
39125             Martin Osvald <mosvald@redhat.com>
39127         [BZ #14889]
39128         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39129         * sunrpc/svc.c: Include time.h.
39130         (__svc_accept_failed): New function.
39131         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39132         any reason other than EINTR, call __svc_accept_failed.
39133         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39134         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39136 2012-11-28  Andreas Schwab  <schwab@suse.de>
39138         * scripts/abilist.awk: Also handle indirect functions in .opd
39139         section.
39141 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39143         [BZ #13881]
39144         * sysdeps/x86/fpu/powl_helper.c: New file.
39145         * sysdeps/x86/fpu/Makefile: Likewise.
39146         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39147         (p3): New object.
39148         (__ieee754_powl): Use __powl_helper for finite arguments except
39149         integer exponents below 8.
39150         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39151         (p3): New object.
39152         (__ieee754_powl): Use __powl_helper for finite arguments except
39153         integer exponents below 8.
39154         * math/libm-test.inc (pow_test): Add more tests and enable some
39155         previously disabled tests.
39156         * sysdeps/i386/fpu/libm-test-ulps: Update.
39157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39159 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39160             Carlos O'Donell  <carlos_odonell@mentor.com>
39162         * nss/makedb.c (is_prime): Assert that input is odd and greater
39163         than 4.  Note that fact in a comment too.
39164         (next_prime): Add 4 to input.
39166 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39168         [BZ #11741]
39169         * libio/Makefile (tests): Add test case tst-fwrite-error.
39170         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39171         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39172         * libio/tst-fwrite-error.c: New test case.
39174 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39176         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39177         before casting to void *.
39178         * include/libc-internal.h (__pointer_type): New macro.
39179         (__integer_if_pointer_type_sub): Likewise.
39180         (__integer_if_pointer_type): Likewise.
39181         (cast_to_integer): Likewise.
39182         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39183         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39184         before casting to atomic64_t.
39185         (atomic_exchange_acq): Likewise.
39186         (__arch_exchange_and_add_body): Likewise.
39187         (__arch_add_body): Likewise.
39188         (atomic_add_negative): Likewise.
39189         (atomic_add_zero): Likewise.
39191 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39193         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39194         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39195         (add_fdes): Likewise.
39196         (linear_search_fdes): Likewise.
39197         (binary_search_unencoded_fdes): Likewise.
39199 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39201         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39203 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39205         * configure.in: Autodetect C++ header directories.
39206         * configure: Regenerated.
39208 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39210         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39212 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39216 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39218         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39219         LDBL_MANT_DIG == 106]: Disable some tests.
39220         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39221         Likewise.
39222         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39223         Likewise.
39225         [BZ #14871]
39226         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39227         input for small inputs.  Return +/- pi/2 for large inputs.
39228         * math/libm-test.inc (atan_test): Add more tests.
39230         * sysdeps/generic/unwind-dw2-fde-glibc.c
39231         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39232         __attribute__ ((unused)).
39234         [BZ #14645]
39235         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39236         x * y if x and y are nonzero and z is zero.
39238         [BZ #14811]
39239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39240         nonzero exponents with absolute value below 0x1p-117 to +/-
39241         0x1p-117.
39243         [BZ #14869]
39244         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39245         up arguments below 2**-450, not just those below 2**-500.
39246         * math/libm-test.inc (hypot_test): Add another test.
39248         [BZ #14868]
39249         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39250         Return a+b for ratio over 2**120, not 2**60.
39251         * math/libm-test.inc (hypot_test): Add another test.
39253         * math/libm-test.inc (clog_test): Use
39254         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39255         (clog10_test): Likewise.
39257         [BZ #6778]
39258         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39260 2012-11-22  Andreas Schwab  <schwab@suse.de>
39262         * sysdeps/i386/fpu/libm-test-ulps: Update.
39264 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39266         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39267         printf output with newline.
39269 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39271         [BZ #14865]
39272         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39273         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39274         -z nodlopen, -z initfirst and -z execstack support.
39275         * configure: Regenerated.
39277         * elf/elf.h (DF_1_NODIRECT): New macro.
39278         (DF_1_IGNMULDEF): Likewise.
39279         (DF_1_NOKSYMS): Likewise.
39280         (DF_1_NOHDR): Likewise.
39281         (DF_1_EDITED): Likewise.
39282         (DF_1_NORELOC): Likewise.
39283         (DF_1_SYMINTPOSE): Likewise.
39284         (DF_1_GLOBAUDIT): Likewise.
39285         (DF_1_SINGLETON): Likewise.
39286         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39287         DT_1_SUPPORTED_MASK bits.
39288         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39290 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39292         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39294 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39296         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39297         macro.
39299         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39300         (sendmmsg): Move declarations...
39301         * socket/sys/socket.h: ... here.
39302         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39303         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39304         include it from...
39305         * socket/recvmmsg.c: ... this new file.
39306         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39307         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39308         definition of __sendmmsg hidden.
39309         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39310         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39311         Move ENOSYS stub into and include it from...
39312         * socket/sendmmsg.c: ... this new file.
39313         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39314         (sysdep_routines): Move recvmmsg and sendmmsg...
39315         * socket/Makefile (routines): ... here.
39316         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39317         (GLIBC_PRIVATE): Add __sendmmsg.
39318         * include/sys/socket.h (__sendmmsg): Add declarations.
39319         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39320         sendmmsg.
39322 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39324         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39325         variable I1 with __attribute__ ((unused)).
39326         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39328 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39330         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39331         DUMMY variables with __attribute__ ((unused)).
39333         * bits/byteswap.h: Include <bits/types.h>.
39334         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39336 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39338         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39339         string_t.  Do not manually set errno.
39340         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39341         length with __strnlen.  Make sure to both set errno and return it on
39342         failure.
39344 2012-11-19  David S. Miller  <davem@davemloft.net>
39346         With help from Joseph Myers.
39347         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39348         very large arguments properly.
39349         * math/libm-test.inc (atan_test): New tests.
39350         (atan2_test): New tests.
39351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39354 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39356         [BZ #14856]
39357         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39358         Define to 3.
39360         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39361         [POSIX] (EADDRNOTAVAIL): Likewise.
39362         [POSIX] (EAFNOSUPPORT): Likewise.
39363         [POSIX] (EALREADY): Likewise.
39364         [POSIX] (ECONNABORTED): Likewise.
39365         [POSIX] (ECONNREFUSED): Likewise.
39366         [POSIX] (ECONNRESET): Likewise.
39367         [POSIX] (EDESTADDRREQ): Likewise.
39368         [POSIX] (EDQUOT): Likewise.
39369         [POSIX] (EHOSTUNREACH): Likewise.
39370         [POSIX] (EIDRM): Likewise.
39371         [POSIX] (EISCONN): Likewise.
39372         [POSIX] (ELOOP): Likewise.
39373         [POSIX] (EMULTIHOP): Likewise.
39374         [POSIX] (ENETDOWN): Likewise.
39375         [POSIX] (ENETUNREACH): Likewise.
39376         [POSIX] (ENOBUFS): Likewise.
39377         [POSIX] (ENODATA): Likewise.
39378         [POSIX] (ENOLINK): Likewise.
39379         [POSIX] (ENOMSG): Likewise.
39380         [POSIX] (ENOPROTOOPT): Likewise.
39381         [POSIX] (ENOSR): Likewise.
39382         [POSIX] (ENOSTR): Likewise.
39383         [POSIX] (ENOTCONN): Likewise.
39384         [POSIX] (ENOTSOCK): Likewise.
39385         [POSIX] (EOPNOTSUPP): Likewise.
39386         [POSIX] (EOVERFLOW): Likewise.
39387         [POSIX] (EPROTO): Likewise.
39388         [POSIX] (EPROTONOSUPPORT): Likewise.
39389         [POSIX] (EPROTOTYPE): Likewise.
39390         [POSIX] (ESTALE): Likewise.
39391         [POSIX] (ETIME): Likewise.
39392         [POSIX] (ETXTBSY): Likewise.
39393         [POSIX] (EWOULDBLOCK): Likewise.
39394         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39395         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39396         [POSIX] (SEEK_CUR): Likewise.
39397         [POSIX] (SEEK_END): Likewise.
39398         [POSIX || UNIX98] (mode_t): Do not require.
39399         [POSIX] (off_t): Likewise.
39400         [POSIX] (pid_t): Likewise.
39401         [POSIX] (sys/stat.h): Do not allow header.
39402         [POSIX] (unistd.h): Likewise.
39403         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39404         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39405         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39406         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39407         require.
39408         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39409         sigevent): Specify elements.
39410         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39411         entry.
39412         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39413         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39415         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39416         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39417         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39418         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39419         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39420         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39421         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39422         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39423         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39424         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39425         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39426         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39427         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39428         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39429         Likewise.
39430         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39431         Likewise.
39432         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39433         Likewise.
39434         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39435         Likewise.
39436         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39437         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39438         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39439         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39440         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39441         Specify lower bound on value.
39442         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39443         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39444         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39445         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39446         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39447         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39448         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39449         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39450         value.
39451         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39452         as optional.
39453         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39454         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39455         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39456         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39457         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39458         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39459         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39460         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39461         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39462         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39463         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39464         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39465         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39466         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39467         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39468         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39469         entry.
39470         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39471         optional.
39472         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39473         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39474         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39475         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39476         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39477         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39478         Likewise.
39479         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39480         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39481         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39482         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39483         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39484         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39485         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39486         as optional.
39487         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39488         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39489         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39490         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39491         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39492         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39493         specify as optional.
39494         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39495         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39496         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39497         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39498         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39499         [XPG3] (NL_LANGMAX): Likewise.
39500         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39501         [POSIX || XPG3] (NL_NMAX): Likewise.
39502         [POSIX || XPG3] (NL_SETMAX): Likewise.
39503         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39504         [XPG3] (NZERO): Likewise.
39505         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39506         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39507         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39508         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39509         (REG_ERANGE): Expect.
39510         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39511         optional-constant.
39512         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39513         Use (void) in prototype.
39514         [POSIX] (*_t): Allow.
39515         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39516         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39517         (WRDE_BADVAL): Expect.
39519         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39520         expect.
39521         [XPG3 || XPG4] (O_RSYNC): Likewise.
39522         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39523         Likewise.
39524         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39525         [XPG3 || XPG4] (sigqueue): Likewise.
39526         [XPG3 || XPG4] (sigtimedwait): Likewise.
39527         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39528         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39529         [XPG3 || XPG4] (vsnprintf): Likewise.
39530         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39531         Likewise.
39532         [XPG3 || XPG4] (blksize_t): Likewise.
39533         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39534         Likewise.
39535         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39536         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39537         [XPG3 || XPG4] (struct itimerspec): Likewise.
39538         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39539         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39540         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39541         [XPG3 || XPG4] (clockid_t): Likewise.
39542         [XPG3 || XPG4] (timer_t): Likewise.
39543         [XPG3 || XPG4] (clock_getres): Likewise.
39544         [XPG3 || XPG4] (clock_gettime): Likewise.
39545         [XPG3 || XPG4] (clock_settime): Likewise.
39546         [XPG3 || XPG4] (nanosleep): Likewise.
39547         [XPG3 || XPG4] (timer_create): Likewise.
39548         [XPG3 || XPG4] (timer_delete): Likewise.
39549         [XPG3 || XPG4] (timer_gettime): Likewise.
39550         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39551         [XPG3 || XPG4] (timer_settime): Likewise.
39552         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39553         [XPG3 || XPG4] (getlogin_r): Likewise.
39554         [XPG3 || XPG4] (pread): Likewise.
39555         [XPG3 || XPG4] (pthread_atfork): Likewise.
39556         [XPG3 || XPG4] (pwrite): Likewise.
39558         [BZ #14835]
39559         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39560         <bits/siginfo.h>.
39562 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39564         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39565         finalizing MALLSTREAM.
39567         * sysdeps/mach/hurd/syncfs.c: New file.
39569 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39571         [BZ #14719]
39572         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39573         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39574         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39575         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39576         (_nss_dns_gethostbyname4_r): Likewise.
39577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39578         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39580 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39582         [BZ #13763]
39583         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39585 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39587         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39588         * elf/cache.c (print_entry): Print ",AArch64" for
39589         FLAG_AARCH64_LIB64
39591         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39592         * elf/cache.c (print_entry): Print ",hard-float" for
39593         FLAG_ARM_LIBHF.
39595 2012-11-18  David S. Miller  <davem@davemloft.net>
39597         With help from Joseph Myers.
39598         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39599         cutoff to 2**-13.
39600         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39601         cutoff to 2**-25.
39602         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39603         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39604         small.
39605         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39606         * math/libm-test.inc (y0_test): New tests.
39607         (y1_test): New tests.
39608         * sysdeps/i386/fpu/libm-test-ulps: Update.
39609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39612 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39614         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39615         64-bit targets.
39616         * configure: Regenerated.
39618 2012-11-17  David S. Miller  <davem@davemloft.net>
39620         [BZ #14811]
39621         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39622         nonzero exponents with absolute value below 0x1p-128 to +/-
39623         0x1p-128.
39625 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39627         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39629         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39631         * posix/getconf-speclist.c: New file.
39632         * posix/posix-envs.def: Likewise.
39633         * posix/confstr.c (START_ENV_GROUP): New macro.
39634         (END_ENV_GROUP): Likewise.
39635         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39636         (KNOWN_PRESENT_ENV_STRING): Likewise.
39637         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39638         (UNKNOWN_ENVIRONMENT): Likewise.
39639         (confstr): Include posix-envs.def instead of handling
39640         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39641         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39642         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39643         (END_ENV_GROUP): Likewise.
39644         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39645         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39646         (UNKNOWN_ENVIRONMENT): Likewise.
39647         (__sysconf): Include posix-envs.def instead of handling associated
39648         cases directly here.
39649         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39650         preprocessing getconf-speclist.c rather than running getconf or
39651         generating empty file.
39653 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39655         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39657 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39659         [BZ #14672]
39660         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39662 2012-11-16  David S. Miller  <davem@davemloft.net>
39664         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39665         smaller than LDBL_EPSILON/2.0L, just return xm1.
39667 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39669         * elf/tst-array1.c (init): Set constructor priority to 1000.
39670         (fini): Set destructor priority to 1000.
39671         * elf/tst-array2dep.c: Likewise.
39673 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39675         [BZ #11741]
39676         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39677         (_IO_new_file_xsputn): Also return EOF if none of the input
39678         data was written when overflow failed.
39679         * libio/iopadn.c (_IO_padn): Likewise.
39680         * libio/iowpadn.c (_IO_wpadn): Likewise.
39681         * stdio-common/tst-put-error.c: Add copyright notice.
39682         (do_test): Add case for printing padded string.
39683         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39684         _IO_padn returned error.
39685         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39686         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39687         return EOF.
39689 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39691         * libio/libioP.h: Add comment note that the references to C++
39692         bits are now obsolete.
39694 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39696         * math/libm-test.inc (check_complex): Use asprintf.
39698 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39700         * debug/pcprofiledump.c (print_version): Update copyright year.
39701         * malloc/memusagestat.c (print_version): Likewise.
39703 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39705         [BZ #14831]
39706         * elf/Makefile (tests): Add tst-audit8.
39707         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39708         ($(objpfx)tst-audit8.out): New target.
39709         (tst-audit8-ENV): New variable.
39710         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39711         audit if l_reloc_result is NULL.
39712         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39713         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39714         * elf/tst-audit8.c: New file.
39716 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39718         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39719         * misc/Makefile (CFLAGS-select.c): Define.
39720         * posix/Makefile (CFLAGS-pause.c): Define.
39722 2012-11-13  David S. Miller  <davem@davemloft.net>
39724         * crypt/Makefile: Move test targets after toplevel Rules
39725         inclusion.  Grab any necessary sysdep routines when linking.
39726         * crypt/md5.c (md5_process_block): Remove define, we will always
39727         name it __md5_process_block.
39728         (md5_finish_ctx): Update md5_process_block call.
39729         (md5_stream): Likewise.
39730         (md5_process_bytes): Likewise.
39731         (md5_process_block): Rename to __md5_process_block and move to ...
39732         * crypt/md5-block.c: ... here.
39733         * crypt/sha256.c (sha256_process_block): Move to ...
39734         * crypt/sha256-block.c: ... here.
39735         * crypt/sha512.c (sha512_process_block): Move to ...
39736         * crypt/sha512-block.c: ... here.
39737         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39738         path.
39739         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39740         * sysdeps/sparc/sparc64/multiarch/Makefile
39741         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39742         crypt subdir.
39743         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39744         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39745         multiarch changes.
39746         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39747         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39748         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39749         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39750         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39751         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39752         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39753         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39754         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39755         file.
39756         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39757         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39758         file.
39759         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39761 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39763         * timezone/tzselect.ksh: Update from tzcode git revision
39764         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39765         * timezone/zdump.c: Likewise.
39766         * timezone/zic.c: Likewise.
39767         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39768         in TZVERSION setting, not $(PKGVERSION).
39769         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39770         REPORT_BUGS_TO settings.
39772         [BZ #14838]
39773         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39774         macro.
39776 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39778         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39779         detection to immediately after _FP_ROUND().
39780         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39781         bits are 0.
39783 2012-11-11  David S. Miller  <davem@davemloft.net>
39785         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39786         inttypes.h
39787         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39788         __close rather than their public counterparts.
39790 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39792         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39793         file.
39794         [UNIX98] (sem_timedwait): Do not expect.
39795         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39796         [XPG4 || UNIX98] (sockatmark): Do not expect.
39797         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39798         (clock_getcpuclockid): Do not expect.
39799         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39800         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39801         Do not expect.
39802         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39803         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39804         [UNIX98] (vwscanf): Likewise.
39805         [UNIX98] (vswscanf): Likewise.
39807 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39809         * timezone/version.h: Remove file.
39810         * timezone/README: Do not refer to version.h.
39811         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39812         $(objpfx)version.h.
39813         ($(objpfx)zdump.o): Likewise.
39814         ($(objpfx)version.h): New target.
39816         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39817         2012i.
39818         * timezone/README: Don't mention modification to tzselect.ksh.
39819         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39820         work on unmodified tzselect.ksh.  Substitute version numbers in
39821         tzselect.ksh.
39823         * Makefile (format-me): Remove.
39824         (INSTALL): Adjust indentation.  Use commands directly instead of
39825         using $(format-me).
39827         * aclocal.m4 (ACX_PKGVERSION): New macro.
39828         (ACX_BUGURL): Likewise.
39829         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39830         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39831         (REPORT_BUGS_TO): Likewise.
39832         * configure: Regenerated.
39833         * config.h.in (PKGVERSION): New macro.
39834         (REPORT_BUGS_TO): Likewise.
39835         * config.make.in (PKGVERSION): New variable.
39836         (PKGVERSION_TEXI): Likewise.
39837         (REPORT_BUGS_TO): Likewise.
39838         (REPORT_BUGS_TEXI): Likewise.
39839         * Makefile (format-me): Use -I$(common-objpfx)manual.
39840         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39841         ($(common-objpfx)manual/%): New target.
39842         (manual/%): Remove target.
39843         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39844         (print_version): Use PKGVERSION.
39845         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39846         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39847         and REPORT_BUGS_TO.
39848         ($(objpfx)xtrace): Likewise.
39849         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39850         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39851         (print_version): Use PKGVERSION.
39852         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39853         (do_version): Use PKGVERSION.
39854         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39855         REPORT_BUGS_TO.
39856         (common-ldd-rewrite): Likewise.
39857         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39858         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39859         (print_version): Use PKGVERSION.
39860         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39861         * elf/pldd.c (argp_program_bug_address): Remove variable.
39862         (more_help): New function.
39863         (argp): Use more_help.
39864         (print_version): Use PKGVERSION.
39865         * elf/sln.c (main): Use PKGVERSION.
39866         (usage): Use REPORT_BUGS_TO.
39867         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39868         (top level): Use PKGVERSION.
39869         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39870         (print_version): Use PKGVERSION.
39871         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39872         (print_version): Use PKGVERSION.
39873         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39874         (print_version): Use PKGVERSION.
39875         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39876         (print_version): Use PKGVERSION.
39877         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39878         (print_version): Use PKGVERSION.
39879         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39880         (print_version): Use PKGVERSION.
39881         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39882         and BUGURL.
39883         ($(objpfx)memusage): Likewise.
39884         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39885         (do_version): Use PKGVERSION.
39886         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39887         (print_version): Use PKGVERSION.
39888         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39889         ($PKGVERSION): New variable.
39890         ($REPORT_BUGS_TO): Likewise.
39891         (usage): Use $REPORT_BUGS_TO.
39892         (top level): Use $PKGVERSION.
39893         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39894         ($(objpfx)pkgvers.texi): New rule.
39895         ($(objpfx)stamp-pkgvers): Likewise.
39896         * manual/install.texi: Include pkgvers.texi.
39897         (--with-pkgversion): Document new configure option.
39898         (--with-bugurl): Likewise.
39899         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39900         than necessarily for this particular distribution.  Use
39901         REPORT_BUGS_TO for where to report bugs.
39902         * INSTALL: Regenerated.
39903         * manual/libc.texinfo: Include pkgvers.texi.
39904         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39905         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39906         (print_version): Use PKGVERSION.
39907         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39908         (print_version): Use PKGVERSION.
39909         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39910         (print_version): Use PKGVERSION.
39911         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39912         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39913         macro.
39914         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39915         (print_version): Use PKGVERSION.
39916         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39917         (print_version): Use PKGVERSION.
39918         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39919         and PKGVERSION.
39921         * timezone/checktab.awk: Update from tzcode 2012i.
39922         * timezone/ialloc.c: Likewise.
39923         * timezone/private.h: Likewise.
39924         * timezone/scheck.c: Likewise.
39925         * timezone/tzfile.h: Likewise.
39926         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39927         (TZVERSION): Hardcode tzcode version number.
39928         * timezone/zdump.c: Update from tzcode 2012i.
39929         * timezone/zic.c: Likewise.
39930         * timezone/version.h: New file.
39931         * timezone/README: Describe version.h.  Update upstream location.
39933         [BZ #14824]
39934         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39935         (mktemp): Enable declaration.
39936         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39938         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39940         Likewise.
39941         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39942         Likewise.
39943         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39944         Likewise.
39945         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39946         Likewise.
39947         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39948         Likewise.
39949         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39950         Likewise.
39952         [BZ #14821]
39953         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39954         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39955         for copies of such integer values.
39956         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39957         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39959 2012-11-09  Andreas Jaeger  <aj@suse.de>
39961         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39962         definitions and declarations that are provided by
39963         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39965 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39967         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39968         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39969         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39970         definition.
39972 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39974         * elf/elf.h: Update comment before AArch64 relocations.
39976 2012-11-07  David S. Miller  <davem@davemloft.net>
39978         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39979         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39980         (__start_context): Declare.
39981         (__makecontext_ret): Delete.
39982         (__makecontext): Hook up __start_context instead of
39983         __makecontext_ret.
39984         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39985         (sysdep_routines): Add __start_context when in stdlib.
39987 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39989         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39990         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39991         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39992         hardcoded "nm".
39993         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39994         (READELF): New variable.  Use it instead of hardcoded "readelf".
39996 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39998         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39999         * sysdeps/x86/Makefile: Here.
40000         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40001         * sysdeps/x86/tst-xmmymm.sh: This.
40003 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40005         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40006         expectations.
40007         [UNIX98] (pthread_barrier_t): Do not expect.
40008         [UNIX98] (pthread_barrierattr_t): Likewise.
40009         [UNIX98] (pthread_spinlock_t): Likewise.
40010         [UNIX98] (pthread_barrier_destroy): Likewise.
40011         [UNIX98] (pthread_barrier_init): Likewise.
40012         [UNIX98] (pthread_barrier_wait): Likewise.
40013         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40014         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40015         [UNIX98] (pthread_barrierattr_init): Likewise.
40016         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40017         [UNIX98] (pthread_getcpuclockid): Likewise.
40018         [UNIX98] (pthread_mutex_timedlock): Likewise.
40019         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40020         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40021         [UNIX98] (pthread_sigmask): Likewise.
40022         [UNIX98] (pthread_spin_destroy): Likewise.
40023         [UNIX98] (pthread_spin_init): Likewise.
40024         [UNIX98] (pthread_spin_lock): Likewise.
40025         [UNIX98] (pthread_spin_trylock): Likewise.
40026         [UNIX98] (pthread_spin_unlock): Likewise.
40027         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40028         Do not expect.
40029         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40030         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40031         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40032         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40033         [XPG3 || XPG4] (pthread_key_t): Likewise.
40034         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40035         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40036         [XPG3 || XPG4] (pthread_once_t): Likewise.
40037         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40038         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40039         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40040         [XPG3 || XPG4] (pthread_t): Likewise.
40042         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40043         not expect.
40044         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40046         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40047         Change function return type to int.
40049         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40050         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40051         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40052         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40053         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40054         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40055         [!POSIX] (posix_madvise): Likewise.
40056         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40057         && !UNIX98].
40058         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40059         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40060         (mode_t): Likewise.
40061         (posix_mem_offset): Likewise.
40062         (posix_typed_mem_get_info): Likewise.
40063         (posix_typed_mem_open): Likewise.
40065         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40066         Change condition to [XOPEN2K8].
40068         * conform/conformtest.pl: Preprocess allow-header data with -x c
40069         instead of from stdin.
40070         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40071         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40072         [C99-based standards] (cerfc): Likewise.
40073         [C99-based standards] (cexp2): Likewise.
40074         [C99-based standards] (cexpm1): Likewise.
40075         [C99-based standards] (clog10): Likewise.
40076         [C99-based standards] (clog1p): Likewise.
40077         [C99-based standards] (clog2): Likewise.
40078         [C99-based standards] (clgamma): Likewise.
40079         [C99-based standards] (ctgamma): Likewise.
40080         [C99-based standards] (cerff): Likewise.
40081         [C99-based standards] (cerfcf): Likewise.
40082         [C99-based standards] (cexp2f): Likewise.
40083         [C99-based standards] (cexpm1f): Likewise.
40084         [C99-based standards] (clog10f): Likewise.
40085         [C99-based standards] (clog1pf): Likewise.
40086         [C99-based standards] (clog2f): Likewise.
40087         [C99-based standards] (clgammaf): Likewise.
40088         [C99-based standards] (ctgammaf): Likewise.
40089         [C99-based standards] (cerfl): Likewise.
40090         [C99-based standards] (cerfcl): Likewise.
40091         [C99-based standards] (cexp2l): Likewise.
40092         [C99-based standards] (cexpm1l): Likewise.
40093         [C99-based standards] (clog10l): Likewise.
40094         [C99-based standards] (clog1pl): Likewise.
40095         [C99-based standards] (clog2l): Likewise.
40096         [C99-based standards] (clgammal): Likewise.
40097         [C99-based standards] (ctgammal): Likewise.
40098         * conform/data/inttypes.h-data [C99-based standards]: Include
40099         stdint.h-data.  Remove all expectations for stdint.h contents.
40100         [C99-based standards] (PRI*): Do not allow.
40101         [C99-based standards] (SCN*): Likewise.
40102         [C99-based standards] (*_t): Likewise.
40103         [C99-based-standards] (PRId8): Expect macro.
40104         [C99-based-standards] (PRIi8): Likewise.
40105         [C99-based-standards] (PRIo8): Likewise.
40106         [C99-based-standards] (PRIu8): Likewise.
40107         [C99-based-standards] (PRIx8): Likewise.
40108         [C99-based-standards] (PRIX8): Likewise.
40109         [C99-based-standards] (SCNd8): Likewise.
40110         [C99-based-standards] (SCNi8): Likewise.
40111         [C99-based-standards] (SCNo8): Likewise.
40112         [C99-based-standards] (SCNu8): Likewise.
40113         [C99-based-standards] (SCNx8): Likewise.
40114         [C99-based-standards] (PRIdLEAST8): Likewise.
40115         [C99-based-standards] (PRIiLEAST8): Likewise.
40116         [C99-based-standards] (PRIoLEAST8): Likewise.
40117         [C99-based-standards] (PRIuLEAST8): Likewise.
40118         [C99-based-standards] (PRIxLEAST8): Likewise.
40119         [C99-based-standards] (PRIXLEAST8): Likewise.
40120         [C99-based-standards] (SCNdLEAST8): Likewise.
40121         [C99-based-standards] (SCNiLEAST8): Likewise.
40122         [C99-based-standards] (SCNoLEAST8): Likewise.
40123         [C99-based-standards] (SCNuLEAST8): Likewise.
40124         [C99-based-standards] (SCNxLEAST8): Likewise.
40125         [C99-based-standards] (PRIdFAST8): Likewise.
40126         [C99-based-standards] (PRIiFAST8): Likewise.
40127         [C99-based-standards] (PRIoFAST8): Likewise.
40128         [C99-based-standards] (PRIuFAST8): Likewise.
40129         [C99-based-standards] (PRIxFAST8): Likewise.
40130         [C99-based-standards] (PRIXFAST8): Likewise.
40131         [C99-based-standards] (SCNdFAST8): Likewise.
40132         [C99-based-standards] (SCNiFAST8): Likewise.
40133         [C99-based-standards] (SCNoFAST8): Likewise.
40134         [C99-based-standards] (SCNuFAST8): Likewise.
40135         [C99-based-standards] (SCNxFAST8): Likewise.
40136         [C99-based-standards] (PRId16): Likewise.
40137         [C99-based-standards] (PRIi16): Likewise.
40138         [C99-based-standards] (PRIo16): Likewise.
40139         [C99-based-standards] (PRIu16): Likewise.
40140         [C99-based-standards] (PRIx16): Likewise.
40141         [C99-based-standards] (PRIX16): Likewise.
40142         [C99-based-standards] (SCNd16): Likewise.
40143         [C99-based-standards] (SCNi16): Likewise.
40144         [C99-based-standards] (SCNo16): Likewise.
40145         [C99-based-standards] (SCNu16): Likewise.
40146         [C99-based-standards] (SCNx16): Likewise.
40147         [C99-based-standards] (PRIdLEAST16): Likewise.
40148         [C99-based-standards] (PRIiLEAST16): Likewise.
40149         [C99-based-standards] (PRIoLEAST16): Likewise.
40150         [C99-based-standards] (PRIuLEAST16): Likewise.
40151         [C99-based-standards] (PRIxLEAST16): Likewise.
40152         [C99-based-standards] (PRIXLEAST16): Likewise.
40153         [C99-based-standards] (SCNdLEAST16): Likewise.
40154         [C99-based-standards] (SCNiLEAST16): Likewise.
40155         [C99-based-standards] (SCNoLEAST16): Likewise.
40156         [C99-based-standards] (SCNuLEAST16): Likewise.
40157         [C99-based-standards] (SCNxLEAST16): Likewise.
40158         [C99-based-standards] (PRIdFAST16): Likewise.
40159         [C99-based-standards] (PRIiFAST16): Likewise.
40160         [C99-based-standards] (PRIoFAST16): Likewise.
40161         [C99-based-standards] (PRIuFAST16): Likewise.
40162         [C99-based-standards] (PRIxFAST16): Likewise.
40163         [C99-based-standards] (PRIXFAST16): Likewise.
40164         [C99-based-standards] (SCNdFAST16): Likewise.
40165         [C99-based-standards] (SCNiFAST16): Likewise.
40166         [C99-based-standards] (SCNoFAST16): Likewise.
40167         [C99-based-standards] (SCNuFAST16): Likewise.
40168         [C99-based-standards] (SCNxFAST16): Likewise.
40169         [C99-based-standards] (PRId32): Likewise.
40170         [C99-based-standards] (PRIi32): Likewise.
40171         [C99-based-standards] (PRIo32): Likewise.
40172         [C99-based-standards] (PRIu32): Likewise.
40173         [C99-based-standards] (PRIx32): Likewise.
40174         [C99-based-standards] (PRIX32): Likewise.
40175         [C99-based-standards] (SCNd32): Likewise.
40176         [C99-based-standards] (SCNi32): Likewise.
40177         [C99-based-standards] (SCNo32): Likewise.
40178         [C99-based-standards] (SCNu32): Likewise.
40179         [C99-based-standards] (SCNx32): Likewise.
40180         [C99-based-standards] (PRIdLEAST32): Likewise.
40181         [C99-based-standards] (PRIiLEAST32): Likewise.
40182         [C99-based-standards] (PRIoLEAST32): Likewise.
40183         [C99-based-standards] (PRIuLEAST32): Likewise.
40184         [C99-based-standards] (PRIxLEAST32): Likewise.
40185         [C99-based-standards] (PRIXLEAST32): Likewise.
40186         [C99-based-standards] (SCNdLEAST32): Likewise.
40187         [C99-based-standards] (SCNiLEAST32): Likewise.
40188         [C99-based-standards] (SCNoLEAST32): Likewise.
40189         [C99-based-standards] (SCNuLEAST32): Likewise.
40190         [C99-based-standards] (SCNxLEAST32): Likewise.
40191         [C99-based-standards] (PRIdFAST32): Likewise.
40192         [C99-based-standards] (PRIiFAST32): Likewise.
40193         [C99-based-standards] (PRIoFAST32): Likewise.
40194         [C99-based-standards] (PRIuFAST32): Likewise.
40195         [C99-based-standards] (PRIxFAST32): Likewise.
40196         [C99-based-standards] (PRIXFAST32): Likewise.
40197         [C99-based-standards] (SCNdFAST32): Likewise.
40198         [C99-based-standards] (SCNiFAST32): Likewise.
40199         [C99-based-standards] (SCNoFAST32): Likewise.
40200         [C99-based-standards] (SCNuFAST32): Likewise.
40201         [C99-based-standards] (SCNxFAST32): Likewise.
40202         [C99-based-standards] (PRId64): Likewise.
40203         [C99-based-standards] (PRIi64): Likewise.
40204         [C99-based-standards] (PRIo64): Likewise.
40205         [C99-based-standards] (PRIu64): Likewise.
40206         [C99-based-standards] (PRIx64): Likewise.
40207         [C99-based-standards] (PRIX64): Likewise.
40208         [C99-based-standards] (SCNd64): Likewise.
40209         [C99-based-standards] (SCNi64): Likewise.
40210         [C99-based-standards] (SCNo64): Likewise.
40211         [C99-based-standards] (SCNu64): Likewise.
40212         [C99-based-standards] (SCNx64): Likewise.
40213         [C99-based-standards] (PRIdLEAST64): Likewise.
40214         [C99-based-standards] (PRIiLEAST64): Likewise.
40215         [C99-based-standards] (PRIoLEAST64): Likewise.
40216         [C99-based-standards] (PRIuLEAST64): Likewise.
40217         [C99-based-standards] (PRIxLEAST64): Likewise.
40218         [C99-based-standards] (PRIXLEAST64): Likewise.
40219         [C99-based-standards] (SCNdLEAST64): Likewise.
40220         [C99-based-standards] (SCNiLEAST64): Likewise.
40221         [C99-based-standards] (SCNoLEAST64): Likewise.
40222         [C99-based-standards] (SCNuLEAST64): Likewise.
40223         [C99-based-standards] (SCNxLEAST64): Likewise.
40224         [C99-based-standards] (PRIdFAST64): Likewise.
40225         [C99-based-standards] (PRIiFAST64): Likewise.
40226         [C99-based-standards] (PRIoFAST64): Likewise.
40227         [C99-based-standards] (PRIuFAST64): Likewise.
40228         [C99-based-standards] (PRIxFAST64): Likewise.
40229         [C99-based-standards] (PRIXFAST64): Likewise.
40230         [C99-based-standards] (SCNdFAST64): Likewise.
40231         [C99-based-standards] (SCNiFAST64): Likewise.
40232         [C99-based-standards] (SCNoFAST64): Likewise.
40233         [C99-based-standards] (SCNuFAST64): Likewise.
40234         [C99-based-standards] (SCNxFAST64): Likewise.
40235         [C99-based-standards] (PRIdMAX): Likewise.
40236         [C99-based-standards] (PRIiMAX): Likewise.
40237         [C99-based-standards] (PRIoMAX): Likewise.
40238         [C99-based-standards] (PRIuMAX): Likewise.
40239         [C99-based-standards] (PRIxMAX): Likewise.
40240         [C99-based-standards] (PRIXMAX): Likewise.
40241         [C99-based-standards] (SCNdMAX): Likewise.
40242         [C99-based-standards] (SCNiMAX): Likewise.
40243         [C99-based-standards] (SCNoMAX): Likewise.
40244         [C99-based-standards] (SCNuMAX): Likewise.
40245         [C99-based-standards] (SCNxMAX): Likewise.
40246         [C99-based-standards] (PRIdPTR): Likewise.
40247         [C99-based-standards] (PRIiPTR): Likewise.
40248         [C99-based-standards] (PRIoPTR): Likewise.
40249         [C99-based-standards] (PRIuPTR): Likewise.
40250         [C99-based-standards] (PRIxPTR): Likewise.
40251         [C99-based-standards] (PRIXPTR): Likewise.
40252         [C99-based-standards] (SCNdPTR): Likewise.
40253         [C99-based-standards] (SCNiPTR): Likewise.
40254         [C99-based-standards] (SCNoPTR): Likewise.
40255         [C99-based-standards] (SCNuPTR): Likewise.
40256         [C99-based-standards] (SCNxPTR): Likewise.
40257         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40258         allow.
40259         * conform/data/stdint.h-data: Update comments to clarify
40260         requirements.
40261         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40262         type.
40263         [C99-based standards] (INT8_MAX): Likewise.
40264         [C99-based standards] (INT16_MIN): Likewise.
40265         [C99-based standards] (INT16_MAX): Likewise.
40266         [C99-based standards] (INT32_MIN): Likewise.
40267         [C99-based standards] (INT32_MAX): Likewise.
40268         [C99-based standards] (INT64_MIN): Likewise.
40269         [C99-based standards] (INT64_MAX): Likewise.
40270         [C99-based standards] (UINT8_MAX): Likewise.
40271         [C99-based standards] (UINT16_MAX): Likewise.
40272         [C99-based standards] (UINT32_MAX): Likewise.
40273         [C99-based standards] (UINT64_MAX): Likewise.
40274         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40275         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40276         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40277         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40278         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40279         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40280         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40281         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40282         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40283         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40284         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40285         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40286         [C99-based standards] (INT_FAST8_MIN): Likewise.
40287         [C99-based standards] (INT_FAST8_MAX): Likewise.
40288         [C99-based standards] (INT_FAST16_MIN): Likewise.
40289         [C99-based standards] (INT_FAST16_MAX): Likewise.
40290         [C99-based standards] (INT_FAST32_MIN): Likewise.
40291         [C99-based standards] (INT_FAST32_MAX): Likewise.
40292         [C99-based standards] (INT_FAST64_MIN): Likewise.
40293         [C99-based standards] (INT_FAST64_MAX): Likewise.
40294         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40295         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40296         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40297         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40298         [C99-based standards] (INTPTR_MIN): Likewise.
40299         [C99-based standards] (INTPTR_MAX): Likewise.
40300         [C99-based standards] (UINTPTR_MAX): Likewise.
40301         [C99-based standards] (INTMAX_MIN): Likewise.
40302         [C99-based standards] (INTMAX_MAX): Likewise.
40303         [C99-based standards] (UINTMAX_MAX): Likewise.
40304         [C99-based standards] (PTRDIFF_MIN): Likewise.
40305         [C99-based standards] (PTRDIFF_MAX): Likewise.
40306         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40307         [C99-based standards] (SIZE_MAX): Likewise.
40308         [C99-based standards] (WCHAR_MAX): Likewise.
40309         [C99-based standards] (WINT_MAX): Likewise.
40310         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40311         constraint on value.
40312         [C99-based standards] (WCHAR_MIN): Likewise.
40313         [C99-based standards] (WINT_MIN): Likewise.
40314         [C99-based standards] (*_t): Allow.
40315         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40316         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40317         Include math.h-data and complex.h-data.  Remove all expectations
40318         of math.h and complex.h contents.
40319         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40320         at end of line.
40321         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40322         (struct tm): Expect tag.
40323         [C99-based-standards] (wcstof): Expect function.
40324         [C99-based-standards] (wcstold): Likewise.
40325         [C99-based-standards] (wcstoll): Likewise.
40326         [C99-based-standards] (wcstoull): Likewise.
40327         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40328         macro-int-constant.  Specify type.
40329         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40330         constraint on value.
40331         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40332         Specify type.
40333         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40334         Specify value.
40335         [ISO C standards]: Do not allow headers.
40336         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40337         wcs[abcdefghijklmnopqrstuvwxyz]*.
40338         [ISO C standards] (*_t): Do not allow.
40339         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40340         Expect function.
40341         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40342         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40343         Specify type.
40344         [ISO C standards]: Do not allow headers.
40345         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40346         is[abcdefghijklmnopqrstuvwxyz]*.
40347         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40348         to[abcdefghijklmnopqrstuvwxyz]*.
40349         [ISO C standards] (*_t): Do not allow.
40350         * conform/data/stdalign.h-data: New file.
40351         * conform/data/stdbool.h-data: Likewise.
40352         * conform/data/stdnoreturn.h-data: Likewise.
40354 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40356         [BZ #14815]
40357         * manual/filesys.texi (Directory Entries): Typo fix.
40358         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40360 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40362         * elf/elf.h (EM_AARCH64): New macro.
40363         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40364         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40365         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40366         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40367         (R_AARCH64_TLSDESC): Likewise.
40368         (NT_ARM_TLS): Likewise.
40369         (NT_ARM_HW_BREAK): Likewise.
40370         (NT_ARM_HW_WATCH): Likewise.
40372 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40374         [BZ #14811]
40375         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40376         (__ieee754_powl): Saturate nonzero exponents with absolute value
40377         below 0x1p-79 to +/- 0x1p-79.
40378         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40379         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40380         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40381         nonzero exponents with absolute value below 0x1p-32 to +/-
40382         0x1p-32.
40383         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40384         (__ieee754_powl): Saturate nonzero exponents with absolute value
40385         below 0x1p-79 to +/- 0x1p-79.
40386         * math/libm-test.inc (pow_test): Add more tests.
40388 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40390         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40391         _dl_s390_cap_flags with kernel. Increase string length.
40392         (_dl_s390_platforms): Add z196 and zEC12.
40394 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40396         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40397         Change XOPEN21K to XOPEN2K.
40399 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40401         * string/memmove.c: Use memcpy when possible.
40403 2012-11-06  Andreas Jaeger  <aj@suse.de>
40405         * po/eo.po: Update from translation team.
40407 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40409         [BZ #14793]
40410         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40411         exponent and small x and y exponents, scale x or y up.  Increase
40412         by 2 the exponent used in scaling up.
40413         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40414         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40415         * math/libm-test.inc (fma_test): Add more tests.
40416         (fma_test_towardzero): Likewise.
40417         (fma_test_downward): Likewise.
40418         (fma_test_upward): Likewise.
40420 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40422         [BZ #14805]
40423         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40424         fenv_t *.
40426         [BZ #14801]
40427         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40428         namespace for names of struct fields.
40429         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40430         fenv_t fields.
40431         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40432         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40434 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40436         [BZ #3665]
40437         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40439 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40441         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40442         PTR_DEMANGLE.
40444         [BZ #5246]
40445         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40446         PTR_DEMANGLE.
40448 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40450         [BZ #14797]
40451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40452         definitely overflow as x * y not x * y + z.
40453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40454         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40455         * math/libm-test.inc (fma_test): Add more tests.
40456         (fma_test_towardzero): Likewise.
40457         (fma_test_downward): Likewise.
40458         (fma_test_upward): Likewise.
40460 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40462         [BZ #157]
40464         * include/stub-tag.h: Remove file.
40465         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40466         '#include' of it.
40467         * manual/maint.texi (Porting): Don't reference it.
40468         * Makerules ($(objpfx)stubs): Likewise.
40469         * dirent/closedir.c: Don't include <stub-tag.h>.
40470         * dirent/dirfd.c: Likewise.
40471         * dirent/fdopendir.c: Likewise.
40472         * dirent/getdents.c: Likewise.
40473         * dirent/getdents64.c: Likewise.
40474         * dirent/opendir.c: Likewise.
40475         * dirent/readdir.c: Likewise.
40476         * dirent/readdir64.c: Likewise.
40477         * dirent/readdir64_r.c: Likewise.
40478         * dirent/readdir_r.c: Likewise.
40479         * dirent/rewinddir.c: Likewise.
40480         * dirent/seekdir.c: Likewise.
40481         * dirent/telldir.c: Likewise.
40482         * gmon/profil.c: Likewise.
40483         * grp/setgroups.c: Likewise.
40484         * inet/if_index.c: Likewise.
40485         * io/access.c: Likewise.
40486         * io/chdir.c: Likewise.
40487         * io/chmod.c: Likewise.
40488         * io/chown.c: Likewise.
40489         * io/close.c: Likewise.
40490         * io/dup.c: Likewise.
40491         * io/dup2.c: Likewise.
40492         * io/dup3.c: Likewise.
40493         * io/euidaccess.c: Likewise.
40494         * io/faccessat.c: Likewise.
40495         * io/fchdir.c: Likewise.
40496         * io/fchmod.c: Likewise.
40497         * io/fchmodat.c: Likewise.
40498         * io/fchown.c: Likewise.
40499         * io/fchownat.c: Likewise.
40500         * io/fcntl.c: Likewise.
40501         * io/flock.c: Likewise.
40502         * io/fstatfs.c: Likewise.
40503         * io/fstatfs64.c: Likewise.
40504         * io/fstatvfs.c: Likewise.
40505         * io/fstatvfs64.c: Likewise.
40506         * io/futimens.c: Likewise.
40507         * io/fxstat.c: Likewise.
40508         * io/fxstat64.c: Likewise.
40509         * io/fxstatat.c: Likewise.
40510         * io/fxstatat64.c: Likewise.
40511         * io/getcwd.c: Likewise.
40512         * io/isatty.c: Likewise.
40513         * io/lchmod.c: Likewise.
40514         * io/lchown.c: Likewise.
40515         * io/link.c: Likewise.
40516         * io/linkat.c: Likewise.
40517         * io/lseek.c: Likewise.
40518         * io/lseek64.c: Likewise.
40519         * io/lxstat64.c: Likewise.
40520         * io/mkdir.c: Likewise.
40521         * io/mkdirat.c: Likewise.
40522         * io/mkfifo.c: Likewise.
40523         * io/mkfifoat.c: Likewise.
40524         * io/open.c: Likewise.
40525         * io/open64.c: Likewise.
40526         * io/openat.c: Likewise.
40527         * io/openat64.c: Likewise.
40528         * io/pipe.c: Likewise.
40529         * io/pipe2.c: Likewise.
40530         * io/poll.c: Likewise.
40531         * io/posix_fadvise.c: Likewise.
40532         * io/posix_fadvise64.c: Likewise.
40533         * io/posix_fallocate.c: Likewise.
40534         * io/posix_fallocate64.c: Likewise.
40535         * io/read.c: Likewise.
40536         * io/readlink.c: Likewise.
40537         * io/readlinkat.c: Likewise.
40538         * io/rmdir.c: Likewise.
40539         * io/sendfile.c: Likewise.
40540         * io/sendfile64.c: Likewise.
40541         * io/statfs.c: Likewise.
40542         * io/statfs64.c: Likewise.
40543         * io/statvfs.c: Likewise.
40544         * io/statvfs64.c: Likewise.
40545         * io/symlink.c: Likewise.
40546         * io/symlinkat.c: Likewise.
40547         * io/ttyname.c: Likewise.
40548         * io/ttyname_r.c: Likewise.
40549         * io/umask.c: Likewise.
40550         * io/unlink.c: Likewise.
40551         * io/unlinkat.c: Likewise.
40552         * io/utime.c: Likewise.
40553         * io/utimensat.c: Likewise.
40554         * io/write.c: Likewise.
40555         * io/xmknod.c: Likewise.
40556         * io/xmknodat.c: Likewise.
40557         * io/xstat.c: Likewise.
40558         * io/xstat64.c: Likewise.
40559         * login/getpt.c: Likewise.
40560         * login/grantpt.c: Likewise.
40561         * login/unlockpt.c: Likewise.
40562         * math/e_acoshl.c: Likewise.
40563         * math/e_acosl.c: Likewise.
40564         * math/e_asinl.c: Likewise.
40565         * math/e_atan2l.c: Likewise.
40566         * math/e_atanhl.c: Likewise.
40567         * math/e_coshl.c: Likewise.
40568         * math/e_expl.c: Likewise.
40569         * math/e_fmodl.c: Likewise.
40570         * math/e_gammal_r.c: Likewise.
40571         * math/e_hypotl.c: Likewise.
40572         * math/e_j0l.c: Likewise.
40573         * math/e_j1l.c: Likewise.
40574         * math/e_jnl.c: Likewise.
40575         * math/e_lgammal_r.c: Likewise.
40576         * math/e_log10l.c: Likewise.
40577         * math/e_log2l.c: Likewise.
40578         * math/e_logl.c: Likewise.
40579         * math/e_powl.c: Likewise.
40580         * math/e_rem_pio2l.c: Likewise.
40581         * math/e_sinhl.c: Likewise.
40582         * math/e_sqrtl.c: Likewise.
40583         * math/fclrexcpt.c: Likewise.
40584         * math/fedisblxcpt.c: Likewise.
40585         * math/feenablxcpt.c: Likewise.
40586         * math/fegetenv.c: Likewise.
40587         * math/fegetexcept.c: Likewise.
40588         * math/fegetround.c: Likewise.
40589         * math/feholdexcpt.c: Likewise.
40590         * math/fesetenv.c: Likewise.
40591         * math/fesetround.c: Likewise.
40592         * math/feupdateenv.c: Likewise.
40593         * math/fgetexcptflg.c: Likewise.
40594         * math/fraiseexcpt.c: Likewise.
40595         * math/fsetexcptflg.c: Likewise.
40596         * math/ftestexcept.c: Likewise.
40597         * math/k_cosl.c: Likewise.
40598         * math/k_rem_pio2l.c: Likewise.
40599         * math/k_sinl.c: Likewise.
40600         * math/k_tanl.c: Likewise.
40601         * math/s_asinhl.c: Likewise.
40602         * math/s_atanl.c: Likewise.
40603         * math/s_cbrtl.c: Likewise.
40604         * math/s_erfl.c: Likewise.
40605         * math/s_expm1l.c: Likewise.
40606         * math/s_log1pl.c: Likewise.
40607         * math/s_tanhl.c: Likewise.
40608         * misc/acct.c: Likewise.
40609         * misc/brk.c: Likewise.
40610         * misc/chflags.c: Likewise.
40611         * misc/chroot.c: Likewise.
40612         * misc/fchflags.c: Likewise.
40613         * misc/fgetxattr.c: Likewise.
40614         * misc/flistxattr.c: Likewise.
40615         * misc/fremovexattr.c: Likewise.
40616         * misc/fsetxattr.c: Likewise.
40617         * misc/fsync.c: Likewise.
40618         * misc/ftruncate.c: Likewise.
40619         * misc/futimes.c: Likewise.
40620         * misc/futimesat.c: Likewise.
40621         * misc/getdomain.c: Likewise.
40622         * misc/getdtsz.c: Likewise.
40623         * misc/gethostid.c: Likewise.
40624         * misc/gethostname.c: Likewise.
40625         * misc/getloadavg.c: Likewise.
40626         * misc/getpagesize.c: Likewise.
40627         * misc/getsysstats.c: Likewise.
40628         * misc/getxattr.c: Likewise.
40629         * misc/gtty.c: Likewise.
40630         * misc/ioctl.c: Likewise.
40631         * misc/lgetxattr.c: Likewise.
40632         * misc/listxattr.c: Likewise.
40633         * misc/llistxattr.c: Likewise.
40634         * misc/lremovexattr.c: Likewise.
40635         * misc/lsetxattr.c: Likewise.
40636         * misc/lutimes.c: Likewise.
40637         * misc/madvise.c: Likewise.
40638         * misc/mincore.c: Likewise.
40639         * misc/mlock.c: Likewise.
40640         * misc/mlockall.c: Likewise.
40641         * misc/mmap.c: Likewise.
40642         * misc/mprotect.c: Likewise.
40643         * misc/msync.c: Likewise.
40644         * misc/munlock.c: Likewise.
40645         * misc/munlockall.c: Likewise.
40646         * misc/munmap.c: Likewise.
40647         * misc/preadv.c: Likewise.
40648         * misc/preadv64.c: Likewise.
40649         * misc/ptrace.c: Likewise.
40650         * misc/pwritev.c: Likewise.
40651         * misc/pwritev64.c: Likewise.
40652         * misc/readv.c: Likewise.
40653         * misc/reboot.c: Likewise.
40654         * misc/remap_file_pages.c: Likewise.
40655         * misc/removexattr.c: Likewise.
40656         * misc/revoke.c: Likewise.
40657         * misc/select.c: Likewise.
40658         * misc/setdomain.c: Likewise.
40659         * misc/setegid.c: Likewise.
40660         * misc/seteuid.c: Likewise.
40661         * misc/sethostid.c: Likewise.
40662         * misc/sethostname.c: Likewise.
40663         * misc/setregid.c: Likewise.
40664         * misc/setreuid.c: Likewise.
40665         * misc/setxattr.c: Likewise.
40666         * misc/sstk.c: Likewise.
40667         * misc/stty.c: Likewise.
40668         * misc/swapoff.c: Likewise.
40669         * misc/swapon.c: Likewise.
40670         * misc/sync.c: Likewise.
40671         * misc/syncfs.c: Likewise.
40672         * misc/syscall.c: Likewise.
40673         * misc/truncate.c: Likewise.
40674         * misc/ualarm.c: Likewise.
40675         * misc/usleep.c: Likewise.
40676         * misc/ustat.c: Likewise.
40677         * misc/utimes.c: Likewise.
40678         * misc/vhangup.c: Likewise.
40679         * misc/writev.c: Likewise.
40680         * posix/_exit.c: Likewise.
40681         * posix/alarm.c: Likewise.
40682         * posix/execve.c: Likewise.
40683         * posix/fexecve.c: Likewise.
40684         * posix/fork.c: Likewise.
40685         * posix/fpathconf.c: Likewise.
40686         * posix/getaddrinfo.c: Likewise.
40687         * posix/getegid.c: Likewise.
40688         * posix/geteuid.c: Likewise.
40689         * posix/getgid.c: Likewise.
40690         * posix/getgroups.c: Likewise.
40691         * posix/getlogin.c: Likewise.
40692         * posix/getlogin_r.c: Likewise.
40693         * posix/getpgid.c: Likewise.
40694         * posix/getpid.c: Likewise.
40695         * posix/getppid.c: Likewise.
40696         * posix/getresgid.c: Likewise.
40697         * posix/getresuid.c: Likewise.
40698         * posix/getsid.c: Likewise.
40699         * posix/getuid.c: Likewise.
40700         * posix/glob64.c: Likewise.
40701         * posix/nanosleep.c: Likewise.
40702         * posix/pathconf.c: Likewise.
40703         * posix/pause.c: Likewise.
40704         * posix/posix_madvise.c: Likewise.
40705         * posix/pread.c: Likewise.
40706         * posix/pread64.c: Likewise.
40707         * posix/pwrite.c: Likewise.
40708         * posix/pwrite64.c: Likewise.
40709         * posix/sched_getaffinity.c: Likewise.
40710         * posix/sched_getp.c: Likewise.
40711         * posix/sched_gets.c: Likewise.
40712         * posix/sched_primax.c: Likewise.
40713         * posix/sched_primin.c: Likewise.
40714         * posix/sched_rr_gi.c: Likewise.
40715         * posix/sched_setaffinity.c: Likewise.
40716         * posix/sched_setp.c: Likewise.
40717         * posix/sched_sets.c: Likewise.
40718         * posix/sched_yield.c: Likewise.
40719         * posix/setgid.c: Likewise.
40720         * posix/setlogin.c: Likewise.
40721         * posix/setpgid.c: Likewise.
40722         * posix/setresgid.c: Likewise.
40723         * posix/setresuid.c: Likewise.
40724         * posix/setsid.c: Likewise.
40725         * posix/setuid.c: Likewise.
40726         * posix/sleep.c: Likewise.
40727         * posix/spawni.c: Likewise.
40728         * posix/sysconf.c: Likewise.
40729         * posix/times.c: Likewise.
40730         * posix/wait.c: Likewise.
40731         * posix/wait3.c: Likewise.
40732         * posix/wait4.c: Likewise.
40733         * posix/waitpid.c: Likewise.
40734         * resolv/gai_sigqueue.c: Likewise.
40735         * resource/getpriority.c: Likewise.
40736         * resource/getrlimit.c: Likewise.
40737         * resource/getrusage.c: Likewise.
40738         * resource/nice.c: Likewise.
40739         * resource/setpriority.c: Likewise.
40740         * resource/setrlimit.c: Likewise.
40741         * resource/ulimit.c: Likewise.
40742         * rt/aio_cancel.c: Likewise.
40743         * rt/aio_fsync.c: Likewise.
40744         * rt/aio_read.c: Likewise.
40745         * rt/aio_sigqueue.c: Likewise.
40746         * rt/aio_suspend.c: Likewise.
40747         * rt/aio_write.c: Likewise.
40748         * rt/clock_getres.c: Likewise.
40749         * rt/clock_gettime.c: Likewise.
40750         * rt/clock_nanosleep.c: Likewise.
40751         * rt/clock_settime.c: Likewise.
40752         * rt/lio_listio.c: Likewise.
40753         * rt/mq_close.c: Likewise.
40754         * rt/mq_getattr.c: Likewise.
40755         * rt/mq_notify.c: Likewise.
40756         * rt/mq_open.c: Likewise.
40757         * rt/mq_receive.c: Likewise.
40758         * rt/mq_send.c: Likewise.
40759         * rt/mq_setattr.c: Likewise.
40760         * rt/mq_timedreceive.c: Likewise.
40761         * rt/mq_timedsend.c: Likewise.
40762         * rt/mq_unlink.c: Likewise.
40763         * rt/shm_open.c: Likewise.
40764         * rt/shm_unlink.c: Likewise.
40765         * rt/timer_create.c: Likewise.
40766         * rt/timer_delete.c: Likewise.
40767         * rt/timer_getoverr.c: Likewise.
40768         * rt/timer_gettime.c: Likewise.
40769         * rt/timer_settime.c: Likewise.
40770         * setjmp/__longjmp.c: Likewise.
40771         * setjmp/setjmp.c: Likewise.
40772         * signal/kill.c: Likewise.
40773         * signal/killpg.c: Likewise.
40774         * signal/raise.c: Likewise.
40775         * signal/sigaction.c: Likewise.
40776         * signal/sigaltstack.c: Likewise.
40777         * signal/sigblock.c: Likewise.
40778         * signal/sigignore.c: Likewise.
40779         * signal/sigintr.c: Likewise.
40780         * signal/signal.c: Likewise.
40781         * signal/sigpause.c: Likewise.
40782         * signal/sigpending.c: Likewise.
40783         * signal/sigqueue.c: Likewise.
40784         * signal/sigreturn.c: Likewise.
40785         * signal/sigset.c: Likewise.
40786         * signal/sigsetmask.c: Likewise.
40787         * signal/sigstack.c: Likewise.
40788         * signal/sigsuspend.c: Likewise.
40789         * signal/sigtimedwait.c: Likewise.
40790         * signal/sigvec.c: Likewise.
40791         * signal/sigwait.c: Likewise.
40792         * signal/sigwaitinfo.c: Likewise.
40793         * signal/sysv_signal.c: Likewise.
40794         * socket/accept.c: Likewise.
40795         * socket/accept4.c: Likewise.
40796         * socket/bind.c: Likewise.
40797         * socket/connect.c: Likewise.
40798         * socket/getpeername.c: Likewise.
40799         * socket/getsockname.c: Likewise.
40800         * socket/getsockopt.c: Likewise.
40801         * socket/isfdtype.c: Likewise.
40802         * socket/listen.c: Likewise.
40803         * socket/recv.c: Likewise.
40804         * socket/recvfrom.c: Likewise.
40805         * socket/recvmsg.c: Likewise.
40806         * socket/send.c: Likewise.
40807         * socket/sendmsg.c: Likewise.
40808         * socket/sendto.c: Likewise.
40809         * socket/setsockopt.c: Likewise.
40810         * socket/shutdown.c: Likewise.
40811         * socket/sockatmark.c: Likewise.
40812         * socket/socket.c: Likewise.
40813         * socket/socketpair.c: Likewise.
40814         * stdio-common/ctermid.c: Likewise.
40815         * stdio-common/cuserid.c: Likewise.
40816         * stdio-common/remove.c: Likewise.
40817         * stdio-common/rename.c: Likewise.
40818         * stdio-common/renameat.c: Likewise.
40819         * stdio-common/tempname.c: Likewise.
40820         * stdlib/getcontext.c: Likewise.
40821         * stdlib/makecontext.c: Likewise.
40822         * stdlib/setcontext.c: Likewise.
40823         * stdlib/swapcontext.c: Likewise.
40824         * stdlib/system.c: Likewise.
40825         * streams/fattach.c: Likewise.
40826         * streams/fdetach.c: Likewise.
40827         * streams/getmsg.c: Likewise.
40828         * streams/getpmsg.c: Likewise.
40829         * streams/putmsg.c: Likewise.
40830         * streams/putpmsg.c: Likewise.
40831         * sysdeps/unix/bsd/getpt.c: Likewise.
40832         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40833         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40834         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40836         Likewise.
40837         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40838         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40839         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40840         * sysvipc/msgctl.c: Likewise.
40841         * sysvipc/msgget.c: Likewise.
40842         * sysvipc/msgrcv.c: Likewise.
40843         * sysvipc/msgsnd.c: Likewise.
40844         * sysvipc/semctl.c: Likewise.
40845         * sysvipc/semget.c: Likewise.
40846         * sysvipc/semop.c: Likewise.
40847         * sysvipc/semtimedop.c: Likewise.
40848         * sysvipc/shmat.c: Likewise.
40849         * sysvipc/shmctl.c: Likewise.
40850         * sysvipc/shmdt.c: Likewise.
40851         * sysvipc/shmget.c: Likewise.
40852         * termios/tcdrain.c: Likewise.
40853         * termios/tcflow.c: Likewise.
40854         * termios/tcflush.c: Likewise.
40855         * termios/tcgetattr.c: Likewise.
40856         * termios/tcgetpgrp.c: Likewise.
40857         * termios/tcsendbrk.c: Likewise.
40858         * termios/tcsetattr.c: Likewise.
40859         * termios/tcsetpgrp.c: Likewise.
40860         * time/adjtime.c: Likewise.
40861         * time/clock.c: Likewise.
40862         * time/getitimer.c: Likewise.
40863         * time/gettimeofday.c: Likewise.
40864         * time/setitimer.c: Likewise.
40865         * time/settimeofday.c: Likewise.
40866         * time/stime.c: Likewise.
40867         * time/time.c: Likewise.
40869 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40871         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40872         /usr/old/bin.
40874         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40875         instead of spaces.
40876         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40878 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40880         [BZ #14796]
40881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40882         FE_TONEAREST before applying Dekker multiplication and Knuth
40883         addition.  Clear inexact exceptions and check for exact zero
40884         results afterwards.
40885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40886         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40887         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40888         * math/libm-test.inc (fma_test): Add more tests.
40889         (fma_test_towardzero): Likewise.
40890         (fma_test_downward): Likewise.
40891         (fma_test_upward): Likewise.
40892         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40893         function.
40894         (libc_fesetround): New macro.
40895         (libc_fesetroundf): Likewise.
40896         (libc_fesetroundl): Likewise.
40897         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40898         function.
40899         (libc_fesetround_387): Likewise.
40900         (libc_fesetroundf): New macro.
40901         (libc_fesetround): Likewise.
40902         (libc_fesetroundl): Likewise.
40903         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40904         function.
40905         (libc_fesetroundf): New macro.
40906         (libc_fesetround): Likewise.
40907         (libc_fesetroundl): Likewise.
40908         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40909         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40910         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40911         libm_hidden_ver.
40912         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40913         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40914         libm_hidden_def.
40915         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40916         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40917         libm_hidden_ver.
40918         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40919         libm_hidden_def.
40921         [BZ #3439]
40922         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40923         integer constant usable in #if and use that to give value to enum
40924         constant.
40925         (FE_DIVBYZERO): Likewise.
40926         (FE_UNDERFLOW): Likewise.
40927         (FE_OVERFLOW): Likewise.
40928         (FE_INVALID): Likewise.
40929         (FE_INVALID_SNAN): Likewise.
40930         (FE_INVALID_ISI): Likewise.
40931         (FE_INVALID_IDI): Likewise.
40932         (FE_INVALID_ZDZ): Likewise.
40933         (FE_INVALID_IMZ): Likewise.
40934         (FE_INVALID_COMPARE): Likewise.
40935         (FE_INVALID_SOFTWARE): Likewise.
40936         (FE_INVALID_SQRT): Likewise.
40937         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40938         (FE_TONEAREST): Likewise.
40939         (FE_TOWARDZERO): Likewise.
40940         (FE_UPWARD): Likewise.
40941         (FE_DOWNWARD): Likewise.
40942         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40943         (FE_DIVBYZERO): Likewise.
40944         (FE_OVERFLOW): Likewise.
40945         (FE_UNDERFLOW): Likewise.
40946         (FE_INEXACT): Likewise.
40947         (FE_TONEAREST): Likewise.
40948         (FE_DOWNWARD): Likewise.
40949         (FE_UPWARD): Likewise.
40950         (FE_TOWARDZERO): Likewise.
40951         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40952         (FE_UNDERFLOW): Likewise.
40953         (FE_OVERFLOW): Likewise.
40954         (FE_DIVBYZERO): Likewise.
40955         (FE_INVALID): Likewise.
40956         (FE_TONEAREST): Likewise.
40957         (FE_TOWARDZERO): Likewise.
40958         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40959         (FE_OVERFLOW): Likewise.
40960         (FE_UNDERFLOW): Likewise.
40961         (FE_DIVBYZERO): Likewise.
40962         (FE_INEXACT): Likewise.
40963         (FE_TONEAREST): Likewise.
40964         (FE_TOWARDZERO): Likewise.
40965         (FE_UPWARD): Likewise.
40966         (FE_DOWNWARD): Likewise.
40967         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40968         (FE_DIVBYZERO): Likewise.
40969         (FE_OVERFLOW): Likewise.
40970         (FE_UNDERFLOW): Likewise.
40971         (FE_INEXACT): Likewise.
40972         (FE_TONEAREST): Likewise.
40973         (FE_DOWNWARD): Likewise.
40974         (FE_UPWARD): Likewise.
40975         (FE_TOWARDZERO): Likewise.
40977 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40979         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40981 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40983         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40984         commands.  Quote $PWD.
40985         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40986         -x" by "export".
40987         (remove_newlines): Remove.
40989 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40991         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40992         * stdlib/stdlib.h (atof): Moved to ...
40993         * include/bits/stdlib-float.h: Here.  New file.
40994         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40995         * stdlib/bits/stdlib-float.h: New file.
40996         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40997         -mno-sse -mno-mmx.
40998         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40999         <xmmintrin.h>.
41001 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41003         * conform/conformtest.pl (@headers): Add fenv.h.
41004         * conform/data/fenv.h-data: New file.
41005         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41006         include of <math/fenv.h>.
41008         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41009         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41010         && !UNIX98].  Enables tests for XOPEN2K8.
41011         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41012         POSIX2008]: Likewise.
41014         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41015         (struct rusage): Do not expect type or its members.
41017         [BZ #3439]
41018         * math/math.h (FP_NAN): Define macro to integer constant usable in
41019         #if and use that to give value to enum constant.
41020         (FP_INFINITE): Likewise.
41021         (FP_ZERO): Likewise.
41022         (FP_SUBNORMAL): Likewise.
41023         (FP_NORMAL): Likewise.
41025 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41027         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41028         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41029         arguments.
41031 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41033         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41034         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41035         autoconf-time if not.
41036         * configure.in: Remove AC_PREREQ.
41038 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41040         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41041         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41042         of the internal implementation.
41044 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41046         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41047         except include of <misc/sys/syslog.h>.
41049 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41052         function returns with a NULL context exit with zero.
41054 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41056         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41058 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41060         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41061         (run_program_cmd): This.
41062         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41063         (tst_langinfo): New variable.  Use it.
41065 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41067         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41068         floating point opcodes.
41070 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41072         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41073         variable.
41075         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41077         * sysdeps/mach/hurd/powerpc: Remove directory.
41078         * sysdeps/mach/powerpc: Likewise.
41080 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41082         * scripts/check-local-headers.sh: Ignore c++ headers.
41084 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41086         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41087         __libc_cleanup_region_start argument.
41089 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41091         [BZ #14784]
41092         [BZ #14785]
41093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41094         x * y using scaling, not as x * y + z.
41095         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41096         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41097         * math/libm-test.inc (fma_test): Add more tests.
41098         (fma_test_towardzero): Likewise.
41099         (fma_test_downward): Likewise.
41100         (fma_test_upward): Likewise.
41102 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41104         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41106 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41108         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41109         New variable.
41111 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41113         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41115 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41118         Fix sort order.
41119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41120         Likewise.
41122 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41125         Fix the order of the list for glibc 2.17.
41126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41127         Likewise.
41129 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41133 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41135         [BZ #14610]
41136         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41137         for low part of x being zero before using __atanl (y).
41138         * math/libm-test.inc (atan2_test): Add another test.
41140         * manual/install.texi (Configuring and compiling): Document
41141         general use of test-wrapper and test-wrapper-env.
41142         * INSTALL: Regenerated.
41144         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41145         (__fma): Do not extract and scale down low bits on after-rounding
41146         systems when result rounded to normal precision would have normal
41147         exponent.
41148         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41149         (__fmal): Do not extract and scale down low bits on after-rounding
41150         systems when result rounded to normal precision would have normal
41151         exponent.
41152         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41153         (__fmal): Do not extract and scale down low bits on after-rounding
41154         systems when result rounded to normal precision would have normal
41155         exponent.
41156         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41157         macro.
41158         (fma_test): Add more tests.
41159         (fma_test_towardzero): Likewise.
41160         (fma_test_downward): Likewise.
41161         (fma_test_upward): Likewise.
41163 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41165         * sysdeps/i386/tininess.h: Renamed to ...
41166         * sysdeps/x86/tininess.h: This.
41167         * sysdeps/x86_64/tininess.h: Removed.
41169 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41171         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41172         input.  Use $(build-program-cmd).
41173         ($(objpfx)tst-array1-static.out): Likewise.
41174         ($(objpfx)tst-array2.out): Likewise.
41175         ($(objpfx)tst-array3.out): Likewise.
41176         ($(objpfx)tst-array4.out): Likewise.
41177         ($(objpfx)tst-array5.out): Likewise.
41178         ($(objpfx)tst-array5-static.out): Likewise.
41180 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41182         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41183         if defined.
41185         * nss/nsswitch.h (nss_interface_function): Provide new
41186         macro for use with NSS functions.
41187         * grp/initgroups.c: Use new macro.
41188         * nss/getXXbyYY.c: Likewise.
41189         * nss/getXXbyYY_r.c: Likewise.
41190         * nss/getXXent.c: Likewise.
41191         * nss/getXXent_r.c: Likewise.
41192         * sysdeps/posix/getaddrinfo.c: Likewise.
41194 2012-10-30  Andreas Jaeger  <aj@suse.de>
41196         * po/ru.po: Update Russion translation from translation project.
41198 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41200         [BZ #14152]
41201         [BZ #14783]
41202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41203         result and shift together with sticky bit instead of replicating
41204         round-to-nearest rounding.
41205         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41207         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41208         missing underflow exceptions.
41209         (fma_test_towardzero): Add more tests.
41210         (fma_test_downward): Likewise.
41211         (fma_test_upward): Likewise.
41213         [BZ #14047]
41214         * sysdeps/generic/tininess.h: New file.
41215         * sysdeps/i386/tininess.h: Likewise.
41216         * sysdeps/sh/tininess.h: Likewise.
41217         * sysdeps/x86_64/tininess.h: Likewise.
41218         * stdlib/tst-strtod-underflow.c: Likewise.
41219         * stdlib/tst-tininess.c: Likewise.
41220         * stdlib/strtod_l.c: Include <tininess.h>.
41221         (round_and_return): Do not set errno for exact underflow cases.
41222         Force an underflow exception when setting errno for underflow.
41223         Determine underflow based on rounding to normal precision if
41224         TININESS_AFTER_ROUNDING.
41225         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41226         ERANGE for exact underflow cases.
41227         * stdlib/Makefile (tests): Add tst-tininess and
41228         tst-strtod-underflow.
41229         ($(objpfx)tst-tininess): Use $(link-libm).
41230         ($(objpfx)tst-strtod-underflow): Likewise.
41232 2012-10-30  Andreas Jaeger  <aj@suse.de>
41234         [BZ#14767]
41235         * elf/Makefile (tests): Remove conditional for have-initfini-array
41236         since this is now always required and the variable does not exist
41237         anymore.
41238         (tests-static): Likewise.
41239         (modules-names): Likewise.
41241         * po/eo.po: Add Esperanto translation from translation project.
41243         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41244         merged with constructor/destructor.
41245         (init_array): Likewise.
41246         * elf/tst-array2dep.c (fini_array): Likewise.
41247         (init_array): Likewise.
41249 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41251         * manual/message.texi: Delete @cartouche tags.
41253 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41255         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41256         EOPNOTSUPP.
41257         * sysdeps/mach/hurd/fsync.c: Likewise.
41259         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41260         [_POSIX_REALTIME_SIGNALS]: Change condition to
41261         [_POSIX_REALTIME_SIGNALS > 0].
41263 2012-10-27  Andreas Jaeger  <aj@suse.de>
41265         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41266         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41267         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41268         [__WORDSIZE != 64]: Likewise.
41270 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41272         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41273         *  iconvdata/tst-tables.sh: Likewise.
41275 2012-10-25  David S. Miller  <davem@davemloft.net>
41277         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41278         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41279         of strtoull.
41281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41282         ifunc-impl-list.c
41283         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41284         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41285         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41286         file.
41288 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41290         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41291         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41292         __getdirentries.
41294 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41295             Jim Blandy  <jimb@codesourcery.com>
41297         * scripts/cross-test-ssh.sh: New file.
41298         * manual/install.texi (Configuring and compiling): Document use of
41299         cross-test-ssh.sh.
41300         * INSTALL: Regenerated.
41302 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41304         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41305         EOPNOTSUPP.
41307 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41309         * Makeconfig (run-program-prefix): Fix comment.
41311 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41312             Jim Blandy  <jimb@codesourcery.com>
41314         * Makeconfig (test-wrapper): New variable,
41315         (test-wrapper-env): Likewise.
41316         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41317         (run-built-tests): Define to yes.
41318         (run-program-prefix): Use $(test-wrapper).
41319         (built-program-cmd): Likewise.
41320         * Rules (make-test-out): Use $(test-wrapper-env) and
41321         $(host-built-program-cmd).
41322         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41323         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41324         tst-pathopt.sh.
41325         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41326         $(test-wrapper-env) to tst-rtld-load-self.sh.
41327         ($(objpfx)order2.out): Use $(test-wrapper).
41328         ($(objpfx)tst-initorder.out): Likewise.
41329         ($(objpfx)tst-initorder2.out): Likewise.
41330         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41331         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41332         (test_wrapper_env): New variable.  Use it to run ld.so.
41333         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41334         Use it to run ld.so.
41335         (test_wrapper_env): Likewise.
41336         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41337         $(test-wrapper) to run-iconv-test.sh.
41338         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41339         (ICONV): Use $test_wrapper.
41340         * posix/Makefile ($(objpfx)globtest.out): Pass
41341         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41342         globtest.sh, not $(run-program-prefix).
41343         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41344         (test_wrapper): Likewise.
41345         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41346         set together with run_via_rtld_prefix.
41347         (run_program_prefix): Define in terms of test_wrapper and
41348         run_via_rtld_prefix.
41350 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41352         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41353         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41354         Targets removed.
41356         [BZ #14743]
41357         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41358         Declare __clock_getres, __clock_gettime, __clock_settime,
41359         __clock_nanosleep, and __clock_getcpuclockid.
41360         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41361         Remove librt_hidden_def (clock_gettime).
41362         * sysdeps/unix/clock_gettime.c: Likewise.
41363         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41364         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41365         * rt/clock_getres.c: Define __clock_getres as an alias.
41366         * sysdeps/posix/clock_getres.c: Likewise.
41367         * rt/clock_settime.c: Define __clock_settime as an alias.
41368         * sysdeps/unix/clock_settime.c: Likewise.
41369         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41370         * sysdeps/unix/clock_nanosleep.c: Likewise.
41371         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41372         * rt/clock-compat.c: New file.
41373         * rt/Makefile (librt-routines): Add clock-compat and move
41374         $(clock-routines) to ...
41375         (routines): ... here, new variable.
41376         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41377         Don't add get_clockfreq here.
41378         * rt/Versions (libc: GLIBC_2.17): New version set.
41379         Add clock_* symbols here.
41380         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41381         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41382         (GLIBC_2.17): Add clock_* symbols.
41383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41385         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41387         Likewise.
41388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41389         Likewise.
41390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41394         * NEWS: Mention the move.
41396         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41397         Use __open, __read, __close rather than their public counterparts.
41398         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41399         (__get_clockfreq_via_cpuinfo): Likewise.
41400         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41401         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41403         * config.h.in (HAVE_IFUNC): New #undef.
41404         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41405         was successful.
41406         * configure: Regenerated.
41408 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41410         * configure.in: Move READELF check to start of file.
41411         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41412         libc_cv_asm_gnu_indirect_function in the process.
41413         * configure: Regenerated.
41415 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41417         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41418         send the output to /dev/null.
41419         (libc_cv_cc_with_libunwind): Likewise.
41420         (libc_cv_as_noexecstack): Likewise.
41421         * configure: Regenerate.
41423 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41425         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41427         * posix/globtest.sh (TMPDIR): Do not set.
41428         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41429         (testout): Likewise.
41431 2012-10-24  Andreas Jaeger  <aj@suse.de>
41433         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41434         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41435         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41436         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41437         posix_fadvise64, posix_fallocate64.
41439         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41440         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41441         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41442         Likewise.
41443         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41444         Likewise.
41445         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41447         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41448         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41449         <bits/fcntl-linux.h>.
41450         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41453         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41454         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41455         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41456         [__WORDSIZE != 64]: Likewise.
41458 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41460         * Makeconfig (run-built-tests): New variable.
41461         * Rules [$(cross-compiling) = yes]: Change condition to
41462         [$(run-built-tests) = no].
41463         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41464         to [$(run-built-tests) = yes].
41465         * elf/Makefile [$(cross-compiling) = no]: Likewise
41466         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41467         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41468         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41469         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41470         * io/Makefile [$(cross-compiling) = no]: Likewise.
41471         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41472         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41473         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41474         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41475         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41476         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41477         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41478         * string/Makefile [$(cross-compiling) = no]: Likewise.
41480         * posix/Makefile ($(objpfx)globtest.out): Pass
41481         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41482         $(rtld-installed-name).
41483         * posix/globtest.sh (elf_objpfx): Remove variable.
41484         (rtld_installed_name): Likewise.
41485         (library_path): Likewise.
41486         (run_program_prefix): New variable.  Use for running globtest
41487         binary.
41489 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41490             Joseph Myers  <joseph@codesourcery.com>
41492         * Makeconfig (host-built-program-cmd): New variable.
41493         * elf/Makefile (tst-stackguard1-ARGS): Use
41494         $(host-built-program-cmd).
41495         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41496         (tst-spawn-ARGS): Likewise.
41497         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41499 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41500             Jim Blandy  <jimb@codesourcery.com>
41502         * Makeconfig (run-via-rtld-prefix): New variable.
41503         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41504         (built-program-cmd): Likewise.
41506 2012-10-22  Andreas Jaeger  <aj@suse.de>
41508         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41509         __O_RSYNC if it exists, otherwise to O_SYNC.
41511 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41512             Joseph Myers  <joseph@codesourcery.com>
41514         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41515         /dev/null.
41516         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41517         from /dev/null
41518         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41519         /dev/null.
41521 2012-10-22  Andreas Jaeger  <aj@suse.de>
41523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41524         Define always.
41525         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41528         bits/fcntl-linux.h.
41530         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41531         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41534         to __O_LARGEFILE.
41535         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41536         to __O_LARGEFILE.
41538 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41539             Joseph Myers  <joseph@codesourcery.com>
41541         * config.make.in (NM): New variable.
41543 2012-10-21  Andreas Jaeger  <aj@suse.de>
41545         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41546         definitions and declarations that are provided by
41547         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41549 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41551         [BZ #14683]
41552         * elf/Makefile (tests-static): Add tst-leaks1-static.
41553         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41554         ($(objpfx)tst-leaks1-static): New rule.
41555         ($(objpfx)tst-leaks1-static-mem): Likewise.
41556         (tst-leaks1-static-ENV): New macro.
41557         * elf/dl-open.c (dl_open_worker): Check the main application
41558         only if SHARED is defined.
41559         * elf/tst-leaks1-static.c: New file.
41561 2012-10-20  Andreas Jaeger  <aj@suse.de>
41563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41564         generic values for Linux.
41565         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41566         and declarations that are provided by <bits/fcntl-linux.h> and
41567         include <bits/fcntl-linux.h>.
41568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41571 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41573         * io/fcntl.h: Move include of <bits/types.h> to the top and
41574         include it unconditionally.
41576 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41578         * wcsmbs/Makefile (tests-ifunc): New variable.
41579         (tests): Add $(tests-ifunc).
41580         * wcsmbs/test-wcschr-ifunc.c: New file.
41581         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41582         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41583         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41584         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41585         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41587         * string/Makefile (tests-ifunc): New variable.
41588         (tests): Add $(tests-ifunc).
41589         * string/test-memccpy.c (TEST_NAME): New macro.
41590         * string/test-memchr.c (TEST_NAME): Likewise.
41591         * string/test-memcmp.c (TEST_NAME): Likewise.
41592         * string/test-memcpy.c (TEST_NAME): Likewise.
41593         * string/test-memmem.c (TEST_NAME): Likewise.
41594         * string/test-memmove.c (TEST_NAME): Likewise.
41595         * string/test-memset.c (TEST_NAME): Likewise.
41596         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41597         * string/test-stpcpy.c (TEST_NAME): Likewise.
41598         * string/test-stpncpy.c (TEST_NAME): Likewise.
41599         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41600         * string/test-strcasestr.c (TEST_NAME): Likewise.
41601         * string/test-strcat.c (TEST_NAME): Likewise.
41602         * string/test-strchr.c (TEST_NAME): Likewise.
41603         * string/test-strcmp.c(TEST_NAME): Likewise.
41604         * string/test-strcpy.c (TEST_NAME): Likewise.
41605         * string/test-strcspn.c (TEST_NAME): Likewise.
41606         * string/test-strlen.c (TEST_NAME): Likewise.
41607         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41608         * string/test-strncmp.c (TEST_NAME): Likewise.
41609         * string/test-strncpy.c (TEST_NAME): Likewise.
41610         * string/test-strnlen.c (TEST_NAME): Likewise.
41611         * string/test-strpbrk.c (TEST_NAME): Likewise.
41612         * string/test-strrchr.c (TEST_NAME): Likewise.
41613         * string/test-strspn.c (TEST_NAME): Likewise.
41614         * string/test-strstr.c (TEST_NAME): Likewise.
41615         * string/test-bcopy-ifunc.c: New file.
41616         * string/test-bzero-ifunc.c: Likewise.
41617         * string/test-memccpy-ifunc.c: Likewise.
41618         * string/test-memchr-ifunc.c: Likewise.
41619         * string/test-memcmp-ifunc.c: Likewise.
41620         * string/test-memcpy-ifunc.c: Likewise.
41621         * string/test-memmem-ifunc.c: Likewise.
41622         * string/test-memmove-ifunc.c: Likewise.
41623         * string/test-mempcpy-ifunc.c: Likewise.
41624         * string/test-memset-ifunc.c: Likewise.
41625         * string/test-rawmemchr-ifunc.c: Likewise.
41626         * string/test-stpcpy-ifunc.c: Likewise.
41627         * string/test-stpncpy-ifunc.c: Likewise.
41628         * string/test-strcasecmp-ifunc.c: Likewise.
41629         * string/test-strcasestr-ifunc.c: Likewise.
41630         * string/test-strcat-ifunc.c: Likewise.
41631         * string/test-strchr-ifunc.c: Likewise.
41632         * string/test-strchrnul-ifunc.c: Likewise.
41633         * string/test-strcmp-ifunc.c: Likewise.
41634         * string/test-strcpy-ifunc.c: Likewise.
41635         * string/test-strcspn-ifunc.c: Likewise.
41636         * string/test-strlen-ifunc.c: Likewise.
41637         * string/test-strncasecmp-ifunc.c: Likewise.
41638         * string/test-strncat-ifunc.c: Likewise.
41639         * string/test-strncmp-ifunc.c: Likewise.
41640         * string/test-strncpy-ifunc.c: Likewise.
41641         * string/test-strnlen-ifunc.c: Likewise.
41642         * string/test-strpbrk-ifunc.c: Likewise.
41643         * string/test-strrchr-ifunc.c: Likewise.
41644         * string/test-strspn-ifunc.c: Likewise.
41645         * string/test-strstr-ifunc.c: Likewise.
41647         * debug/Makefile (tests-ifunc): New variable.
41648         (tests): Add $(tests-ifunc).
41649         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41650         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41651         * debug/test-stpcpy_chk-ifunc.c: New file.
41652         * debug/test-strcpy_chk-ifunc.c: Likewise.
41654 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41656         [BZ #13601]
41657         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41658         header is not read in.
41660 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41662         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41663         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41664         directly.  Pass built executable to script as
41665         $(built-program-cmd).
41666         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41667         $testprogram without using LD_LIBRARY_PATH and $ldso.
41669         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41670         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41671         $(rtld-installed-name).
41672         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41673         (rtld_installed_name): Likewise.
41674         (library_path): Likewise.
41675         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41676         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41677         $(run-program-prefix) to tst-tables.sh.
41678         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41679         it to run tst-table-from and tst-table-to.
41680         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41681         Pass it to tst-table.sh.
41682         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41683         $(run-program-prefix) to tst-gettext.sh.
41684         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41685         tst-translit.sh.
41686         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41687         tst-gettext2.sh.
41688         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41689         to run tst-gettext.
41690         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41691         to run tst-gettext2.
41692         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41693         to run tst-translit.
41694         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41695         $(run-program-prefix) to tst-mtrace.sh.
41696         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41697         to run tst-mtrace.
41698         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41699         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41700         $(rtld-installed-name).
41701         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41702         (rtld_installed_name): Likewise.
41703         (run_program_prefix): New variable.  Use it to run wordexp-test.
41705         * Makeconfig (ARCH): Remove all definitions.
41706         (machine): Likewise.
41707         [ARCH]: Remove conditional code.
41708         [!objdir]: Give error.
41709         [!objdir] (objpfx): Remove.
41710         [!objdir] (common-objpfx): Likewise.
41711         [!objdir] (common-objdir): Likewise.
41712         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41713         AC_CONFIG_FILES call.
41714         * configure: Regenerated.
41716         [BZ #13888]
41717         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41718         or TMPDIR.
41719         (testout): Likewise.
41721         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41722         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41723         $(rtld-installed-name).
41724         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41725         (rtld_installed_name): Likwise.
41726         (runit): Remove function.
41727         (run_getconf): New variable,  Use it for running getconf binary.
41729 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41731         [BZ #14716]
41732         * string/test-memmem.c (check_result): New function.
41733         (do_one_test): Use it.
41734         (check1): New function.
41735         (test_main): Use it.
41737 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41739         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41741 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41743         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41744         (_G_LSEEK64): Likewise.
41745         (_G_MMAP64): Likewise.
41746         (_G_FSTAT64): Likewise.
41747         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41748         (_G_LSEEK64): Likewise.
41749         (_G_MMAP64): Likewise.
41750         (_G_FSTAT64): Likewise.
41751         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41752         unconditional.  Call __mmap64 directly.
41753         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41754         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41755         __lseek64 directly.
41756         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41757         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41758         __mmap64 directly.
41759         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41760         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41761         __lseek64 directly.
41762         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41763         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41764         __lseek64 directly.
41765         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41766         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41767         __lseek64 directly.
41768         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41769         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41770         __fxstat64 directly.
41771         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41772         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41773         unconditional.
41774         (freopen64) [!_G_OPEN64]: Remove conditional code.
41775         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41776         unconditional.
41777         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41778         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41779         unconditional.
41780         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41781         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41782         unconditional.
41783         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41784         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41785         unconditional.
41786         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41787         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41788         unconditional.
41789         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41790         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41791         unconditional.
41792         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41793         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41794         unconditional.
41795         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41797 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41799         [BZ #12140]
41800         * manual/memory.texi (Malloc Tunable Parameters): Add note
41801         about free list pointers overwriting some perturb bytes.
41802         Wording suggested by Roland McGrath.
41804 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41806         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41807         (lgamma_test): Likewise.
41808         (tgamma_test): Likewise.
41810 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41812         [BZ #14700]
41813         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41814         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41816 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41818         * NEWS: Mention BZ #14716.
41819         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41820         when removing AVAILABLE1_USES_J macro.
41822 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41824         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41825         (__bswap_64): __uint64_t for unsigned 64-bit int.
41827 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41829         * include/string.h (memmem): Declare libc hidden alias.
41830         * string/memmem.c (memmem): Define libc hidden alias.
41831         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41832         __read, __close instead of open, read, close.
41834 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41837         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41838         global and hidden.
41839         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41840         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41841         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41842         Likewise.
41843         (__rawmemchr_sse2): Likewise.
41844         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41845         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41846         (__strchr_sse2): Likewise.
41847         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41848         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41849         (__strcasecmp_sse2): Likewise.
41850         (__strncasecmp_sse2): Likewise.
41851         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41852         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41853         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41854         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41855         (__strrchr_sse2): Likewise.
41856         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41857         ifunc-impl-list.c.
41858         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41859         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41860         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41861         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41862         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41863         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41866         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41867         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41868         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41869         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41870         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41871         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41872         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41873         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41874         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41875         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41876         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41877         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41878         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41879         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41880         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41881         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41882         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41883         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41884         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41885         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41886         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41887         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41889         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41890         global and hidden.
41891         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41892         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41893         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41894         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41895         Likewise.
41896         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41897         Likewise.
41898         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41899         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41900         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41901         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41902         ifunc-impl-list.c.
41903         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41904         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41905         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41906         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41907         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41908         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41909         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41910         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41911         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41912         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41913         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41914         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41915         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41916         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41917         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41918         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41919         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41920         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41921         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41922         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41923         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41924         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41925         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41926         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41927         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41928         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41929         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41930         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41931         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41932         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41933         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41934         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41935         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41936         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41937         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41938         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41939         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41940         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41941         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41942         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41943         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41945         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41946         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41947         * include/ifunc-impl-list.h: New file.
41948         * misc/ifunc-impl-list.c: Likewise.
41949         * misc/Makefile (routines): Add ifunc-impl-list.
41950         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41951         * string/test-string.h: Include <ifunc-impl-list.h>.
41952         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41953         TEST_NAME]: New variables.
41954         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41955         are defined.
41956         (test_init): Call __libc_ifunc_impl_list to initialize
41957         func_list if TEST_IFUNC and TEST_NAME are defined.
41959         * string/Makefile (strop-tests): Add bcopy and bzero.
41960         * string/test-bcopy.c: New file.
41961         * string/test-bzero.c: Likewise.
41962         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41963         defined.
41964         * string/test-memset.c: Support bzero test if TEST_BZERO is
41965         defined.
41966         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41967         __libc_memmove.
41968         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41969         __libc_memset.
41970         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41971         of memset.
41973 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41975         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41976         * configure: Regenerated.
41978         * Makeconfig (+link-static-before-libc): Don't include
41979         $(link-static-libc).
41981         * libio/libio.h (_IO_pos_t): Remove.
41983 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41985         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41986         McGrath.
41988 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41990         * crypt/crypt-entry.c: Include fips-private.h.
41991         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41992         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41993         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41994         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41996 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41998         * crypt/crypt-private.h: Include stdbool.h.
41999         (_ufc_setup_salt_r): Return bool.
42000         * crypt/crypt-entry.c: Include errno.h.
42001         (__crypt_r): Return NULL with EINVAL for bad salt.
42002         * crypt/crypt_util.c (bad_for_salt): New.
42003         (_ufc_setup_salt_r): Check that salt is long enough and within
42004         the specified alphabet.
42005         * crypt/badsalttest.c: New file.
42006         * crypt/Makefile (tests): Add it.
42007         ($(objpfx)badsalttest): New.
42009 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42011         * NEWS: Add entry for BZ #14602.
42013 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42015         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42016         type-generic.
42017         * math/libm-test.inc: Update comment listing what functions and
42018         macros are tested.
42019         (isgreater_test): New function.
42020         (isgreaterequal_test): Likewise.
42021         (isless_test): Likewise.
42022         (islessequal_test): Likewise.
42023         (islessgreater_test): Likewise.
42024         (isunordered_test): Likewise.
42025         (main): Call the new functions.
42027 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42029         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42030         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42031         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42032         * sysdeps/i386/configure: Regenerated.
42033         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42034         * sysdeps/mach/configure: Regenerated.
42035         * sysdeps/mach/hurd/configure: Regenerated.
42036         * sysdeps/powerpc/configure: Regenerated.
42037         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42038         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42039         * sysdeps/s390/s390-32/configure: Regenerated.
42040         * sysdeps/s390/s390-64/configure: Regenerated.
42041         * sysdeps/sh/configure: Regenerated.
42042         * sysdeps/sparc/configure: Regenerated.
42043         * sysdeps/unix/sysv/linux/configure: Regenerated.
42044         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42045         * sysdeps/x86_64/configure: Regenerated.
42047         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42048         defined.  Don't check if MAP is NULL.
42050 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42052         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42053         (_G_stat64): Likewise.
42054         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42055         (_G_stat64): Likewise.
42056         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42057         instead of struct _G_stat64.
42058         * libio/fileops.c (mmap_remap_check): Likewise.
42059         (decide_maybe_mmap): Likewise.
42060         (_IO_new_file_seekoff): Likewise.
42061         (_IO_file_stat): Likewise.
42062         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42063         _G_off64_t.
42064         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42065         instead of struct _G_stat64.
42066         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42068 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42070         [BZ #14602]
42071         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42072         Replace with ...
42073         (CHECK_EOL): New macro.
42074         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42075         CHECK_EOL.
42076         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42077         Replace with CHECK_EOL.
42078         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42079         Replace with CHECK_EOL.
42081 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42083         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42084         type-generic.
42085         * math/libm-test.inc: Update comment listing what functions and
42086         macros are tested.
42087         (finite_test): New function.
42088         (isinf_test): Likewise.
42089         (isnan_test): Likewise.
42090         (fpclassify_test): Test subnormal input.
42091         (isfinite_test): Likewise.
42092         (isnormal_test): Likewise.
42093         (main): Call the new functions.
42095 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42097         [BZ #14660]
42098         * Makerules (%.dynsym): Force C locale when running
42099         $(OBJDUMP) --dynamic-syms.
42101 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42103         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42104         <stdint.h>.
42106 2012-10-06  David S. Miller  <davem@davemloft.net>
42108         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42109         upper 32-bits of the length value in %o2 since we use branch-on-register
42110         tests which consider the entire 64-bit register.
42112 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42114         * string/test-strstr.c (check2): Add a test for page boundary.
42116 2012-10-05  David S. Miller  <davem@davemloft.net>
42118         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42119         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42120         file.
42121         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42122         sysdep_routines.
42123         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42124         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42125         and bzero when HWCAP_SPARC_CRYPTO is present.
42127 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42129         [BZ #14602]
42130         * string/test-strstr.c (check2): New function.
42131         (test_main): Call check2.
42133         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42134         and bug-strchr1.
42135         * string/bug-strcasestr1.c (do_test): Moved to ...
42136         * string/test-strcasestr.c (check1): Here.  New function.
42137         (do_one_test): Break out result checking code into ...
42138         (check_result): This.  New function.
42139         (do_one_test): Call check_result.
42140         (test_main): Call check1.
42141         * string/bug-strchr1.c (do_test): Moved to ...
42142         * string/test-strchr.c (check1): Here.  New function.
42143         (do_one_test): Break out result checking code into ...
42144         (check_result): This.  New function.
42145         (do_one_test): Call check_result.
42146         (test_main): Call check1.
42147         * string/bug-strstr1.c (main): Moved to ...
42148         * string/test-strstr.c (check1): Here.  New function.
42149         (do_one_test): Break out result checking code into ...
42150         (check_result): This.  New function.
42151         (do_one_test): Call check_result.
42152         (test_main): Call check1.
42153         * string/bug-strcasestr1.c: Removed.
42154         * string/bug-strchr1.c: Likewise.
42155         * string/bug-strstr1.c: Likewise.
42157         * elf/Makefile (dl-routines): Add hwcaps.
42158         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42159         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42160         (_dl_important_hwcaps): Moved to ...
42161         * elf/dl-hwcaps.c: Here.  New file.
42162         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42164         [BZ #14557]
42165         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42166         if IS_IN_rtld isn't defined.
42168         * elf/dl-support.c (_dl_sysinfo_map): New.
42169         Include "get-dynamic-info.h" and "setup-vdso.h".
42170         (_dl_non_dynamic_init): Call setup_vdso.
42171         * elf/dynamic-link.h: Don't include <assert.h>.
42172         (elf_get_dynamic_info): Moved to ...
42173         * elf/get-dynamic-info.h: Here.  New file.
42174         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42175         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42176         * elf/setup-vdso.h: Here.  New file.
42177         * elf/rtld.c: Include "setup-vdso.h".
42178         (dl_main): Call setup_vdso.
42180 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42182         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42183         creal in comment listing functions tested.  List finite, isinf,
42184         isnan, isless, islessequal, isgreater, isgreaterequal,
42185         islessgreater, isunordered, lgamma_r and pow10 as functions and
42186         macros not tested.  Mention which functions not tested are aliases
42187         for other functions.  Fix typo.  Note that signs of NaNs are not
42188         tested.
42190         * scripts/config.guess: Update from config.git.
42191         * scripts/config.sub: Likewise.
42193 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42195         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42196         * misc/madvise.c (madvise): Renamed to __madvise.
42197         Make madvise a weak alias.
42198         * include/sys/mman.h: Declare __madvise.
42199         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42200         * sysdeps/unix/syscalls.list
42201         (madvise): Make __madvise the strong name, and madvise a weak alias.
42202         * sysdeps/unix/sysv/linux/syscalls.list
42203         (madvise, mmap): Remove redundant entries.
42204         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42205         * malloc/malloc.c (mtrim): Likewise.
42206         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42208 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42210         * sysdeps/mach/hurd/dl-cache.c: File removed.
42211         * config.h.in (USE_LDCONFIG): New #undef.
42212         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42213         * configure: Regenerated.
42214         * elf/Makefile (dl-routines): Add dl-cache only under
42215         [$(use-ldconfig) = yes].
42216         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42217         cache on [USE_LDCONFIG].
42218         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42219         [USE_LDCONFIG].
42220         * elf/rtld.c (dl_main): Likewise.
42222 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42224         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42225         _SC_LEVEL4_CACHE_LINESIZE.
42227 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42229         * sysdeps/unix/bsd/confstr.h: File removed.
42231 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42233         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42234         sys/sdt-config.h.
42236 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42238         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42239         Make 'mapoff' field ElfW(Off) rather than off_t.
42241 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42243         * nscd/Makefile: Remove nscd-cflags and all its users.
42244         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42245         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42247         [BZ #10631]
42248         * malloc.c (malloc_printerr): Clarify error message.
42250 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42252         [BZ #14648]
42253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42254         Set bit_FMA_Usable if FMA is supported.
42255         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42256         macro.
42257         (bit_FMA4_Usable): Updated.
42258         (index_FMA_Usable): New macro.
42259         (CPUID_FMA): Likewise
42260         (HAS_FMA): Defined with bit_FMA_Usable.
42262 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42264         * bits/types.h (__swblk_t): Type removed.
42265         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42266         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42268         (__SWBLK_T_TYPE): Likewise.
42269         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42270         (__SWBLK_T_TYPE): Likewise.
42271         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42272         (__SWBLK_T_TYPE): Likewise.
42273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42274         (__SWBLK_T_TYPE): Likewise.
42276 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42277             Honza Horak <hhorak@redhat.com>
42279         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42280         (xdr_mapname): Use YPMAXMAP as maxsize.
42281         (xdr_peername): Use YPMAXPEER as maxsize.
42282         (xdr_keydat): Use YPAXRECORD as maxsize.
42283         (xdr_valdat): Use YPMAXRECORD as maxsize.
42285 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42287         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42289         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42290         * csu/init-first.c: ... here.
42291         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42292         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42293         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42294         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42295         * sysdeps/i386/init-first.c: File removed.
42296         * sysdeps/sh/init-first.c: File removed.
42298 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42300         [BZ #14645]
42301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42302         if x * y might underflow to zero and z is zero.
42303         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42304         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42305         * math/libm-test.inc (min_subnorm_value): New variable.
42306         (fma_test): Add more tests.
42307         (fma_test_towardzero): Likewise.
42308         (fma_test_downward): Likewise
42309         (fma_test_upward): Likewise.
42310         (initialize): Set min_subnorm_value.
42312 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42314         [BZ #14638]
42315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42316         0 + 0.
42317         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42318         mode for addition resulting in exact zero.
42319         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42320         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42321         exact 0 + 0.
42322         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42323         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42324         * math/libm-test.inc (fma_test): Add more tests.
42325         (fma_test_towardzero): New function.
42326         (fma_test_downward): Likewise.
42327         (fma_test_upward): Likewise.
42328         (main): Call the new functions.
42330 2012-09-28  David S. Miller  <davem@davemloft.net>
42332         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42334 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42336         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42337         instead of SIGALRM.
42339         * sysdeps/gnu/_G_config.h: Moved to ...
42340         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42341         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42342         * sysdeps/generic/_G_config.h: ... here.
42344         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42346         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42348         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42349         Conditionalize target on [libnss_test1.so-version].
42351         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42353         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42354         (elfobjdir): Move out of conditionals.
42356         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42357         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42358         (__nss_lookup_function): Conditionalize label remove_from_tree on
42359         [!DO_STATIC_NSS || SHARED], matching its only use.
42361 2012-09-28  David S. Miller  <davem@davemloft.net>
42363         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42364         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42365         file.
42366         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42367         sysdep_routines.
42368         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42369         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42370         when HWCAP_SPARC_CRYPTO is present.
42372 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42374         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42376 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42378         [BZ #6530]
42379         * stdio-common/vfprintf.c (process_string_arg): Revert
42380         2000-07-22 change.
42382 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42384         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42385         for testcase.
42386         * stdio-common/tst-sprintf.c: Include <locale.h>
42387         (main): Test sprintf's handling of incomplete multibyte
42388         characters.
42390 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42392         * elf/dl-runtime.c (VERSYMIDX): Removed.
42393         * elf/dl-version.c (VERSYMIDX): Likewise.
42394         * elf/do-rel.h (VERSYMIDX): Likewise.
42395         (VALIDX): Likewise.
42396         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42397         * elf/rtld.c (VALIDX): Likewise.
42398         (ADDRIDX): Likewise.
42399         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42400         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42401         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42402         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42403         (VALIDX): Likewise.
42404         (ADDRIDX): Likewise.
42406 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42408         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42410 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42412         [BZ #11438]
42413         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42414         to global scope.
42415         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42416         addresses are in the same scope as 192.0.2/24.
42417         * posix/gai.conf: Document new scope table defaults.
42419 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42421         [BZ #5298]
42422         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42423         for ftell.  Compute offsets from write pointers instead.
42424         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42426 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42428         [BZ #14543]
42429         * libio/Makefile (tests): New test case tst-fseek.
42430         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42431         combination works in wide mode.
42432         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42433         state when the external buffer state changes.
42435 2012-09-27  David S. Miller  <davem@davemloft.net>
42437         [BZ #14376]
42438         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42439         pass reloc->r_addend in as the 'high' argument to
42440         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42444 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42446         * rt/tst-aio2.c: Include <pthread.h>.
42447         * rt/tst-aio3.c: Likewise.
42449 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42451         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42453 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42455         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42456         contents on [SHARED].
42458 2012-09-26  Marek Polacek  <polacek@redhat.com>
42460         [BZ #14530]
42461         [BZ #13741]
42462         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42463         for C++ and GCC <4.3 as well as for non GCC compilers.
42465 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42469 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42471         * Makefile.in (all, install): Declare with .PHONY.
42472         Reported by Michael Hope <michael.hope@linaro.org>.
42474 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42476         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42477         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42478         system header.
42479         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42480         Likewise.
42481         (sydep_routines): Add the new and the internal functions.
42482         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42483         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42485         (GLIBC_2.17): Add the new function.
42486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42487         (GLIBC_2.17): Likewise.
42488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42489         (GLIBC_2.17): Likewise.
42490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42491         (GLIBC_2.17): Likewise.
42492         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42494 2012-09-25  Alan Modra  <amodra@gmail.com>
42496         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42497         Add release barrier before setting once_control to say
42498         initialisation is done.  Add hints on lwarx.  Use macro in
42499         place of isync.
42500         (clear_once_control): Add release barrier.
42502 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42504         [BZ #13629]
42505         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42506         specially.
42507         * math/s_clog10.c (__clog10): Likewise.
42508         * math/s_clog10f.c (__clog10f): Likewise.
42509         * math/s_clog10l.c (__clog10l): Likewise.
42510         * math/s_clogf.c (__clogf): Likewise.
42511         * math/s_clogl.c (__clogl): Likewise.
42512         * math/Makefile (libm-calls): Add x2y2m1.
42513         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42514         (__x2y2m1): Likewise.
42515         (__x2y2m1l): Likewise.
42516         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42517         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42518         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42519         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42520         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42521         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42522         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42523         * sysdeps/i386/fpu/libm-test-ulps: Update.
42524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42526         [BZ #14621]
42527         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42528         int as type of variable DEPTH.
42529         (glob): Use size_t instead of int as type of variables NEWCOUNT
42530         and OLD_PATHC.
42532 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42534         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42535         Add s_sincosf-sse2.
42536         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42537         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42538         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42539         macros for using routine as __sincosf_ia32.
42540         Use macro for function declaration and weak_alias.
42541         * sysdeps/i386/fpu/libm-test-ulps: Update.
42543         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42546         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42547         subnormal argument.
42548         * math/s_cexpf.c (__cexpf): Likewise.
42549         * math/s_csinf.c (__csinf): Likewise.
42550         * math/s_csinhf.c (__csinhf): Likewise.
42551         * math/s_ctanf.c (__ctanf): Likewise.
42552         * math/s_ctanhf.c (__ctanhf): Likewise.
42553         * math/s_ccosh.c (__ccoshf): Likewise.
42554         * math/s_cexp.c (__cexpl): Likewise.
42555         * math/s_csin.c (__csin): Likewise.
42556         * math/s_csinh.c (__csinh): Likewise.
42557         * math/s_ctan.c (__ctan): Likewise.
42558         * math/s_ctanh.c (ctanh): Likewise.
42559         * math/s_ccoshl.c (__ccoshl): Likewise.
42560         * math/s_cexpl.c (__cexpl): Likewise.
42561         * math/s_csinl.c (__csinl): Likewise.
42562         * math/s_csinhl.c (__csinhl): Likewise.
42563         * math/s_ctanl.c (__ctanl): Likewise.
42564         * math/s_ctanhl.c (__ctanhl): Likewise.
42566 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42568         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42569         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42570         (_IO_off_t): Define to __off_t, not _G_off_t.
42571         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42572         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42573         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42574         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42575         type of __dummy and __dummy2 fields.
42576         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42577         (_G_ssize_t): Likewise.
42578         (_G_off_t): Likewise.
42579         (_G_pid_t): Likewise.
42580         (_G_uid_t): Likewise.
42581         (_G_wchar_t): Likewise.
42582         (_G_wint_t): Likewise.
42583         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42584         (_G_ssize_t): Likewise.
42585         (_G_off_t): Likewise.
42586         (_G_pid_t): Likewise.
42587         (_G_uid_t): Likewise.
42588         (_G_wchar_t): Likewise.
42589         (_G_wint_t): Likewise.
42590         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42591         (_G_ssize_t): Likewise.
42592         (_G_off_t): Likewise.
42593         (_G_pid_t): Likewise.
42594         (_G_uid_t): Likewise.
42595         (_G_wchar_t): Likewise.
42596         (_G_wint_t): Likewise.
42598 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42600         * malloc/arena.c: Include malloc-sysdep.h.
42601         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42602         is sufficient to shrink the heap or an unmap is needed.
42603         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42604         new function check_may_shrink_heap.
42605         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42606         new function check_may_shrink_heap.
42608 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42610         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42611         comments.
42613 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42615         * catgets/test-gencat.sh: Add "set -e".
42616         * elf/tst-pathopt.sh: Likewise.
42617         * grp/tst_fgetgrent.sh: Likewise.
42618         * iconvdata/run-iconv-test.sh: Likewise.
42619         * intl/tst-gettext.sh: Likewise.
42620         * intl/tst-gettext2.sh: Likewise.
42621         * intl/tst-gettext4.sh: Likewise.
42622         * intl/tst-gettext6.sh: Likewise.
42623         * intl/tst-translit.sh: Likewise.
42624         * io/ftwtest-sh: Likewise.
42625         * libio/test-freopen.sh: Likewise.
42626         * malloc/tst-mtrace.sh: Likewise.
42627         * posix/globtest.sh: Likewise.
42628         * posix/tst-getconf.sh: Likewise.
42629         * posix/wordexp-tst.sh: Likewise.
42630         * stdio-common/tst-printf.sh: Likewise.
42631         * stdio-common/tst-unbputc.sh: Likewise.
42632         * stdlib/tst-fmtmsg.sh: Likewise.
42633         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42634         * catgets/Makefile: Do not specify -e option when running
42635         testsuite shell scripts.
42636         * elf/Makefile: Likewise.
42637         * grp/Makefile: Likewise.
42638         * iconvdata/Makefile: Likewise.
42639         * intl/Makefile: Likewise.
42640         * io/Makefile: Likewise.
42641         * libio/Makefile: Likewise.
42642         * malloc/Makefile: Likewise.
42643         * posix/Makefile: Likewise.
42644         * stdio-common/Makefile: Likewise.
42645         * stdlib/Makefile: Likewise.
42646         * sysdeps/x86_64/Makefile: Likewise.
42648         * io/ftwtest-sh: Add copyright header.
42649         * posix/globtest.sh: Likewise.
42650         * posix/tst-getconf.sh: Likewise.
42651         * posix/wordexp-tst.sh: Likewise.
42652         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42654 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42656         [BZ #13679]
42657         * Makeconfig (+link): Defined as $(+link-static) if
42658         $(build-shared) isn't yes.
42659         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42660         isn't yes.
42661         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42663         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42665         [BZ #14562]
42666         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42667         new chunk size with MALLOC_ALIGN_MASK.
42669 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42671         [BZ #5044]
42672         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42673         <rounding-mode.h>.
42674         (__printf_fphex): Determine rounding using get_rounding_mode and
42675         round_away.
42676         * stdio-common/tst-printf-round.c (struct hex_test): New
42677         structure.
42678         (hex_tests): New variable.
42679         (test_hex_in_one_mode): New function.
42680         (do_test): Also run tests for hex float output.
42682 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42684         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42685         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42686         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42687         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42688         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42689         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42690         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42691         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42693 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42695         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42696         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42697         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42698         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42700 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42702         [BZ #14579]
42703         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42704         mode only.
42705         * elf/tst-rtld-load-self.sh: New test.
42706         * elf/Makefile: Run it.
42708 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42710         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42711         (tst-writev-ENV): Remove.
42712         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42714 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42716         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42718 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42720         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42721         unconditional.
42722         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42723         Likewise.
42724         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42725         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42726         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42727         Likewise.
42729 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42731         [BZ #14587]
42732         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42733         * config.make.in (have-cpp-asm-debuginfo): Removed.
42734         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42735         * configure: Regenerated.
42737 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42739         [BZ #5044]
42740         * stdio-common/printf_fp.c: Include <stdbool.h> and
42741         <rounding-mode.h>.
42742         (___printf_fp): Determine rounding using get_rounding_mode and
42743         round_away.
42744         * stdio-common/tst-printf-round.c: New file.
42745         * stdio-common/Makefile (tests): Add tst-printf-round.
42746         (link-libm): New variable.
42747         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42749 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42751         [BZ #14576]
42752         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42753         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42754         Likewise.
42755         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42756         Likewise.
42758 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42760         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42761         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42762         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42763         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42765 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42767         [BZ #14518]
42768         * include/rounding-mode.h: New file.
42769         * sysdeps/generic/get-rounding-mode.h: Likewise.
42770         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42771         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42772         (MAX_VALUE): New macro.
42773         (MIN_VALUE): Likewise.
42774         (overflow_value): New function.
42775         (underflow_value): Likewise.
42776         (round_and_return): Use overflow_value and underflow_value to
42777         determine return values in overflow and underflow cases.  Use
42778         round_away to determine rounding depending on rounding mode.
42779         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42780         determine return values in overflow and underflow cases.
42781         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42782         (struct test_results): New structure.
42783         (struct test): Use struct test_results to store expected results
42784         for all rounding modes.
42785         (TEST): Include expected results for all rounding modes.
42786         (test_in_one_mode): New function.
42787         (do_test): Use test_in_one_mode to compute and check results.
42788         Check results for all rounding modes.
42789         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42790         $(link-libm).
42792 2012-12-09  Allan McRae  <allan@archlinux.org>
42794         * sysdeps/i386/fpu/libm-test-ulps: Update
42796 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42798         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42799         (_G_int32_t): Likewise.
42800         (_G_uint16_t): Likewise.
42801         (_G_uint32_t): Likewise.
42802         (_G_HAVE_BOOL): Likewise.
42803         (_G_HAVE_ATEXIT): Likewise.
42804         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42805         (_G_HAVE_IO_FILE_OPEN): Likewise.
42806         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42807         (_G_int32_t): Likewise.
42808         (_G_uint16_t): Likewise.
42809         (_G_uint32_t): Likewise.
42810         (_G_HAVE_BOOL): Likewise.
42811         (_G_HAVE_ATEXIT): Likewise.
42812         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42813         (_G_HAVE_IO_FILE_OPEN): Likewise.
42814         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42815         (_G_int32_t): Likewise.
42816         (_G_uint16_t): Likewise.
42817         (_G_uint32_t): Likewise.
42818         (_G_HAVE_BOOL): Likewise.
42819         (_G_HAVE_ATEXIT): Likewise.
42820         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42821         (_G_HAVE_IO_FILE_OPEN): Likewise.
42823 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42825         * csu/libc-tls.c: Update copyright years.
42827 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42829         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42830         [!_G_USING_THUNKS]: Remove conditional code.
42831         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42832         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42834         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42835         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42836         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42837         (_G_VTABLE_LABEL_PREFIX): Likewise.
42838         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42839         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42840         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42841         (_G_VTABLE_LABEL_PREFIX): Likewise.
42842         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42843         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42844         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42845         (_G_VTABLE_LABEL_PREFIX): Likewise.
42846         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42848 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42850         * libio/Makefile: Include ../Makeconfig before tests.
42851         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42852         only if $(build-shared) is yes.
42854         * iconv/gconv_db.c: Update copyright years.
42856 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42858         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42859         unwind info if defined PIC. Fix special cases description.
42860         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42862         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42863         DP_HI_MASK entry.
42864         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42866 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42868         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42870         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42871         is NULL.
42873         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42874         (LDLIBS-tst-chk4): This.
42875         (LDFLAGS-tst-chk5): Renamed to ...
42876         (LDLIBS-tst-chk5): This.
42877         (LDFLAGS-tst-chk6): Renamed to ...
42878         (LDLIBS-tst-chk6): This.
42879         (LDFLAGS-tst-lfschk4): Renamed to ...
42880         (LDLIBS-tst-lfschk4): This.
42881         (LDFLAGS-tst-lfschk5): Renamed to ...
42882         (LDLIBS-tst-lfschk5): This.
42883         (LDFLAGS-tst-lfschk6): Renamed to ...
42884         (LDLIBS-tst-lfschk6): This.
42886         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42887         on $(common-objpfx)soversions.mk.
42889 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42891         [BZ #10014]
42892         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42893         example host name.
42895 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42897         * malloc/arena.c (arena_get_retry): New function that gets
42898         another arena for the caller to try its request on.
42899         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42900         current arena cannot fulfill the request.
42901         (__libc_memalign): Likewise.
42902         (__libc_memalign): Likewise.
42903         (__libc_pvalloc): Likewise.
42904         (__libc_calloc): Likewise.
42906 2012-09-05  John Tobey  <john.tobey@gmail.com>
42908         [BZ #13542]
42909         * manual/arith.texi (Operations on Complex): Fix description
42910         of carg branch cut.
42912 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42914         [BZ #10014]
42915         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42916         host name.
42918         [BZ #10038]
42919         * manual/memory.texi (Memory): Make order of menu items match
42920         order of sections.
42922 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42924         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42925         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42926         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42928 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42930         * csu/libc-tls.c (static_dtv): Renamed to ...
42931         (_dl_static_dtv): This.  Make it global.
42932         (_dl_initial_dtv): Removed.
42933         (__libc_setup_tls): Updated.
42934         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42935         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42936         DL_INITIAL_DTV.
42938 2012-09-06  Petr Machata  <pmachata@redhat.com>
42940         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42941         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42942         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42943         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42945 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42947         [BZ #14545]
42948         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42949         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42950         freeing dtv[-1].
42952 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42954         [BZ #14544]
42955         * Makeconfig (link-static-before-libc): Replace $(+prector)
42956         with $(+prectorT).
42957         (link-static-after-libc): Replace $(+postctor) with
42958         $(+postctorT).
42959         (link-bounded): Replace $(+prector)/$(+postctor) with
42960         $(+prectorT)/$(+postctorT).
42961         (+prectorT): New macro.
42962         (+postctorT): Likewise.
42964 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42966         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42967         (round_str): Handle values above the maximum for IBM long double
42968         as inexact.
42969         * stdlib/tst-strtod-round.c (tests): Regenerated.
42971 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42973         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42974         assembler flag.
42975         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42976         zarch_nohighgprs around the zarch optimized routines.
42977         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42978         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42980         for zarch.
42982 2012-09-05  David S. Miller  <davem@davemloft.net>
42984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42986         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42987         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42988         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42989         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42990         entries.
42992 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42994         * malloc/arena.c: Fold copyright years.
42995         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42997 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42999         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43001 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43003         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43005 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43007         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43008         change internal state upon failure.
43010 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43012         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43013         * malloc/memusage.c (mmap): Likewise.
43014         (mmap64, mremap): Likewise.  Adjust name in comment.
43016 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43018         * libio/fileops.c: Fix typos in comments.
43019         * libio/oldfileops.c: Likewise.
43020         * libio/wfileops.c: Likewise.
43022 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43024         [BZ #1349]
43025         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43026         (tst-malloc-usable-ENV): Set environment for test case.
43027         * malloc/hooks.c (malloc_check_get_size): New function to get
43028         requested size.
43029         * malloc/malloc.c (musable): Use malloc_check_get_size.
43030         * malloc/tst-malloc-usable.c: New test case.
43032 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43034         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43036 2012-09-05  Allan McRae  <allan@archlinux.org>
43038         [BZ #13966]
43039         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43040         determine header location.
43041         * configure: Regenerated.
43043 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43045         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43046         float format.
43047         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43048         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43049         format.
43050         (test): Regenerate.
43052 2012-09-04  David S. Miller  <davem@davemloft.net>
43054         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43055         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43056         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43058 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43060         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43061         failures.
43063         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43065 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43067         [BZ #9914]
43068         * libio/iogetdelim.c: Include <limits.h>.
43069         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43070         + len + 1 would overflow.
43072 2012-09-03  Andreas Jaeger  <aj@suse.de>
43074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43075         * sysdeps/i386/fpu/libm-test-ulps: Update.
43077 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43079         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43080         Add s_sinf-sse2, s_conf-sse2.
43082         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43083         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43084         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43085         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43087         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43088         for using routine as __sinf_ia32.
43089         Use macro for function declaration and weak_alias.
43090         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43091         for using routine as __cosf_ia32.
43092         Use macro for function declaration and weak_alias.
43094         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43095         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43097         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43098         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43101         * math/libm-test.inc (cos_test): Add more test cases.
43102         (sin_test): Likewise.
43103         (sincos_test): Likewise.
43105 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43107         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43108         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43109         hidden.
43110         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43112 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43114         [BZ #14538]
43115         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43116         first element of the GOT.
43117         (elf_machine_load_address): Return the difference between
43118         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43120 2012-09-01  Allan McRae  <allan@archlinux.org>
43122         [BZ #13412]
43123         * configure.in (AWK): Require gawk version 3.0 or later.
43124         * configure: Regenerated.
43126 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43128         * sysdeps/unix/sysv/linux/kernel-features.h
43129         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43130         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43131         [__NR_clock_getres]: Make code unconditional.
43132         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43133         (clock_getcpuclockid): Remove code left unreachable by removal of
43134         conditionals.
43135         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43136         code unconditional.
43137         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43138         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43139         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43140         Make code unconditional.
43141         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43142         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43143         * sysdeps/unix/sysv/linux/clock_settime.c
43144         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43145         conditional code.
43146         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43147         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43149 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43151         [BZ #14476]
43152         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43153         scripts/test-installation.pl.
43155         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43156         and $ld_so_version if it is set.
43158 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43160         [BZ #14516]
43161         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43162         failure if reading from procfs failed.
43163         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43165 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43167         * sysdeps/unix/sysv/linux/kernel-features.h
43168         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43169         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43170         Remove conditional code.
43171         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43172         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43173         Remove conditional code.
43174         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43175         * sysdeps/unix/sysv/linux/i386/fxstat.c
43176         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43177         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43178         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43179         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43180         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43181         * sysdeps/unix/sysv/linux/i386/lxstat.c
43182         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43183         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43184         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43185         Remove conditional code.
43186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43187         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43188         Remove conditional code.
43189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43190         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43191         <kernel-features.h>.
43192         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43193         Remove.
43194         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43195         Remove conditional code.
43196         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43197         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43198         Remove conditional.
43200 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43202         [BZ #5400]
43203         * NEWS: Add fixed bug number.
43205 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43207         [BZ #14519]
43208         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43209         underflowing exponent in case of negative sign.
43210         * stdlib/tst-strtod-round-data: Add more tests.
43211         * stdlib/tst-strtod-round.c (tests): Regenerated.
43213         [BZ #3479]
43214         * stdlib/strtod_l.c (NDIG): Remove.
43215         (HEXNDIG): Likewise.
43216         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43217         smallest representable value.
43218         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43219         lie within an exact representation of 1/2 ulp of the result.
43220         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43221         unconditionally.
43222         (TENS_P9_IDX): Define unconditionally.
43223         (TENS_P9_SIZE): Likewise.
43224         (TENS_P10_IDX): Likewise.
43225         (TENS_P10_SIZE): Likewise.
43226         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43227         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43228         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43229         entries for 10^2^13 and 10^2^14.
43230         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43231         (TENS_P13_IDX): Define.
43232         (TENS_P13_SIZE): Likewise.
43233         (TENS_P14_IDX): Likewise.
43234         (TENS_P14_SIZE): Likewise.
43235         (_fpioconst_pow10): Change array size to
43236         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43237         unconditional.
43238         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43239         1024]: Add entries for 10^2^13 and 10^2^14.
43240         [LAST_POW10 > _LAST_POW10]: Remove #error.
43241         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43242         (_fpioconst_pow10): Change array size to
43243         FPIOCONST_POW10_ARRAY_SIZE.
43244         * stdlib/gen-fpioconst.c: New file.
43245         * stdlib/gen-tst-strtod-round.c: Likewise.
43246         * stdlib/tst-strtod-round-data: Likewise.
43247         * stdlib/tst-strtod-round.c: Likewise.
43248         * stdlib/Makefile (tests): Add tst-strtod-round.
43250         [BZ #14459]
43251         * stdlib/strtod_l.c: Include <stdint.h>.
43252         (NDEBUG): Do not define.
43253         (round_and_return): Change EXPONENT parameter to type intmax_t.
43254         Rearrange calculations to avoid internal overflow possibilities.
43255         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43256         Rearrange calculations to avoid internal overflow possibilities.
43257         Assert that number fits inside MPNSIZE limbs.
43258         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43259         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43260         calculations and add assertions to avoid internal overflow
43261         possibilities.  Add casts to avoid signed/unsigned operations.
43262         * stdlib/tst-strtod-overflow.c: New file.
43263         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43265 2012-08-25  Marek Polacek  <polacek@redhat.com>
43267         * time/time.h: Fix some typos in comments.
43269 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43271         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43272         * posix/tst-rfc3484-2.c: Likewise.
43273         * posix/tst-rfc3484-3.c: Likewise.
43275 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43277         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43278         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43280 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43282         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43283         #include of fxstatat64.c.
43285 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43287         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43288         * shadow/getspent_r.c: Likewise.
43289         * shadow/getspnam.c: Likewise.
43290         * shadow/getspnam_r.c: Likewise.
43291         * gshadow/getsgent.c: Likewise.
43292         * gshadow/getsgent_r.c: Likewise.
43293         * gshadow/getsgnam.c: Likewise.
43294         * gshadow/getsgnam_r.c: Likewise.
43295         * inet/getnetbyad.c: Likewise.
43296         * inet/getnetbyad_r.c: Likewise.
43297         * inet/getnetbynm.c: Likewise.
43298         * inet/getnetbynm_r.c: Likewise.
43299         * inet/getnetent.c: Likewise.
43300         * inet/getnetent_r.c: Likewise.
43301         * inet/getproto.c: Likewise.
43302         * inet/getproto_r.c: Likewise.
43303         * inet/getprtent.c: Likewise.
43304         * inet/getprtent_r.c: Likewise.
43305         * inet/getprtname.c: Likewise.
43306         * inet/getprtname_r.c: Likewise.
43307         * inet/getrpcbyname.c: Likewise.
43308         * inet/getrpcbyname_r.c: Likewise.
43309         * inet/getrpcbynumber.c: Likewise.
43310         * inet/getrpcbynumber_r.c: Likewise.
43311         * inet/getrpcent.c: Likewise.
43312         * inet/getrpcent_r.c: Likewise.
43313         * inet/getaliasent.c: Likewise.
43314         * inet/getaliasent_r.c: Likewise.
43315         * inet/getaliasname.c: Likewise.
43316         * inet/getaliasname_r.c: Likewise.
43317         * nscd/getgrgid_r.c: Likewise.
43318         * nscd/getgrnam_r.c: Likewise.
43319         * nscd/gethstbyad_r.c: Likewise.
43320         * nscd/gethstbynm3_r.c: Likewise.
43321         * nscd/getpwnam_r.c: Likewise.
43322         * nscd/getpwuid_r.c: Likewise.
43323         * nscd/getsrvbynm_r.c: Likewise.
43324         * nscd/getsrvbypt_r.c: Likewise.
43325         * nscd/gai.c: Likewise.
43327         * configure.in (build_nscd): New substituted variable, set
43328         by --disable-build-nscd and defaults to $use_nscd.
43329         * configure: Regenerated.
43330         * config.make.in (build-nscd): New substituted variable.
43331         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43332         Change conditional to require [$(build-nscd) = yes] as well.
43333         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43335         [BZ# 13696]
43336         * configure.in (use_nscd): New substituted variable, set by
43337         --disable-nscd.  If enabled, define USE_NSCD.
43338         * configure: Regenerated.
43339         * config.h.in: Add USE_NSCD.
43340         * config.make.in (use-nscd): New substituted variable.
43341         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43342         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43343         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43344         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43345         (CFLAGS-getgrnam_r.c): Likewise.
43346         (CFLAGS-initgroups.c): Likewise.
43347         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43348         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43349         Variables removed.
43350         * inet/getnetgrent_r.c
43351         (nscd_setnetgrent): New function, broken out of ...
43352         (setnetgrent): ... here.  Call it.
43353         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43354         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43355         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43356         * nscd/Makefile (routines, aux): Move definitions after include of
43357         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43358         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43359         Conditionalize on [USE_NSCD].
43360         (is_nscd, nscd_init_cb): Likewise.
43361         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43362         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43363         * nss/nss_db/db-init.c: Likewise.
43364         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43365         [USE_NSCD].
43366         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43367         (make_request): Use it.
43368         (cache_valid_p): New function.
43369         (__check_pf): Use it.
43370         * NEWS: Add item for --disable-nscd.
43372 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43374         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43375         to support sed >= 4.2.1-20-ga9bf076.
43376         * configure: Regenerated.
43378 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43380         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43381         Conditionalize whole body on [IREL].
43383 2012-08-22  Jeff Law <law@redhat.com>
43385         [BZ #14505]
43386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43387         if the family is PF_UNSPEC.
43389 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43391         * Makerules (lib-version): Rename from V.
43392         (install-lib-nosubdir): Change V to lib-version.
43394 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43396         [BZ #14252]
43397         * powerpc32/power6/wcschr.c: New file.
43398         * powerpc32/power6/wcscpy.c: New file.
43399         * powerpc32/power6/wcsrchr.c: New file.
43400         * powerpc64/power6/wcschr.c: New file.
43401         * powerpc64/power6/wcscpy.c: New file.
43402         * powerpc64/power6/wcsrchr.c: New file.
43404 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43406         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43407         (two_way_short_needle): Use it.
43408         * string/strstr.c (AVAILABLE1_USES_J): Define.
43409         * string/strcasestr.c: Likewise.
43411         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43412         array references.
43413         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43415         [BZ #11607]
43416         * NEWS: Add an entry.
43417         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43418         define their defaults.
43419         (two_way_short_needle): Detect end-of-string on-the-fly.
43420         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43421         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43422         * string/bug-strcasestr1.c: New test.
43423         * string/Makefile: Run it.
43425 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43427         [BZ #11607]
43428         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43429         the first character.
43431 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43433         * csu/elf-init.c (__libc_csu_irel): Function removed.
43434         * csu/libc-start.c (apply_irel): New function.
43435         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43437 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43439         * sysdeps/unix/sysv/linux/kernel-features.h
43440         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43441         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43442         <kernel-features.h>.
43443         [__NR_fadvise64_64]: Make code unconditional.
43444         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43445         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43446         !__NR_fadvise64_64)]: Likewise.
43447         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43448         !__NR_fadvise64_64))]: Likewise.
43449         [__NR_fadvise64]: Make code unconditional.
43450         [!__NR_fadvise64]: Remove conditional code.
43451         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43452         <kernel-features.h>.
43453         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43454         unconditional.
43455         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43456         conditional code.
43457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43458         not include <kernel-features.h>.
43459         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43460         unconditional.
43461         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43462         conditional code.
43463         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43464         include <kernel-features.h>.
43465         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43466         unconditional.
43467         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43468         conditional code.
43470 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43472         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43473         slight instruction rearrangements per scrollpipe analysis.
43474         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43476 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43478         * manual/syslog.texi (syslog; vsyslog, closelog):
43479         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43480         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43482         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43483         DSOCAPS to match condition on defining it.
43485 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43487         * sysdeps/unix/sysv/linux/kernel-features.h
43488         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43490         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43491         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43493         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43494         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43496         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43497         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43499         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43500         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43502         * sysdeps/unix/sysv/linux/kernel-features.h
43503         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43504         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43505         unconditional.
43506         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43507         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43508         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43509         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43510         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43511         Make code unconditional.
43512         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43513         (__mmap64) [!__NR_mmap2]: Likewise.
43514         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43515         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43516         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43517         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43518         [__NR_mmap2]: Make code unconditional.
43519         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43520         (__mmap64) [!__NR_mmap2]: Likewise.
43522 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43524         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43526 2012-08-18  Andreas Jaeger  <aj@suse.de>
43528         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43530 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43532         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43533         * include/unistd.h (__have_sock_cloexec): Likewise.
43534         (__have_pipe2): Likewise.
43535         (__have_dup3): Likewise.
43537 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43539         [BZ #9685]
43540         * include/unistd.h (__have_pipe2): Change define into an extern int.
43541         (__have_dup3): Likewise.
43542         * socket/have_sock_cloexec.c: Include fcntl.h.
43543         (__have_pipe2): New variable.
43544         (__have_dup3): Likewise.
43546 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43548         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43550 2012-08-17  Marek Polacek  <polacek@redhat.com>
43552         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43553         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43555 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43557         * configure.in: Add AC_SUBST for sysheaders.
43558         * configure: Regenerated.
43559         * config.make.in (sysheaders): New substituted variable.
43561         * sysdeps/unix/mkfifo.c: Moved ...
43562         * sysdeps/posix/mkfifo.c: ... here.
43563         * sysdeps/unix/mkfifoat.c: Moved ...
43564         * sysdeps/posix/mkfifoat.c: ... here.
43566         * sysdeps/unix/utime.c: Moved ...
43567         * sysdeps/posix/utime.c: ... here.
43569         * sysdeps/unix/time.c: Moved ...
43570         * sysdeps/posix/time.c: ... here.
43571         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43572         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43574         * sysdeps/unix/nice.c: Moved ...
43575         * sysdeps/posix/nice.c: ... here.
43577         * sysdeps/unix/alarm.c: Moved ...
43578         * sysdeps/posix/alarm.c: ... here.
43580         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43582 2012-08-17  Jeff Law <law@redhat.com>
43584         * intl/Makefile (codeset_mo): New variable.
43585         ($(codeset_mo)): New target.
43586         (tst-codeset.out): Depend on that.  Remove explicit rule.
43587         (tst-gettext3.out, tst-gettext5.out): Likewise.
43588         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43589         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43590         * intl/tst-codeset.sh: Remove.
43591         * intl/tst-gettext3.sh: Likewise.
43592         * intl/tst-gettext5.sh: Likewise.
43594 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43596         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43597         * sysdeps/unix/syscalls.list: ... here.
43599         * sysdeps/posix/getaddrinfo.c
43600         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43601         (gaiconf_init, gaiconf_reload): Use them.
43602         [!_STATBUF_ST_NSEC]
43603         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43604         Define using time_t rather than struct timespec.
43606         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43607         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43608         Macros removed.
43609         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43610         [!NO_THREADS].
43611         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43612         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43613         Likewise.
43615         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43616         __libc_cleanup_push argument.
43618         * bits/param.h: New file.
43619         * misc/sys/param.h: New file.
43620         * include/sys/param.h: New file.
43621         * misc/Makefile (headers): Add bits/param.h.
43622         * sysdeps/generic/sys/param.h: File removed.
43623         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43624         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43625         * sysdeps/mach/hurd/bits/param.h: New file.
43626         * sysdeps/mach/hurd/sys/param.h: File removed.
43628         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43629         last change.
43631         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43632         [_IO_MTSAFE_IO].
43633         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43634         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43635         New macros.
43637         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43638         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43639         rather than -D_IO_MTSAFE_IO conditionally.
43640         * stdio-common/Makefile (CPPFLAGS): Likewise.
43641         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43642         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43643         Use $(libio-mtsafe).
43644         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43645         of -D_IO_MTSAFE_IO.
43646         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43647         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43648         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43649         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43650         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43651         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43652         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43653         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43654         (CFLAGS-fread_u_chk.c): Likewise.
43655         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43656         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43657         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43658         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43659         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43660         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43661         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43662         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43663         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43665         * libio/Makefile: Test [$(libc-reentrant) = yes]
43666         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43668         * Makeconfig
43669         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43670         * sysdeps/pthread/configure: File removed.
43671         * sysdeps/pthread/Makeconfig: New file.
43672         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43673         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43675 2012-08-16  Gary Benson  <gbenson@redhat.com>
43677         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43678         unmapping the first object in a namespace.
43680 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43682         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43683         (__internal_setnetgrent): ... this.  Add internal_function to
43684         definition.  Add libc_hidden_def.
43685         (setnetgrent): Update caller.
43686         (internal_endnetgrent): Renamed to ...
43687         (__internal_endnetgrent): ... this.  Add internal_function to
43688         definition.  Add libc_hidden_def.
43689         (endnetgrent): Update caller.
43690         (internal_getnetgrent_r): Renamed to ...
43691         (__internal_getnetgrent_r): ... this.  Add internal_function to
43692         definition.  Add libc_hidden_def.
43693         (__getnetgrent_r): Update caller.
43694         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43696 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43698         * stdlib/longlong.h: Update from GCC.
43700 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43702         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43703         on _QL, which is set by umul_ppmm but never used.
43704         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43705         variables, which are set by GMP macros but never used.
43706         * stdio-common/_itowa.c (_itowa): Likewise.
43707         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43708         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43710 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43712         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43713         struct La_sh_regs is not constant.
43714         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43715         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43716         and struct La_sparc64_regs are not constant.
43718 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43720         * sysdeps/unix/sysv/linux/kernel-features.h
43721         (__ASSUME_POSIX_TIMERS): Remove.
43722         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43723         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43724         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43725         Make code unconditional.
43726         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43727         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43728         Make code unconditional.
43729         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43730         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43731         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43732         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43733         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43734         Make code unconditional.
43735         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43736         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43737         (__libc_missing_posix_timers): Remove.
43739 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43741         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43742         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43744         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43746         * elf/dl-sym.c: Include <stdlib.h>.
43748         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43749         constants, which avoids warnings in 32-bit builds.
43751         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43752         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43754         * misc/lseek.c: File moved to ...
43755         * io/lseek.c: ... here.
43757         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43759         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43760         shifting LEN more than 31 bits at once.
43762 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43764         [BZ #14195]
43765         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43766         segmentation fault for a case of two empty input strings.
43767         * string/test-strncasecmp.c (check1): Renamed to...
43768         (bz12205): ...this.
43769         (bz14195): Add new testcase for two empty input strings and N > 0.
43770         (test_main): Call new testcase, adapt for renamed function.
43772 2012-08-15  Andreas Jaeger  <aj@suse.de>
43774         [BZ #14090]
43775         * crypt/md5test2.c: New test, based on test supplied by Serge
43776         Belyshev <belyshev@depni.sinp.msu.ru>.
43777         * crypt/Makefile (xtests): Add md5test-giant..
43778         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43780 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43782         [BZ #14090]
43783         * crypt/md5.c (md5_process_block): Don't assume the buffer
43784         length is less than 2**32.
43785         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43786         length is less than 2**64.
43788 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43790         * string/str-two-way.h: Include <sys/param.h>.
43791         (MAX): Macro removed.
43793         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43794         Move #define and #undef of memmove to just before and after
43795         including <string.h>.
43797         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43798         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43799         and after including <string.h>.  Move declarations of
43800         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43801         to before #include "string/memmove.c".
43803         * include/dirent.h: Declare __getdirentries.
43805         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43806         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43808 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43810         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43811         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43812         * sysdeps/i386/configure: Regenerated.
43813         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43814         STABS_CURRENT_FILE, and STABS_FUN.
43815         (END): Remove call to STABS_FUN_END.
43816         (STABS_CURRENT_FILE1): Delete.
43817         (STABS_CURRENT_FILE): Likewise.
43818         (STABS_FUN): Likewise.
43819         (STABS_FUN_END): Likewise.
43820         (STABS_FUN2): Likewise.
43821         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43822         * sysdeps/x86_64/configure: Regenerated.
43824 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43826         * elf/dl-open.c: Include <atomic.h>.
43827         * elf/dl-lookup.c: Likewise.
43829 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43831         * sysdeps/unix/sysv/linux/kernel-features.h
43832         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43833         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43834         unconditionally.
43835         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43836         unconditionally.
43837         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43838         condition on __ASSUME_CLONE_THREAD_FLAGS.
43840 2012-08-14  Andreas Jaeger  <aj@suse.de>
43842         * sysdeps/i386/fpu/libm-test-ulps: Update.
43844 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43846         * include/atomic.h (atomic_exchange_and_add): Split into ...
43847         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43848         New atomic macros.
43850 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43854 2012-08-13  Jeff Law <law@redhat.com>
43856         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43857         null byte in the output string.
43859 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43861         * sysdeps/unix/sysv/linux/kernel-features.h
43862         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43863         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43864         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43865         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43866         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43867         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43868         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43870 2012-08-09  Jeff Law <law@redhat.com>
43872         [BZ #13939]
43873         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43874         When avoid_arena is set, don't retry in the that arena.  Pick the
43875         next one, whatever it might be.
43876         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43877         (arena_lock): Pass in new parameter to arena_get2.
43878         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43879         arena_get2.
43880         (__libc_malloc): Unify retrying after main arena failure with
43881         __libc_memalign version.
43882         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43884 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43886         [BZ #14166]
43887         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43888         to __redirect_strstr.
43889         (__strstr_sse42): Use typeof __redirect_strstr.
43890         (__strstr_ia32): Likewise.
43891         (__libc_strstr): New prototype.
43892         (strstr): Renamed to ...
43893         (__libc_strstr): This.
43894         (strstr): New strong alias of __libc_strstr.
43895         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43896         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43897         __redirect_time.
43898         Include <time.h>.
43899         (__libc_time): New prototype.
43900         (time_ifunc): Replace time with __libc_time.
43901         (time): New strong alias and hidden definition of __libc_time.
43902         (__GI_time): Remove strong alias.
43903         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43904         Include <stddef.h>.
43905         (memmove): Redefined to __redirect_memmove.
43906         (__memmove_sse2): Use typeof __redirect_memmove.
43907         (__memmove_ssse3): Likewise.
43908         (__memmove_ssse3_back): Likewise.
43909         (__libc_memmove): New prototype.
43910         (memmove): Renamed to ...
43911         (__libc_memmove): This.
43912         (memmove): New strong alias of __libc_memmove.
43914 2012-08-08  Mark Salter  <msalter@redhat.com>
43916         * elf/elf.h
43917         (R_MN10300_TLS_GD): Define.
43918         (R_MN10300_TLS_LD): Likewise.
43919         (R_MN10300_TLS_LDO): Likewise.
43920         (R_MN10300_TLS_GOTIE): Likewise.
43921         (R_MN10300_TLS_IE): Likewise.
43922         (R_MN10300_TLS_LE): Likewise.
43923         (R_MN10300_TLS_DTPMOD): Likewise.
43924         (R_MN10300_TLS_DTPOFF): Likewise.
43925         (R_MN10300_TLS_TPOFF): Likewise.
43926         (R_MN10300_SYM_DIFF): Likewise.
43927         (R_MN10300_ALIGN): Likewise.
43928         (R_MN10300_NUM): Update.
43930 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43932         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43933         Remove.
43935 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43937         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43939         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43940         sysdeps/unix -> sysdeps/posix move.
43941         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43943 2012-08-07      Allan McRae     <allan@archlinux.org>
43945         [BZ #14303]
43946         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43947         (SUNOS_CPP): Likewise.
43948         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43949         not found.
43950         (open_input): Call CPP using execvp.
43952 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43954         * sysdeps/unix/sysv/linux/kernel-features.h
43955         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43956         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43957         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43958         (__ASSUME_WAITID_SYSCALL): Likewise.
43959         * sysdeps/unix/sysv/linux/dl-execstack.c
43960         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43961         code unconditional.
43962         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43963         conditional code.
43964         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43965         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43966         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43967         code.
43968         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43969         unconditional.
43970         [__ASSUME_WAITID_SYSCALL]: Likewise.
43971         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43973 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43975         * sysdeps/unix/closedir.c: Renamed to ...
43976         * sysdeps/posix/closedir.c: ... here.
43977         * sysdeps/unix/dirfd.c: Renamed to ...
43978         * sysdeps/posix/dirfd.c: ... here.
43979         * sysdeps/unix/dirstream.h: Renamed to ...
43980         * sysdeps/posix/dirstream.h: ... here.
43981         * sysdeps/unix/fdopendir.c: Renamed to ...
43982         * sysdeps/posix/fdopendir.c: ... here.
43983         * sysdeps/unix/opendir.c: Renamed to ...
43984         * sysdeps/posix/opendir.c: ... here.
43985         * sysdeps/unix/readdir.c: Renamed to ...
43986         * sysdeps/posix/readdir.c: ... here.
43987         * sysdeps/unix/readdir_r.c: Renamed to ...
43988         * sysdeps/posix/readdir_r.c: ... here.
43989         * sysdeps/unix/rewinddir.c: Renamed to ...
43990         * sysdeps/posix/rewinddir.c: ... here.
43991         * sysdeps/unix/seekdir.c: Renamed to ...
43992         * sysdeps/posix/seekdir.c: ... here.
43993         * sysdeps/unix/telldir.c: Renamed to ...
43994         * sysdeps/posix/telldir.c: ... here.
43995         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43996         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43997         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43998         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44000         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44001         * bits/fcntl.h: ... here.
44003         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44004         not 0.
44005         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44006         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44007         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44008         (struct flock): Move l_start, l_len to the beginning.
44009         Use __pid_t for l_pid.
44010         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44011         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44012         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44013         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44014         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44015         [__USE_LARGEFILE64] (struct flock64): New type.
44016         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44018         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44019         * bits/dirent.h: ... here.
44021         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44022         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44024 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44026         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44027         Change from 2.6.0 to 2.6.16.
44028         * sysdeps/unix/sysv/linux/configure: Regenerated.
44029         * sysdeps/unix/sysv/linux/kernel-features.h
44030         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44031         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44032         version.
44033         (__ASSUME_UTIMES): Likewise.
44034         (__ASSUME_CLONE_STOPPED): Remove.
44035         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44036         architectures, not kernel version.
44037         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44038         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44039         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44040         (__ASSUME_WAITID_SYSCALL): Likewise.
44041         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44042         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44043         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44044         refer to older versions.
44046 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44048         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44049         Define alphasort64 as an alias.
44050         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44051         Define versionsort64 as an alias.
44052         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44053         Define scandir64 as an alias.
44054         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44055         Define scandirat64 as an alias.
44056         * dirent/alphasort64.c (alphasort64):
44057         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44058         * dirent/versionsort64.c: Likewise.
44059         * dirent/scandir64.c: Likewise.
44060         * dirent/scandirat64.c: Likewise.
44061         * sysdeps/wordsize-64/alphasort.c: File removed.
44062         * sysdeps/wordsize-64/alphasort64.c: File removed.
44063         * sysdeps/wordsize-64/scandir.c: File removed.
44064         * sysdeps/wordsize-64/scandir64.c: File removed.
44065         * sysdeps/wordsize-64/scandirat.c: File removed.
44066         * sysdeps/wordsize-64/scandirat64.c: File removed.
44067         * sysdeps/wordsize-64/versionsort.c: File removed.
44068         * sysdeps/wordsize-64/versionsort64.c: File removed.
44069         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44070         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44071         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44072         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44073         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44074         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44075         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44076         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44078         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44079         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44080         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44081         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44082         [defined __arch64__ || defined __sparcv9]
44083         (__INO_T_MATCHES_INO64_T): New macro.
44084         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44085         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44086         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44087         * sysdeps/unix/sysv/linux/bits/dirent.h
44088         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44089         (_DIRENT_MATCHES_DIRENT64): New macro.
44091         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44092         Define lockf64 as an alias.
44093         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44094         Define fseeko64 as an alias.
44095         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44096         Define ftello64 as an alias.
44097         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44098         Define _IO_fgetpos64 and fgetpos64 as aliases.
44099         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44100         Define _IO_fsetpos64 and fsetpos64 as aliases.
44101         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44102         Conditionalize body on this.
44103         * libio/fseeko64.c: Likewise.
44104         * libio/ftello64.c: Likewise.
44105         * libio/iofgetpos64.c: Likewise.
44106         * libio/iofsetpos64.c: Likewise.
44107         * sysdeps/wordsize-64/lockf.c: File removed.
44108         * sysdeps/wordsize-64/lockf64.c: File removed.
44109         * sysdeps/wordsize-64/fseeko.c: File removed.
44110         * sysdeps/wordsize-64/fseeko64.c: File removed.
44111         * sysdeps/wordsize-64/ftello.c: File removed.
44112         * sysdeps/wordsize-64/ftello64.c: File removed.
44113         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44114         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44115         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44116         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44117         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44118         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44119         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44120         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44121         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44122         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44123         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44124         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44125         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44126         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44128         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44129         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44130         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44131         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44132         [defined __arch64__ || defined __sparcv9]
44133         (__OFF_T_MATCHES_OFF64_T): New macro.
44134         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44135         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44136         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44137         (__OFF_T_MATCHES_OFF64_T): New macro.
44139 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44141         * stdlib/secure-getenv.c (__secure_getenv): Replace
44142         GLIBC_2_16 with GLIBC_2_17.
44144 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44146         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44147         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44149 2012-08-03  David S. Miller  <davem@davemloft.net>
44151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44153 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44155         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44156         Remove.
44157         (__ASSUME_CORRECT_SI_PID): Likewise.
44158         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44159         (__ASSUME_TMPFS_NAME): Likewise.
44160         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44161         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44162         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44163         (HAVE_AUX_SECURE): Make definition unconditional.
44164         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44165         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44167 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44169         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44170         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44171         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44172         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44173         __eloop_threshold instead of SYMLOOP_MAX.
44175         * sysdeps/generic/eloop-threshold.h: New file.
44176         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44177         of MAXSYMLINKS.
44178         * elf/chroot_canon.c (chroot_canon): Likewise.
44180 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44182         [BZ #13717]
44183         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44184         Change to 2.6.0 everywhere.
44185         * sysdeps/unix/sysv/linux/configure: Regenerated.
44186         * sysdeps/unix/sysv/linux/kernel-features.h
44187         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44188         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44189         kernel versions.
44190         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44191         (__ASSUME_FUTEX_REQUEUE): Remove.
44192         (__ASSUME_STATFS64): Define unconditionally.
44193         (__ASSUME_AT_SECURE): Likewise.
44194         (__ASSUME_CORRECT_SI_PID): Likewise.
44195         (__ASSUME_TGKILL): Define without depending on kernel version for
44196         i386.
44197         (__ASSUME_UTIMES): Likewise.
44198         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44199         kernel version.
44200         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44201         (__ASSUME_TMPFS_NAME): Likewise.
44202         * README: Update reference to Linux kernel versions.
44204 2012-08-02  Marek Polacek  <polacek@redhat.com>
44206         [BZ# 14150]
44207         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44208         libc_cv_asm_type_prefix with %.
44209         * configure: Regenerated.
44210         * include/libc-symbols.h: Remove comment about
44211         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44212         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44213         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44214         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44215         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44216         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44217         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44218         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44219         * elf/tst-unique2mod1.c: Likewise.
44220         * elf/tst-unique1mod2.c: Likewise.
44221         * elf/tst-unique1mod1.c: Likewise.
44222         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44223         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44224         Replace ASM_TYPE_DIRECTIVE with .type.
44225         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44226         * sysdeps/i386/sysdep.h: Likewise.
44227         * sysdeps/x86_64/sysdep.h: Likewise.
44228         * sysdeps/sh/sysdep.h: Likewise.
44229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44230         Do not define ASM_TYPE_DIRECTIVE.
44231         * sysdeps/powerpc/sysdep.h: Likewise.
44232         * sysdeps/powerpc/powerpc32/sysdep.h:
44233         Replace ASM_TYPE_DIRECTIVE with .type.
44234         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44235         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44236         * sysdeps/i386/fpu/e_powf.S: Likewise.
44237         * sysdeps/i386/fpu/e_expl.S: Likewise.
44238         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44239         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44240         * sysdeps/i386/fpu/e_pow.S: Likewise.
44241         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44242         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44243         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44244         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44245         * sysdeps/i386/fpu/e_log2.S: Likewise.
44246         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44247         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44248         * sysdeps/i386/fpu/e_powl.S: Likewise.
44249         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44250         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44251         * sysdeps/i386/fpu/e_logl.S: Likewise.
44252         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44253         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44254         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44255         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44256         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44257         * sysdeps/i386/fpu/e_log.S: Likewise.
44258         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44259         * sysdeps/i386/fpu/e_logf.S: Likewise.
44260         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44261         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44262         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44263         * sysdeps/i386/fpu/e_log10.S: Likewise.
44264         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44265         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44266         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44267         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44268         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44269         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44270         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44271         * sysdeps/i386/i686/strtok.S: Likewise.
44272         * sysdeps/i386/i386-mcount.S: Likewise.
44273         * sysdeps/i386/strtok.S: Likewise.
44274         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44275         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44276         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44277         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44278         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44279         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44280         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44281         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44282         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44283         * sysdeps/x86_64/_mcount.S: Likewise.
44284         * sysdeps/x86_64/strtok.S: Likewise.
44285         * sysdeps/sh/_mcount.S: Likewise.
44287 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44289         * libio/iofopen.c: Include <fcntl.h>.
44290         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44291         (_IO_fopen64, fopen64): Define as aliases.
44292         * libio/iofopen64.c: Include <fcntl.h>.
44293         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44294         Conditionalize body on this.
44295         * sysdeps/wordsize-64/iofopen.c: File removed.
44296         * sysdeps/wordsize-64/iofopen64.c: File removed.
44298 2012-08-01  Marek Polacek  <polacek@redhat.com>
44300         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44301         Use dlfcn directly instead of a variable.
44302         (binfmt-subdir): Do not define.
44303         (dlfcn): Likewise.
44305 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44308         Remove all definitions.
44309         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44310         <kernel-features.h>.
44311         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44312         (miss_F_GETOWN_EX): Remove all definitions.
44313         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44314         macro definition.
44315         [!__ASSUME_FCNTL64]: Remove conditional code.
44316         [__ASSUME_FCNTL64]: Make code unconditional.
44317         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44318         <kernel-features.h>.
44319         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44320         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44321         (lockf64) [__NR_fcntl64]: Make code unconditional.
44322         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44324         * sysdeps/unix/sysv/linux/kernel-features.h
44325         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44326         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44327         Make code unconditional.
44328         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44329         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44331         [__NR_vfork]: Make code unconditional.
44332         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44333         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44335         [__NR_vfork]: Make code unconditional.
44336         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44337         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44339 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44341         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44342         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44344         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44345         Define mkstemp64 as an alias.
44346         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44347         Define mkstemps64 as an alias.
44348         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44349         Define mkostemp64 as an alias.
44350         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44351         Define mkostemps64 as an alias.
44352         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44353         Conditionalize body on this.
44354         * misc/mkostemp64.c: Likewise.
44355         * misc/mkostemps64.c: Likewise.
44356         * misc/mkstemps64.c: Likewise.
44357         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44358         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44359         * sysdeps/wordsize-64/mkostemp.c: File removed.
44360         * sysdeps/wordsize-64/mkstemp.c: File removed.
44361         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44362         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44363         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44364         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44366         [BZ #14138]
44367         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44368         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44369         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44370         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44372         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44373         compat_symbol macros from <shlib-compat.h> rather than the underlying
44374         default_symbol_version and symbol_version macros, so that DEFAULT
44375         lines in shlib-versions are respected.
44376         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44378 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44380         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44381         Declare with warn_unused_result.
44382         (setgid, setregid, setegid, setresgid): Likewise.
44383         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44384         Likewise.
44385         * WUR-REPORT: Remove set*id functions.
44387 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44389         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44391 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44393         [BZ #10191]
44394         * include/sys/socket.h (__libc_accept, __libc_accept4):
44395         Add attribute_hidden.
44396         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44398         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44399         use of PTR_MANGLE.
44400         * inet/getnetgrent_r.c (setup): Likewise.
44402         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44404 2012-07-31  David S. Miller  <davem@davemloft.net>
44406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44408 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44410         [BZ #13629]
44411         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44412         value between 1.0 and 2.0 and smaller part has absolute value less
44413         than 1.0.
44414         * math/s_clog10.c (__clog10): Likewise.
44415         * math/s_clog10f.c (__clog10f): Likewise.
44416         * math/s_clog10l.c (__clog10l): Likewise.
44417         * math/s_clogf.c (__clogf): Likewise.
44418         * math/s_clogl.c (__clogl): Likewise.
44419         * math/libm-test.inc (clog_test): Add more tests.
44420         (clog10_test): Likewise.
44421         * sysdeps/i386/fpu/libm-test-ulps: Update.
44422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44424 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44426         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44427         Exit with zero in case no suitable GID is found, and write a
44428         message to standard error.
44430 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44432         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44433         rather than to 1.
44434         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44435         (MAXPATHLEN): Removed.
44436         (NOGROUP, NODEV): New macros.
44437         (setbit, clrbit, isset, isclr): New macros.
44438         (howmany, roundup, powerof2): New macros.
44439         (DEV_BSIZE): New macro.
44441         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44442         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44444         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44445         definition on [!__NO_LONG_DOUBLE_MATH].
44447         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44448         PTR_MANGLE and PTR_DEMANGLE.
44450         * socket/accept4.c (accept4): Rename to __libc_accept4.
44451         Define accept4 as a weak alias.
44453         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44454         on [_DIRENT_HAVE_D_TYPE].
44455         * io/ftw.c (ftw_dir): Likewise.
44457         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44459         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44461         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44462         Use the BSD numbers rather than the arbitrary ones we had.
44463         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44464         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44465         (SIGXCPU, SIGXFSZ): New macros.
44466         (_NSIG): Now 32.
44468         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44469         initializer on [_LIBC_REENTRANT].
44471         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44472         definitions inside [_POSIX_MAPPED_FILES].
44474         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44476         * dirent/opendir.c: Include <fcntl.h>.
44478         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44479         (__libc_getspecific): Likewise.
44480         (__libc_key_create): Likewise.
44482         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44483         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44484         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44485         (tmpfile64): Define as alias.
44486         * sysdeps/wordsize-64/tmpfile.c: File removed.
44487         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44488         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44489         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44491         * stdio-common/vfscanf.c: Include <stdbool.h>.
44492         * nss/makedb.c: Likewise.
44493         * stdio-common/_i18n_number.h: Likewise.
44494         * argp/argp-help.c: Likewise.
44495         * posix/wordexp.c: Likewise.
44496         * sysdeps/posix/spawni.c: Likewise.
44497         * nss/nss_files/files-initgroups.c: Likewise.
44498         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44499         * nss/nss_files/files-initgroups.c: Likewise.
44500         * nss/nss_db/db-netgrp.c: Likewise.
44501         * nss/nss_db/db-initgroups.c: Likewise.
44502         * io/fchmodat.c: Include <sys/stat.h>.
44504         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44505         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44507         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44508         [HAVE_MMAP].
44510         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44511         Add multiple inclusion protection.
44513 2012-07-27  David S. Miller  <davem@davemloft.net>
44515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44517 2012-07-27  Gary Benson  <gbenson@redhat.com>
44519         [BZ #14298]
44520         * elf/rtld.c: Include <stap-probe.h>.
44521         (dl_main): Added static probes "init_start" and "init_complete".
44522         * elf/dl-load.c: Include <stap-probe.h>.
44523         (lose): Take new parameter "nsid".
44524         Added static probe "map_failed".
44525         (_dl_map_object_from_fd): Pass namespace id to lose.
44526         Added static probe "map_start".
44527         (open_verify): Pass namespace id to lose.
44528         * elf/dl-open.c: Include <stap-probe.h>.
44529         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44530         and "reloc_complete".
44531         * elf/dl-close.c: Include <stap-probe.h>.
44532         (_dl_close_worker): Added static probes "unmap_start" and
44533         "unmap_complete".
44534         * elf/rtld-debugger-interface.txt: New file documenting the above.
44536 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44538         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44539         rather than a string variable.
44540         * sunrpc/rpc_main.c (h_output): Likewise.
44541         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44543 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44545         * inet/check_native.c: New file.
44547 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44549         [BZ #13629]
44550         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44551         if larger part has absolute value 1.0.
44552         * math/s_clog10.c (__clog10): Likewise.
44553         * math/s_clog10f.c (__clog10f): Likewise.
44554         * math/s_clog10l.c (__clog10l): Likewise.
44555         * math/s_clogf.c (__clogf): Likewise.
44556         * math/s_clogl.c (__clogl): Likewise.
44557         * math/libm-test.inc (clog_test): Add more tests.
44558         (clog10_test): Likewise.
44559         * sysdeps/i386/fpu/libm-test-ulps: Update.
44560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44562         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44563         (pltexit): Likewise.
44564         (La_regs): Likewise.
44565         (La_retval): Likewise.
44566         (int_retval): Likewise.
44567         Update #error for removed macros to refer only to definitions in
44568         tst-audit.h.
44569         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44570         macro.
44571         (pltexit): Likewise.
44572         (La_regs): Likewise.
44573         (La_retval): Likewise.
44574         (int_retval): Likewise.
44575         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44576         macro.
44577         (pltexit): Likewise.
44578         (La_regs): Likewise.
44579         (La_retval): Likewise.
44580         (int_retval): Likewise.
44581         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44582         macro.
44583         (pltexit): Likewise.
44584         (La_regs): Likewise.
44585         (La_retval): Likewise.
44586         (int_retval): Likewise.
44587         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44588         macro.
44589         (pltexit): Likewise.
44590         (La_regs): Likewise.
44591         (La_retval): Likewise.
44592         (int_retval): Likewise.
44593         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44594         macro.
44595         (pltexit): Likewise.
44596         (La_regs): Likewise.
44597         (La_retval): Likewise.
44598         (int_retval): Likewise.
44599         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44600         macro.
44601         (pltexit): Likewise.
44602         (La_regs): Likewise.
44603         (La_retval): Likewise.
44604         (int_retval): Likewise.
44605         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44606         macro definitions in tst-audit.h.
44607         * sysdeps/i386/tst-audit.h: New file.
44608         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44609         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44610         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44611         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44612         * sysdeps/sh/tst-audit.h: Likewise.
44613         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44614         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44615         * sysdeps/x86_64/tst-audit.h: Likewise.
44617 2012-07-26  Andreas Jaeger  <aj@suse.de>
44619         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44620         ptrace.
44622         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44623         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44624         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44625         PTRACE_O_MASK.
44626         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44627         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44628         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44630         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44631         value.
44633         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44634         _sigsys.
44635         (si_call_addr, si_syscall, si_arch): Define new macro.
44636         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44637         _sigsys.
44638         (si_call_addr, si_syscall, si_arch): Define new marcro.
44639         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44640         _sigsys.
44641         (si_call_addr, si_syscall, si_arch): Define new macro.
44642         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44643         _sigsys.
44644         (si_call_addr, si_syscall, si_arch): Define new macro.
44646 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44648         [BZ #13717]
44649         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44650         Change to 2.4.21 where previously 2.4.1.
44651         * sysdeps/unix/sysv/linux/configure: Regenerated.
44652         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44653         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44654         Linux kernel version.
44655         (__ASSUME_STD_AUXV): Remove.
44656         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44657         kernel version.
44658         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44659         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44660         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44661         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44662         (__ASSUME_NETLINK_SUPPORT): Likewise.
44663         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44664         (__no_netlink_support): Remove conditional definition.
44665         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44666         Remove.
44667         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44668         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44669         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44670         (if_nameindex_ioctl): Remove.
44671         (if_nameindex_netlink): Do not handle __no_netlink_support.
44672         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44673         code.
44674         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44675         Remove conditional code.
44676         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44677         code.
44678         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44679         unconditional.
44680         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44681         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44682         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44683         Remove.
44684         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44685         [!__ASSUME_STD_AUXV]: Remove conditional code.
44686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44687         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44688         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44690         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44691         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44692         code.
44693         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44695         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44696         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44697         conditional code.
44698         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44700         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44701         code.
44702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44703         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44704         conditional code.
44705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44706         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44707         code unconditional.
44708         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44709         conditional code.
44710         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44711         unconditional.
44712         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44713         conditional code.
44714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44715         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44716         unconditional.
44717         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44718         conditional code.
44719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44720         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44721         code unconditional.
44722         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44723         conditional code.
44724         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44725         unconditional.
44726         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44727         conditional code.
44728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44729         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44730         code unconditional.
44731         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44732         conditional code.
44733         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44734         unconditional.
44735         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44736         conditional code.
44738 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44740         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44741         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44742         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44743         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44744         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44745         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44746         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44747         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44748         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44749         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44750         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44751         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44752         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44753         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44754         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44755         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44756         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44757         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44758         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44759         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44760         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44761         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44762         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44764 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44766         * Versions.def: Add GLIBC_2.17.
44767         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44768         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44769         Introduce __libc_secure_getenv.
44770         * stdlib/Versions (2.17): Add secure_getenv
44771         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44772         * stdlib/secure-getenv.c: Rename __secure_getenv to
44773         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44774         symbol __secure_getenv for GLIBC_2.0.
44775         * stdlib/tst-secure-getenv.c: New.
44776         * stdlib/Makefile (tests): Add testcase.
44777         * manual/startup.texi (Environment Access): Document
44778         secure_getenv.
44779         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44780         __libc_secure_getenv.
44781         * inet/ruserpass.c (ruserpass): Likewise.
44782         * malloc/mtrace.c (mtrace): Likewise.
44783         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44784         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44785         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44786         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44787         HAVE_SECURE_GETENV.
44788         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44789         __secure_getenv to __libc_secure_getenv.
44790         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44792         Likewise.
44793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44794         Likewise.
44795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44797         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44803 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44805         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44806         (struct La_i86_retval): Likewise.
44807         (struct La_x86_64_regs): Likewise.
44808         (struct La_x86_64_retval): Likewise.
44809         (struct La_x32_regs): Likewise.
44810         (struct La_x32_retval): Likewise.
44811         (struct La_ppc32_regs): Likewise.
44812         (struct La_ppc32_retval): Likewise.
44813         (struct La_ppc64_regs): Likewise.
44814         (struct La_ppc64_retval): Likewise.
44815         (struct La_sh_regs): Likewise.
44816         (struct La_sh_retval): Likewise.
44817         (struct La_s390_32_regs): Likewise.
44818         (struct La_s390_32_retval): Likewise.
44819         (struct La_s390_64_regs): Likewise.
44820         (struct La_s390_64_retval): Likewise.
44821         (struct La_sparc32_regs): Likewise.
44822         (struct La_sparc32_retval): Likewise.
44823         (struct La_sparc64_regs): Likewise.
44824         (struct La_sparc64_retval): Likewise.
44825         (struct audit_ifaces): Remove architecture-specific pltenter and
44826         pltexit members.
44827         * sysdeps/i386/ldsodefs.h: New file.
44828         * sysdeps/powerpc/ldsodefs.h: Likewise.
44829         * sysdeps/s390/ldsodefs.h: Likewise.
44830         * sysdeps/sh/ldsodefs.h: Likewise.
44831         * sysdeps/sparc/ldsodefs.h: Likewise.
44832         * sysdeps/x86_64/ldsodefs.h: Likewise.
44834 2012-07-25  Marek Polacek  <polacek@redhat.com>
44836         [BZ #6808]
44837         * math/libm-test.inc (yn_test): Add another test.
44838         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44839         to ERANGE when the result is +-Inf.
44840         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44841         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44842         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44843         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44845 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44847         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44848         equal to 0.
44849         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44850         clock_t.
44851         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44853 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44855         * configure.in <sysdeps resolving>: Correct printing
44856         Implies_before.
44857         * configure: Regenerate.
44859 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44861         * math/w_ilogb.c: Include <limits.h>.
44862         * math/w_ilogbl.c: Likewise.
44864 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44866         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44867         va_copy.  Document allowing for unavailable va_copy only as
44868         pre-C99 compatibility.
44869         * manual/string.texi (Copying and Concatenation): Use va_copy
44870         instead of __va_copy in concat example.
44872 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44874         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44875         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44876         it if not null.
44878         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44879         with O_NOLINK passed to __file_name_lookup.
44881         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44882         with O_NOLINK passed to __file_name_lookup.
44884         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44885         negative N or less than NGIDS.
44887         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44888         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44889         enough.  Use memcpy instead of strncpy.
44891 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44893         * elf/Makefile (check-data): Remove.
44894         (localplt.data): New vpath directive.
44895         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44896         instead of $(check-data).
44897         * scripts/data/localplt-generic.data: Move to ...
44898         * sysdeps/generic/localplt.data: ... here.
44899         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44900         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44901         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44903         ... here.
44904         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44906         ... here.
44907         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44909         ... here.
44910         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44912         ... here.
44913         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44915         ... here.
44916         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44918         ... here.
44920 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44922         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44923         PPC32 and PPC64 files.
44924         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44925         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44927 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44929         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44930         __makecontext_ret to ...
44931         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44932         ... here and call exit if uc_link is NULL.  New file.
44933         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44934         __makecontext_ret.S.
44935         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44936         __makecontext_ret to ...
44937         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44938         ... here and call exit if uc_link is NULL.  New file.
44939         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44940         __makecontext_ret.S.
44942 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44944         * elf/elf.h (R_390_IRELATIVE): New definition.
44945         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44946         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44947         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44948         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44949         (elf_machine_lazy_rel): Likewise.
44950         * sysdeps/s390/dl-irel.h: New file.
44951         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44952         * sysdeps/s390/s390-64/memset.S: New asm code.
44953         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44954         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44955         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44956         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44957         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44958         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44959         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44960         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44961         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44962         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44963         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44964         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44965         * sysdeps/s390/s390-32/memset.S: New asm code.
44966         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44968 2012-07-17  Marek Polacek  <polacek@redhat.com>
44970         [BZ #14349]
44971         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44972         * sysdeps/s390/s390-64/configure.in: Likewise.
44973         * sysdeps/sparc/configure.in: Likewise.
44974         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44975         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44976         * sysdeps/i386/configure.in: Likewise.
44977         * sysdeps/x86_64/configure.in: Likewise.
44978         * sysdeps/sh/configure.in: Likewise.
44979         * sysdeps/s390/s390-32/configure: Regenerated.
44980         * sysdeps/s390/s390-64/configure: Likewise.
44981         * sysdeps/x86_64/configure: Likewise.
44982         * sysdeps/sh/configure: Likewise.
44983         * sysdeps/powerpc/powerpc64/configure: Likewise.
44984         * sysdeps/powerpc/powerpc32/configure: Likewise.
44985         * sysdeps/sparc/configure: Likwise.
44986         * sysdeps/i386/configure: Likewise.
44988         * elf/dl-open.c: Comment fixes.
44990 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44992         * Makefile [CXX] (check-data): Remove.
44993         [CXX] (c++-types.data): New vpath directive.
44994         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44995         vpath.  Do not allow for C++ type data being missing.
44996         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44997         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44998         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44999         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45000         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45001         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45002         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45004         ... here.
45005         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45007         ... here.
45008         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45010         ... here.
45011         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45013         ... here.
45014         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45016         ... here.
45017         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45019         ... here.
45020         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45022         ... here.
45023         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45026         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45027         definitions to architecture-specific files.
45028         (TLS_IE): Likewise.
45029         (TLS_LD): Likewise.
45030         (TLS_GD): Likewise.
45031         * sysdeps/i386/tls-macros.h: New file.
45032         * sysdeps/powerpc/tls-macros.h: Likewise.
45033         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45034         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45035         * sysdeps/sh/tls-macros.h: Likewise.
45036         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45037         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45038         * sysdeps/x86_64/tls-macros.h: Likewise.
45040 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45042         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45043         zero value for regular exit case.
45045         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45046         (__start_context): Preserve zero value for regular exit case.
45048 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45049             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45051         * manual/setjmp.texi (setcontext): Clarify normal process
45052         termination when uc_link is the null pointer.
45053         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45054         exit call.
45056 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45058         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45059         preprocessor.  Test for each exception mask separately.
45061 2012-07-16  Andreas Jaeger  <aj@suse.de>
45063         * po/ru.po: Update from translation team.
45065 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45067         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45068         equal to 0.
45069         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45070         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45071         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45072         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45073         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45075 2012-07-13  Andreas Jaeger  <aj@suse.de>
45077         * po/fr.po: Update from translation team.
45079 2012-07-12  Marek Polacek  <polacek@redhat.com>
45081         [BZ #14173]
45082         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45083         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45084         loop condition.
45086 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45088         [BZ #13717]
45089         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45090         Change to 2.4.1 where previously 2.4.0.
45091         * sysdeps/unix/sysv/linux/configure: Regenerated.
45092         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45093         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45094         version.
45095         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45096         (__ASSUME_AT_CLKTCK): Remove.
45097         (__ASSUME_AT_PAGESIZE): Likewise.
45098         (__ASSUME_AT_XID): Likewise.
45099         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45100         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45101         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45102         unconditionally.
45103         (HAVE_AUX_PAGESIZE): Likewise.
45104         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45105         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45106         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45108 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45110         [BZ #14307]
45111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45112         the temporary buffer used to invoke __gethostbyname2_r,
45113         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45114         host_data / struct gaih_addrtuple.
45115         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45116         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45117         header file nss/nsswitch.h.
45118         * nss/nsswitch.h (global scope): Add definition of implementation
45119         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45120         resolv/nss_dns/dns-host.c).
45122 2012-07-11  Andreas Jaeger  <aj@suse.de>
45124         * po/fr.po: Update from translation team.
45126         * po/sv.po: Update from translation team
45127         * po/fr.po: Another update from translation team.
45129 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45131         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45132         for subnormals or multiply small sinh result by itself.
45133         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45136 2012-07-11  David S. Miller  <davem@davemloft.net>
45138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45140 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45142         [BZ #14347]
45143         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45144         (INTERNAL_MARK): Shift it here.
45146 2012-07-10  Marek Polacek  <polacek@redhat.com>
45148         [BZ #14151]
45149         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45150         libc_cv_asm_global_directive with .globl.
45151         * configure: Regenerated.
45152         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45153         with .globl.
45154         * sysdeps/i386/configure: Regenerated.
45155         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45156         with .globl.
45157         * sysdeps/x86_64/configure: Regenerated.
45158         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45159         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45160         * elf/tst-unique2mod2.c: Likewise.
45161         * elf/tst-unique2mod1.c: Likewise.
45162         * elf/tst-unique1mod2.c: Likewise.
45163         * elf/tst-unique1mod1.c: Likewise.
45164         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45165         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45166         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45167         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45168         * sysdeps/mach/sysdep.h: Likewise.
45169         * sysdeps/i386/sysdep.h: Likewise.
45170         * sysdeps/i386/i386-mcount.S: Likewise.
45171         * sysdeps/x86_64/_mcount.S: Likewise.
45172         * sysdeps/x86_64/sysdep.h: Likewise.
45173         * sysdeps/sh/_mcount.S: Likewise.
45174         * sysdeps/sh/sysdep.h: Likewise.
45175         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45176         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45177         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45178         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45179         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45180         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45181         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45182         * locale/localeinfo.h: Likewise.
45183         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45184         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45186 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45188         [BZ #14336]
45189         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45190         system".
45191         * manual/message.texi (The Uniforum approach): Likewise.
45192         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45193         (glibc iconv Implementation): Likewise.
45195 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45197         [BZ #14337]
45198         * math/s_clog.c (__clog): Avoid scaling a value down where that
45199         could result in underflow.
45200         * math/s_clog10.c (__clog10): Likewise.
45201         * math/s_clog10f.c (__clog10f): Likewise.
45202         * math/s_clog10l.c (__clog10l): Likewise.
45203         * math/s_clogf.c (__clogf): Likewise.
45204         * math/s_clogl.c (__clogl): Likewise.
45205         * math/libm-test.inc (clog_test): Add more tests.
45206         (clog10_test): Likewise.
45207         * sysdeps/i386/fpu/libm-test-ulps: Update.
45208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45210 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45212         [BZ #14283]
45213         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45214         by 7 not 8 to examine high bit of fractional part.
45216         [BZ #14042]
45217         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45218         for call to __mcount_internal.
45219         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45220         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45221         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45223 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45225         [BZ #14154]
45226         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45227         approximation for values within 0x1p-13f of an odd multiple of
45228         pi/4.
45229         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45230         exception.  Add more tests.
45231         * sysdeps/i386/fpu/libm-test-ulps: Update.
45233         [BZ #6778]
45234         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45235         inputs and return -1 for them.  Do not check for +Inf in case not
45236         reachable for +Inf.
45237         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45238         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45239         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45240         and return -1 for them.  Do not check for +Inf in case not
45241         reachable for +Inf.
45242         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45243         define.
45244         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45245         and return -1 for them.  Do not check for +Inf in case not
45246         reachable for +Inf.
45247         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45248         spurious underflow.
45249         * sysdeps/i386/fpu/libm-test-ulps: Update.
45250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45252 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45254         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45256 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45258         [BZ #14157]
45259         [BZ #14331]
45260         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45261         could result in spurious underflow.  Scale down values above
45262         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45263         * math/s_csqrtf.c (__csqrtf): Likewise.
45264         * math/s_csqrtl.c (__csqrtl): Likewise.
45265         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45266         spurious underflow.
45267         * sysdeps/i386/fpu/libm-test-ulps: Update.
45268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45270 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45272         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45273         xopen-msg.sed.
45274         * catgets/xopen-msg.awk: New file.
45275         * catgets/xopen-msg.sed: Removed.
45277         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45278         po2text.sed.
45279         * intl/po2test.awk: New file.
45280         * intl/po2test.sed: Removed.
45282 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45284         [BZ #14328]
45285         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45286         or multiply small sinh result by itself.
45287         * math/s_ctanf.c (__ctanf): Likewise.
45288         * math/s_ctanh.c (__ctanh): Likewise.
45289         * math/s_ctanhf.c (__ctanhf): Likewise.
45290         * math/s_ctanhl.c (__ctanhl): Likewise.
45291         * math/s_ctanl.c (__ctanl): Likewise.
45292         * math/libm-test.inc (ctan_test_tonearest): New function.
45293         (ctan_test_towardzero): Likewise.
45294         (ctan_test_downward): Likewise.
45295         (ctan_test_upward): Likewise.
45296         (ctanh_test_tonearest): Likewise.
45297         (ctanh_test_towardzero): Likewise.
45298         (ctanh_test_downward): Likewise.
45299         (ctanh_test_upward): Likewise.
45300         (main): Call these new functions.
45301         * sysdeps/i386/fpu/libm-test-ulps: Update.
45302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45304 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45306         * .gitignore: Delete /ports entry.
45308 2012-07-03  Andreas Jaeger  <aj@suse.de>
45310         * po/bg.po: Update from translation team.
45311         * po/cs.po: Likewise.
45312         * po/de.po: Likewise.
45313         * po/hr.po: Likewise.
45314         * po/nl.pl: Likewise.
45315         * po/pl.po: Likewise.
45316         * po/vi.po: Likewise.
45318 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45320         * Makeconfig [!+link] (+link-before-libc): New variable.
45321         [!+link] (+link-after-libc): Likewise.
45322         [!+link] (+link-tests): Likewise.
45323         [!+link] (+link): Define in terms of $(+link-before-libc) and
45324         $(+link-after-libc).
45325         [!+link-static] (+link-static-before-libc): New variable.
45326         [!+link-static] (+link-static-after-libc): Likewise.
45327         [!+link-static] (+link-static-tests): Likewise.
45328         [!+link-static] (+link-static): Define in terms of
45329         $(+link-static-before-libc) and $(+link-static-after-libc).
45330         [build-shared] (link-libc-before-gnulib): New variable.
45331         [build-shared] (link-libc-tests): Likewise.
45332         [build-shared] (link-libc): Define in terms of
45333         $(link-libc-before-gnulib).
45334         [!build-shared] (link-libc-tests): New variable.
45335         (link-libc-static-tests): New variable.
45336         [!gnulib] (gnulib-arch): New variable.
45337         [!gnulib] (gnulib-tests): Likewise.
45338         [!gnulib] (static-gnulib-arch): Likewise.
45339         [!gnulib] (static-gnulib-tests): Likewise.
45340         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45341         Define with "=" instead of ":=".
45342         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45343         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45344         * Rules (binaries-all-notests): New variable.
45345         (binaries-all-tests): Likewise.
45346         (binaries-static-notests): Likewise.
45347         (binaries-static-tests): Likewise.
45348         (binaries-all): Define using $(binaries-all-notests) and
45349         $(binaries-all-tests).
45350         (binaries-static): Define using $(binaries-static-notests) and
45351         $(binaries-static-tests).
45352         (binaries-shared-tests): New variable.
45353         (binaries-shared-notests): Likewise.
45354         (binaries-shared): Remove variable.
45355         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45356         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45357         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45358         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45359         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45360         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45361         * elf/Makefile (sln-modules): New variable.
45362         (extra-objs): Add $(sln-modules:=.o).
45363         (ldconfig-modules): Add static-stubs.
45364         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45365         * elf/static-stubs.c: New file.
45367         [BZ #14283]
45368         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45369         by 7 not 8 to examine high bit of fractional part.  Use volatile
45370         variables when splitting into final array of floats if
45371         __FLT_EVAL_METHOD__ != 0.
45372         * math/libm-test.inc (cos_test): Add another test.
45373         (sin_test): Likewise.
45374         * sysdeps/i386/fpu/libm-test-ulps: Update.
45376         [BZ #14273]
45377         * math/libm-test.inc (cosh_test): Add more tests.
45379         * version.h (RELEASE): Set to "development".
45380         (VERSION): Set to "2.16.90".
45382 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45384         * NEWS: Update copyright. Remove last-updated date.
45385         Mention math library bug fixes and timezone data changes.
45386         * README: Mention GNU/Hurd, x32, and HPPA support status.
45388 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45390         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45392 2012-06-27  Andreas Jaeger  <aj@suse.de>
45394         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45396 2012-06-25  Andreas Jaeger  <aj@suse.de>
45398         * sysdeps/s390/fpu/libm-test-ulps: Update.
45400 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45401             Thomas Schwinge  <thomas@codesourcery.com>
45403         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45404         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45405         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45406         fanotify_mark.
45408 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45410         * sysdeps/mach/start.c: Remove file.
45411         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45412         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45413         * sysdeps/sh/init-first.c: Likewise.
45415         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45416         registers for frame unwinding purposes, add CFI directives.
45417         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45418         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45419         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45420         Likewise.
45422         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45423         __fortify_fail returning.
45424         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45426         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45427         sysdeps/sh/____longjmp_chk.S.
45428         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45429         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45430         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45431         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45433         * sysdeps/sh/abort-instr.h: New file.
45434         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45435         process in case exit returns.
45437         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45438         initialize the GOT register before use.
45440         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45441         calculation of ARGC > 4.
45443         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45444         meaningful names to some local labels.
45446 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45447             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45449         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45450         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45451         (__arch_compare_and_exchange_val_16_acq): Likewise.
45452         (__arch_compare_and_exchange_val_32_acq): Likewise.
45453         (atomic_exchange_and_add): Fix gUSA sequence.
45454         (atomic_add): Likewise.
45455         (atomic_add_negative): Likewise.
45456         (atomic_add_zero): Likewise.
45457         (atomic_bit_test_set): Likewise.
45459 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45461         [BZ #13579]
45462         * include/link.h (struct link_map): Add l_free_initfini.
45463         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45464         l_initfini.
45465         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45466         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45467         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45468         set.
45470 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45472         * configure.in: Use AC_LANG_SOURCE.
45473         * configure: Regenerate.
45475 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45477         * configure.in (libc_cv_localstatedir): New substituted variable.
45478         * configure: Regenerated.
45479         * config.make.in (localstatedir): New variable, substituted from
45480         libc_cv_localstatedir.
45481         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45482         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45483         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45484         * sysdeps/gnu/configure: Regenerated.
45486 2012-06-21  Jeff Law  <law@redhat.com>
45488         [BZ #14277]
45489         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45490         free.  Simplify list management for _LIBC case.
45492 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45494         [BZ #14273]
45495         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45496         Clear sign bit of 64-bit integer value before comparing against
45497         overflow value.
45499         * sysdeps/mach/configure: Regenerated.
45501 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45503         [BZ #14278]
45504         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45506 2012-06-21  Jeff Law  <law@redhat.com>
45508         [BZ #13882]
45509         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45510         uint16_t for elements in the "seen" array to avoid char overflows.
45511         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45512         * elf/dl-open.c (dl_open_worker): Likewise.
45514 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45516         * scripts/list-sources.sh: Scan PORTS for translations.
45517         * po/libc.pot: Regenerated.
45519 2012-06-21  Andreas Jaeger  <aj@suse.de>
45521         [BZ #12194]
45522         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45523         warning.
45524         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45525         * bits/byteswap-16.h (__bswap_16): Likewise.
45526         * bits/byteswap.h (__bswap_constant_16): Likewise.
45528 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45530         [BZ #14117]
45531         * sysdeps/i386/fpu_control.h: Removed.
45532         * sysdeps/x86_64/fpu_control.h: Moved to ...
45533         * sysdeps/x86/fpu_control.h: Here.
45535         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45536         (_FPU_SETCW): Likewise.
45538 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45540         [BZ #14117]
45541         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45542         * sysdeps/x86/fpu/bits/mathinline.h: This.
45543         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45545         [BZ #14050]
45546         [BZ #14117]
45547         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45548         functions if __x86_64__ is defined.
45550 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45552         * string/endian.h: Add !__ASSEMBLER__ condition for including
45553         conversion interfaces.
45555 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45557         [BZ #14241]
45558         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45559         of ABS(x) in calculating zero to negative powers other than odd
45560         integers.
45561         * math/libm-test.inc (pow_test): Add more tests.
45563 2012-06-15  Andreas Jaeger  <aj@suse.de>
45565         * manual/contrib.texi (Contributors): Update entry of Liubov
45566         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45567         Machado Filho.
45569 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45571         * string/string.h: Add __wur to GNU version of strerror_r.
45573 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45575         [BZ #14229]
45576         * string/Makefile (tests): Add tst-strtok_r.
45577         * string/tst-strtok_r.c: New file.
45578         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45579         RAX_LP/RDX_LP on SAVE_PTR.
45581 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45583         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45585 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45587         * libm_test.inc (csqrt_test): Allow more spurious underflow
45588         exceptions.
45589         (j0_test): Likewise.
45590         (j1_test): Likewise.
45591         (y0_test): Likewise.
45592         (y1_test): Likewise.
45594 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45596         * po/Makefile (libc.pot): Use UTF-8 charset.
45598 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45600         [BZ #14210]
45601         Suppress sign-conversion warning from FD_SET.
45602         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45603         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45604         not unsigned long int.
45605         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45607 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45609         [BZ #14050]
45610         [BZ #14117]
45611         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45612         __extern_always_inline instead of __extern_inline.
45613         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45614         (__signbit): Likewise.
45615         (__signbitl): Support C++ namespace.
45616         (lrintf): New inline function.
45617         (lrint): Likewise.
45618         (llrintf): Likewise.
45619         (llrint): Likewise.
45620         (fmaxf): Likewise.
45621         (fmax): Likewise.
45622         (fminf): Likewise.
45623         (fmin): Likewise.
45624         (rint): Likewise.
45625         (rintf): Likewise.
45626         (ceil): Likewise.
45627         (ceilf): Likewise.
45628         (floor): Likewise.
45629         (floorf): Likewise.
45630         (nearbyint): Likewise.
45631         (nearbyintf): Likewise.
45633 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45635         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45636         non-default versions.
45638 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45640         [BZ #14218]
45641         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45643 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45645         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45646         (FE_UPWARD, FE_DOWNWARD): Don't define.
45647         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45648         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45650         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45651         reading it.
45652         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45653         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45655 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45657         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45658         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45659         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45660         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45662 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45664         [BZ #14117]
45665         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45666         * sysdeps/i386/fpu/Implies: New file.
45667         * sysdeps/x86_64/fpu/Implies: Likewise.
45668         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45669         * sysdeps/x86/fpu/bits/fenv.h: This.
45671         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45672         __SSE_MATH__.
45674 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45676         [BZ #14134]
45677         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45678         character 0xffff that matches the last element of the
45679         conversion table.
45681 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45683         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45684         fmodl commit.
45686 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45688         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45689         values higher than 25.6283.
45691 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45693         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45694         subnormal exponent extraction and add some __builtin_expect.
45695         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45696         Fix for subnormal mantissa calculation.
45698 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45700         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45701         cpu2 is -1 and errno is not ENOSYS.
45703 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45705         [BZ #14117]
45706         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45707         * sysdeps/x86/bits/string.h: This.
45708         * sysdeps/x86_64/bits/string.h: Removed.
45710         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45711         if not compiling for x86-64, but compiling for >= i486.
45713         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45714         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45716         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45717         New macro from Linux kernel 3.4.0.
45718         (FP_XSTATE_MAGIC2): Likewise.
45719         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45720         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45721         (struct _fpx_sw_bytes): New struct.
45722         (struct _xsave_hdr): Likewise.
45723         (struct _ymmh_state): Likewise.
45724         (struct _xstate): Likewise.
45726         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45727         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45728         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45729         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45730         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45731         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45733         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45734         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45735         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45736         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45737         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45738         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45740 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45742         [BZ #13743]
45743         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45744         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45745         (sysdep_headers): Include sys/platform/ppc.h.
45746         * sysdeps/powerpc/test-gettimebase.c: Test for
45747         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45748         * manual/Makefile (appendices): Include platform.texi.
45749         * manual/contrib.texi (Contributors): Update @node pointers.
45750         * manual/maint.texi (Maintenance): Likewise.
45751         (Platform): New node.
45752         * manual/platform.texi: New file.  Document the new features.
45754 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45755             Jakub Jelinek  <jakub@redhat.com>
45757         [BZ #14188]
45758         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45759         where __builtin_expect is unavailable.
45761 2012-06-03  David S. Miller  <davem@davemloft.net>
45763         * stdlib/longlong.h: Updated from GCC.
45765 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45767         [BZ #14042]
45768         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45769         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45770         __mcount_internal.
45771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45772         (GLIBC_2.16): Likewise.
45774 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45776         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45778 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45781         (default-abi): New variable.
45782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45783         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45784         variable.
45785         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45786         Likewise.
45787         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45788         Likewise.
45789         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45790         Likewise.
45792         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45793         definition.  Document in comment.
45795 2012-06-01  David S. Miller  <davem@davemloft.net>
45797         * stdlib/longlong.h: Updated from GCC.
45799 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45801         [BZ #14117]
45802         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45803         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45804         sys/debugreg.h sys/io.h here.
45805         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45806         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45807         sys/io.h.
45808         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45809         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45810         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45811         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45812         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45813         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45815         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45816         Define only if __x86_64__ is defined.
45818 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45820         [BZ #14048]
45821         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45822         Use int64_t for variable i.
45823         * math/libm-test.inc (fmod_test): Add more tests.
45825         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45826         z computation is not scheduled after fetestexcept.
45827         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45828         Use math_force_eval instead of asm to ensure calculation scheduled
45829         before exception test.
45830         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45831         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45833 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45836         computation is not scheduled after fetestexcept.
45838 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45840         [BZ #14117]
45841         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45842         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45844 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45846         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45847         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45849 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45851         [BZ #14117]
45852         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45853         <bits/wordsize.h>.
45854         (__WCHAR_MIN): Support __WORDSIZE == 64.
45855         (__WCHAR_MAX): Likewise.
45857         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45858         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45860         [BZ #14183]
45861         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45862         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45864         [BZ #14117]
45865         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45866         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45868         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45869         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45871         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45872         Defined to 1 if __x86_64__ isn't defined.
45873         (_STAT_VER_LINUX_OLD): New.
45874         (st_atime): Remove duplicate.
45875         (st_mtime): Likewise.
45876         (st_ctime): Likewise.
45878 2012-05-31  David S. Miller  <davem@davemloft.net>
45880         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45881         entries.
45883 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45885         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45886         gen-libm-test.pl.
45888         [BZ #14132]
45889         * elf/dl-reloc.c: Include <_itoa.h>.
45890         (_dl_reloc_bad_type): Remove use of INTUSE.
45891         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45892         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45893         * stdio-common/psiginfo.c (psiginfo): Likewise.
45894         * stdio-common/psignal.c (psignal): Likewise.
45895         * string/strsignal.c (strsignal): Likewise.
45896         * include/signal.h (_sys_siglist): Declare hidden proto.
45897         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45898         INTVARDEF with libc_hidden_data_def.
45899         * stdio-common/itoa-udigits.c: Likewise.
45900         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45901         (_itoa_lower_digits_internal): Remove declaration.
45902         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45903         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45904         (_sys_sigabbrev_internal): Remove aliases.
45905         (_sys_siglist): Define hidden alias.
45907 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45910         bits/sysctl.h.
45912 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45914         [BZ #14117]
45915         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45916         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45918         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45919         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45920         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45921         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45922         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45923         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45925         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45926         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45927         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45929         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45930         with __addr.
45931         (insw): Likewise.
45932         (insl): Likewise.
45933         (outsb): Likewise.
45934         (outsw): Likewise.
45935         (outsl): Likewise.
45937         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45938         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45939         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45941         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45942         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45943         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45944         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45945         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45946         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45948         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45949         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45951         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45952         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45954         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45955         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45956         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45958         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45959         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45960         to ...
45961         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45963         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45964         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45965         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45967         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45968         for x86-64.
45969         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45971 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45973         * math/math.h (M_El): Use two more decimal places.
45974         (M_LOG2El): Likewise.
45975         (M_LOG10El): Likewise.
45976         (M_LN2l): Likewise.
45977         (M_LN10l): Likewise.
45978         (M_PIl): Likewise.
45979         (M_PI_2l): Likewise.
45980         (M_PI_4l): Likewise.
45981         (M_1_PIl): Likewise.
45982         (M_2_PIl): Likewise.
45983         (M_2_SQRTPIl): Likewise.
45984         (M_SQRT2l): Likewise.
45985         (M_SQRT1_2l): Likewise.
45987 2012-05-31  David S. Miller  <davem@davemloft.net>
45989         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45990         values between float registers.
45991         * sysdeps/sparc/sparc64/memset.S: Likewise.
45992         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45994 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45996         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45997         -D_FORTIFY_SOURCE=1.
45998         (CPPFLAGS-tst-longjmp_chk.c): Define.
45999         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46000         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46001         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46002         CFLAGS-tst-wchar-h.c.
46004 2012-05-31  Marek Polacek  <polacek@redhat.com>
46006         [BZ #14132]
46007         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46008         __endmntent_internal): Remove declaration.
46009         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46010         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46011         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46013 2012-05-30  David S. Miller  <davem@davemloft.net>
46015         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46016         (___Q_simulate_exceptions): Use real FP ops rather than writing
46017         into the %fsr.
46018         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46019         Likewise.
46021 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46023         [BZ #14117]
46024         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46025         * sysdeps/x86/bits/xtitypes.h: This.
46027         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46028         * sysdeps/x86/bits/wordsize.h: This.
46030         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46031         * sysdeps/x86/bits/huge_vall.h: This.
46033         * sysdeps/i386/bits/select.h: Removed.
46034         * sysdeps/x86_64/bits/select.h: Renamed to ...
46035         * sysdeps/x86/bits/select.h: This.
46037         * sysdeps/i386/bits/setjmp.h: Removed.
46038         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46039         * sysdeps/x86/bits/setjmp.h: This.
46041         * sysdeps/i386/bits/mathdef.h: Removed.
46042         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46043         * sysdeps/x86/bits/mathdef.h: This.
46045 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46047         [BZ #14132]
46048         * include/sys/socket.h (__connect_internal)
46049         (__libc_sa_len_internal): Remove declaration.
46050         (__connect, __libc_sa_len): Declare hidden_proto.
46051         (SA_LEN): Remove use of INTUSE.
46052         * socket/connect.c: Add libc_hidden_def.
46053         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46054         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46055         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46056         alias.
46057         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46058         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46059         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46060         of adding _internal alias.
46062 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46064         [BZ #14117]
46065         * sysdeps/i386/bits/link.h: Removed.
46066         * sysdeps/i386/bits/linkmap.h: Likewise.
46067         * sysdeps/x86_64/bits/link.h: Renamed to ...
46068         * sysdeps/x86/bits/link.h: This.
46069         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46070         * sysdeps/x86/bits/linkmap.h: This.
46072         * sysdeps/i386/bits/endian.h: Removed.
46073         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46074         * sysdeps/x86/bits/endian.h: This.
46076         * sysdeps/i386/bits/byteswap.h: Removed.
46077         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46078         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46079         * sysdeps/x86/bits/byteswap.h: This.
46080         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46081         * sysdeps/x86/bits/byteswap-16.h: This.
46082         * sysdeps/i386/Implies: Add x86.
46083         * sysdeps/x86_64/Implies: Likewise.
46085 2012-05-30  David S. Miller  <davem@davemloft.net>
46087         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46088         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46089         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46090         (FP_TRAPPING_EXCEPTIONS): Define.
46091         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46092         (FP_TRAPPING_EXCEPTIONS): Define.
46093         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46094         subnormals only when inexact has been signalled or underflow
46095         exceptions are enabled.
46096         (_FP_PACK_CANONICAL): Likewise.
46098 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46100         [BZ #14183]
46101         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46102         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46104 2012-05-30  Richard Henderson  <rth@twiddle.net>
46106         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46107         with #ifndef NOT_IN_libc.
46109         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46110         marked to avoid plt entry.
46112 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46114         [BZ #14112]
46115         * Makeconfig (default-abi): New macro.
46116         (abi-includes): Likewise.
46117         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46118         $(abi-$(default-abi)-lib-soname) for soname if defined.
46119         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46120         abi-variants.
46121         * Makefile (installed-stubs): Likewise.
46122         * include/stubs-biarch.h: Removed.
46123         * scripts/lib-names.awk: Only handle one library at a time.
46124         * scripts/soversions.awk: Remove WORDSIZE support.
46125         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46126         entries.
46127         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46128         Removed.
46129         (syscall-list-default-condition): Likewise.
46130         (syscall-list-default-condition): Likewise.
46131         (syscall-list-includes): Likewise.
46132         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46133         syscall-list-* with abi-*.  Handle undefined abi-variants.
46134         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46135         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46136         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46137         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46138         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46139         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46140         Removed.
46141         (syscall-list-32-options): Likewise.
46142         (syscall-list-32-condition): Likewise.
46143         (syscall-list-64-options): Likewise.
46144         (syscall-list-64-condition): Likewise.
46145         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46146         macro.
46147         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46148         Renamed to ...
46149         (abi-*): This.
46150         (abi-64-ld-soname): New macro.
46151         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46152         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46153         Renamed to ...
46154         (abi-*): This.
46155         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46156         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46158 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46160         * sysdeps/unix/sysv/linux/kernel-features.h
46161         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46162         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46163         include <kernel-features.h>.
46164         [!__NR_ftruncate64]: Remove conditional code.
46165         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46166         [__NR_ftruncate64]: Make code unconditional.
46167         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46168         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46169         include <kernel-features.h>.
46170         [!__NR_ftruncate64]: Remove conditional code.
46171         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46172         [__NR_ftruncate64]: Make code unconditional.
46173         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46175         include <kernel-features.h>.
46176         [!__NR_ftruncate64]: Remove conditional code.
46177         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46178         [__NR_ftruncate64]: Make code unconditional.
46179         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46181         include <kernel-features.h>.
46182         [!__NR_ftruncate64]: Remove conditional code.
46183         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46184         [__NR_ftruncate64]: Make code unconditional.
46185         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46187         * configure.in (libc_cv_fpie): Weaken to a compile test using
46188         LIBC_TRY_CC_OPTION.
46189         * configure: Regenerated.
46191 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46197         Refreshed.
46198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46204         Refreshed.
46206 2012-05-27  David S. Miller  <davem@davemloft.net>
46208         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46209         (___Q_zero): New.
46210         (__Q_simulate_exceptions): Return void.  Change to simulate
46211         exceptions by writing into the %fsr.
46212         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46213         (__Qp_handle_exceptions): Likewise.
46214         (numbers): Delete.
46215         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46216         __Qp_handle_exceptions.
46217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46218         __Qp_handle_exceptions.
46219         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46220         as unused and give dummy FP_RND_NEAREST initializer.
46221         (FP_INHIBIT_RESULTS): Define.
46222         (___Q_simulate_exceptions): Update declaration.
46223         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46224         formatting.
46225         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46226         as unused and give dummy FP_RND_NEAREST initializer.
46227         (__Qp_handle_exceptions): Update declaration.
46228         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46229         formatting.
46231 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46233         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46234         the temporary FPU control word.
46235         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46236         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46237         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46238         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46239         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46240         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46241         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46242         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46243         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46244         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46245         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46247 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46249         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46250         fields.
46252 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46254         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46255         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46256         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46257         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46258         Likewise.
46259         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46260         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46261         Likewise.
46263 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46265         * po/h.po: Update from translation team.
46267 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46269         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46271         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46272         handling of denormals.
46273         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46274         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46275         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46276         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46278         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46279         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46280         Likewise.
46282 2012-05-26  Marek Polacek  <polacek@redhat.com>
46284         [BZ #14152]
46285         * math/libm-test.inc (fma_test): Don't always expect underflow
46286         exception.
46288 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46290         [BZ #12416]
46291         * elf/tst-execstack.c: Include stackinfo.h.
46292         (do_test): Adjust test case to ensure that pthread_getattr_np
46293         behaviour remains the same after marking stack executable.
46295 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46297         * sysdeps/unix/sysv/linux/kernel-features.h
46298         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46299         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46300         kernel-features.h.
46301         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46302         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46303         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46304         kernel-features.h.
46305         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46306         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46308 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46310         * configure.in: Define the default includes to being none.
46311         * configure: Regenerated.
46313 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46315         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46316         * sysdeps/x86_64/setjmp.S: Likewise.
46317         * sysdeps/i386/bsd-setjmp.S: Likewise.
46318         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46319         * sysdeps/i386/setjmp.S: Likewise.
46320         * sysdeps/i386/__longjmp.S: Likewise.
46321         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46322         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46324         * include/stap-probe.h: New file.
46325         * configure.in: Handle --enable-systemtap.
46326         * configure: Regenerated.
46327         * config.h.in (USE_STAP_PROBE): New #undef.
46328         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46329         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46330         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46332 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46334         [BZ #13717]
46335         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46336         to 2.4.0 where earlier.
46337         * sysdeps/unix/sysv/linux/configure: Regenerated.
46338         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46339         <kernel-features.h>.
46340         [__ASSUME_32BITUIDS]: Make code unconditional.
46341         [!__ASSUME_32BITUIDS]: Remove conditional code.
46342         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46343         <kernel-features.h>.
46344         [__ASSUME_32BITUIDS]: Make code unconditional.
46345         [!__ASSUME_32BITUIDS]: Remove conditional code.
46346         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46347         [__ASSUME_32BITUIDS]: Make code unconditional.
46348         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46349         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46350         <kernel-features.h>.
46351         [__ASSUME_32BITUIDS]: Make code unconditional.
46352         [!__ASSUME_32BITUIDS]: Remove conditional code.
46353         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46354         <kernel-features.h>.
46355         [__ASSUME_32BITUIDS]: Make code unconditional.
46356         [!__ASSUME_32BITUIDS]: Remove conditional code.
46357         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46358         <kernel-features.h>.
46359         [__ASSUME_32BITUIDS]: Make code unconditional.
46360         [!__ASSUME_32BITUIDS]: Remove conditional code.
46361         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46362         <kernel-features.h>.
46363         [__ASSUME_32BITUIDS]: Make code unconditional.
46364         [!__ASSUME_32BITUIDS]: Remove conditional code.
46365         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46366         <kernel-features.h>.
46367         [__ASSUME_32BITUIDS]: Make code unconditional.
46368         [!__ASSUME_32BITUIDS]: Remove conditional code.
46369         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46370         <kernel-features.h>.
46371         [__ASSUME_32BITUIDS]: Make code unconditional.
46372         [!__ASSUME_32BITUIDS]: Remove conditional code.
46373         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46374         <kernel-features.h>.
46375         [__ASSUME_32BITUIDS]: Make code unconditional.
46376         [!__ASSUME_32BITUIDS]: Remove conditional code.
46377         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46378         <kernel-features.h>.
46379         [__ASSUME_32BITUIDS]: Make code unconditional.
46380         [!__ASSUME_32BITUIDS]: Remove conditional code.
46381         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46382         <kernel-features.h>.
46383         [__ASSUME_32BITUIDS]: Make code unconditional.
46384         [!__ASSUME_32BITUIDS]: Remove conditional code.
46385         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46386         <kernel-features.h>.
46387         [__ASSUME_32BITUIDS]: Make code unconditional.
46388         [!__ASSUME_32BITUIDS]: Remove conditional code.
46389         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46390         <kernel-features.h>.
46391         [__NR_setresgid] (__setresgid): Do not declare.
46392         [__ASSUME_32BITUIDS]: Make code unconditional.
46393         [!__ASSUME_32BITUIDS]: Remove conditional code.
46394         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46395         <kernel-features.h>.
46396         [__NR_setresuid] (__setresuid): Do not declare.
46397         [__ASSUME_32BITUIDS]: Make code unconditional.
46398         [!__ASSUME_32BITUIDS]: Remove conditional code.
46399         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46400         <kernel-features.h>.
46401         [__ASSUME_32BITUIDS]: Make code unconditional.
46402         [!__ASSUME_32BITUIDS]: Remove conditional code.
46403         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46404         <kernel-features.h>.
46405         [__ASSUME_32BITUIDS]: Make code unconditional.
46406         [!__ASSUME_32BITUIDS]: Remove conditional code.
46407         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46408         <kernel-features.h>.
46409         [__ASSUME_32BITUIDS]: Make code unconditional.
46410         [!__ASSUME_32BITUIDS]: Remove conditional code.
46411         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46412         <kernel-features.h>.
46413         [__ASSUME_32BITUIDS]: Make code unconditional.
46414         [!__ASSUME_32BITUIDS]: Remove conditional code.
46415         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46416         <kernel-features.h>.
46417         [__ASSUME_32BITUIDS]: Make code unconditional.
46418         [!__ASSUME_32BITUIDS]: Remove conditional code.
46419         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46420         <kernel-features.h>.
46421         [__ASSUME_32BITUIDS]: Make code unconditional.
46422         [!__ASSUME_32BITUIDS]: Remove conditional code.
46423         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46424         <kernel-features.h>.
46425         [__ASSUME_32BITUIDS]: Make code unconditional.
46426         [!__ASSUME_32BITUIDS]: Remove conditional code.
46427         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46428         <kernel-features.h>.
46429         [__ASSUME_32BITUIDS]: Make code unconditional.
46430         [!__ASSUME_32BITUIDS]: Remove conditional code.
46431         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46432         <kernel-features.h>.
46433         [__ASSUME_32BITUIDS]: Make code unconditional.
46434         [!__ASSUME_32BITUIDS]: Remove conditional code.
46435         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46436         <kernel-features.h>.
46437         [__ASSUME_32BITUIDS]: Make code unconditional.
46438         [!__ASSUME_32BITUIDS]: Remove conditional code.
46439         * sysdeps/unix/sysv/linux/kernel-features.h
46440         (__ASSUME_SETRESUID_SYSCALL): Remove.
46441         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46442         (__ASSUME_32BITUIDS): Likewise.
46443         (__ASSUME_LDT_WORKS): Likewise.
46444         (__ASSUME_O_DIRECTORY): Likewise.
46445         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46446         architecture but not kernel version.
46447         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46448         (__ASSUME_MMAP2_SYSCALL): Likewise.
46449         (__ASSUME_STAT64_SYSCALL): Likewise.
46450         (__ASSUME_IPC64): Likewise.
46451         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46452         <kernel-features.h>.
46453         [__ASSUME_32BITUIDS]: Make code unconditional.
46454         [!__ASSUME_32BITUIDS]: Remove conditional code.
46455         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46456         <kernel-features.h>.
46457         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46458         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46459         132096]: Remove conditional code.
46460         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46461         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46462         <kernel-features.h>.
46463         [__ASSUME_32BITUIDS]: Make code unconditional.
46464         [!__ASSUME_32BITUIDS]: Remove conditional code.
46465         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46466         <kernel-features.h>.
46467         [__ASSUME_32BITUIDS]: Make code unconditional.
46468         [!__ASSUME_32BITUIDS]: Remove conditional code.
46469         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46470         <kernel-features.h>.
46471         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46472         unconditional.
46473         (__setresgid): Do not declare.
46474         [__ASSUME_32BITUIDS]: Make code unconditional.
46475         [!__ASSUME_32BITUIDS]: Remove conditional code.
46476         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46477         <kernel-features.h>.
46478         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46479         unconditional.
46480         (__setresuid): Do not declare.
46481         [__ASSUME_32BITUIDS]: Make code unconditional.
46482         [!__ASSUME_32BITUIDS]: Remove conditional code.
46483         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46484         <kernel-features.h>.
46485         [__ASSUME_32BITUIDS]: Make code unconditional.
46486         [!__ASSUME_32BITUIDS]: Remove conditional code.
46487         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46488         <kernel-features.h>.
46489         [__ASSUME_32BITUIDS]: Make code unconditional.
46490         [!__ASSUME_32BITUIDS]: Remove conditional code.
46492 2012-05-25  Richard Henderson  <rth@twiddle.net>
46494         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46495         dl_hwcap to ifunc resolver.
46496         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46497         elf_ifunc_invoke.
46498         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46499         dl_hwcap to ifunc resolver.
46500         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46502 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46504         [BZ #14153]
46505         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46506         for |x| <= 2**-26, not 2**-57.
46507         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46508         exception.
46510 2012-05-24  Jeff Law  <law@redhat.com>
46512         * stdio-common/Makefile (tests): Add bug25.
46513         * stdio-common/bug25.c: New test.
46515 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46517         [BZ #13576]
46518         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46519         multiple of MALLOC_ALIGNMENT in size.
46520         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46522 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46524         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46525         Require >= 256.
46526         (FILENAME_MAX): Use macro-int-constant.
46527         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46528         (_IOFBF): Use macro-int-constant.
46529         (_IOLBF): Likewise.
46530         (_IONBF): Likewise.
46531         (SEEK_CUR): Likewise.
46532         (SEEK_END): Likewise.
46533         (SEEK_SET): Likewise.
46534         (TMP_MAX): Likewise.
46535         (EOF): Use macro-int-constant.  Require < 0.
46536         (NULL): Use macro-constant.  Require == 0.
46537         (stdin): Require type to be FILE *.
46538         (stdout): Likewise.
46539         (stderr): Likewise.
46540         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46541         macro-int-constant.
46542         (EXIT_SUCCESS): Likewise.
46543         (NULL): Use macro-constant.  Require == 0.
46544         (RAND_MAX): Use macro-int-constant.
46545         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46546         [C99-based standards] (strtof): Require function.
46547         [C99-based standards] (strtold): Likewise.
46548         [C99-based standards] (strtoll): Likewise.
46549         [C99-based standards] (strtoull): Likewise.
46550         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46551         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46552         [ISO || ISO99 || ISO11] (math.h): Likewise.
46553         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46554         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46555         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46557 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46559         [BZ #14132]
46560         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46561         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46562         * intl/dgettext.c (DCGETTEXT): Likewise.
46563         * intl/gettext.c (DCGETTEXT): Likewise.
46564         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46565         * posix/regex_internal.h (gettext): Likewise.
46566         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46567         Remove declaration.
46568         * include/argz.h (__argz_count_internal)
46569         (__argz_stringify_internal): Remove declaration.
46570         (__argz_count, __argz_stringify): Declare hidden proto.
46571         * intl/dcgettext.c: Remove use of INTDEF.
46572         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46573         * string/argz-stringify.c: Likewise.
46574         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46575         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46576         Declare hidden proto.
46577         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46578         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46579         Declare hidden proto.
46580         * include/stdio.h (__asprintf_internal): Don't declare.
46581         (__asprintf): Don't define as macro.  Declare hidden proto.
46582         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46583         (__fsetlocking): Declare hidden proto.
46584         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46585         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46586         hidden proto.
46587         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46588         (_IO_setlinebuf): Remove use of INTUSE.
46589         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46590         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46591         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46592         Remove declaration.
46593         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46594         (_IO_do_flush): Remove use of INTUSE.
46595         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46596         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46597         (_IO_adjust_column, _IO_least_wmarker)
46598         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46599         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46600         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46601         (_IO_default_doallocate, _IO_wdefault_doallocate)
46602         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46603         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46604         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46605         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46606         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46607         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46608         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46609         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46610         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46611         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46612         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46613         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46614         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46615         proto.
46616         (_IO_flush_all_internal, _IO_adjust_column_internal)
46617         (_IO_default_uflow_internal, _IO_default_finish_internal)
46618         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46619         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46620         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46621         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46622         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46623         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46624         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46625         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46626         (_IO_file_close_internal, _IO_file_close_it_internal)
46627         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46628         (_IO_file_init_internal, _IO_file_attach_internal)
46629         (_IO_file_fopen_internal, _IO_file_read_internal)
46630         (_IO_file_sync_internal, _IO_file_seek_internal)
46631         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46632         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46633         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46634         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46635         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46636         (_IO_list_all_internal, _IO_link_in_internal)
46637         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46638         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46639         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46640         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46641         (_IO_do_write_internal, _IO_padn_internal)
46642         (_IO_getline_info_internal, _IO_getline_internal)
46643         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46644         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46645         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46646         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46647         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46648         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46649         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46650         with libc_hidden_ver, remove use of INTUSE.
46651         * libio/genops.c: Likewise.
46652         * libio/freopen.c: Likewise.
46653         * libio/freopen64.c: Likewise.
46654         * libio/iofclose.c: Likewise.
46655         * libio/iofdopen.c: Likewise.
46656         * libio/iofflush.c: Likewise.
46657         * libio/iofflush_u.c: Likewise.
46658         * libio/iofgets.c: Likewise.
46659         * libio/iofgets_u.c: Likewise.
46660         * libio/iofopen.c: Likewise.
46661         * libio/iofopncook.c: Likewise.
46662         * libio/iofread.c: Likewise.
46663         * libio/iofread_u.c: Likewise.
46664         * libio/ioftell.c: Likewise.
46665         * libio/iofwrite.c: Likewise.
46666         * libio/iogetline.c: Likewise.
46667         * libio/iogets.c: Likewise.
46668         * libio/iogetwline.c: Likewise.
46669         * libio/iopadn.c: Likewise.
46670         * libio/iopopen.c: Likewise.
46671         * libio/ioseekoff.c: Likewise.
46672         * libio/ioseekpos.c: Likewise.
46673         * libio/iosetbuffer.c: Likewise.
46674         * libio/iosetvbuf.c: Likewise.
46675         * libio/ioungetc.c: Likewise.
46676         * libio/ioungetwc.c: Likewise.
46677         * libio/iovdprintf.c: Likewise.
46678         * libio/iovsprintf.c: Likewise.
46679         * libio/iovsscanf.c: Likewise.
46680         * libio/memstream.c: Likewise.
46681         * libio/obprintf.c: Likewise.
46682         * libio/oldfileops.c: Likewise.
46683         * libio/oldiofclose.c: Likewise.
46684         * libio/oldiofdopen.c: Likewise.
46685         * libio/oldiofopen.c: Likewise.
46686         * libio/oldiopopen.c: Likewise.
46687         * libio/oldstdfiles.c: Likewise.
46688         * libio/putc.c: Likewise.
46689         * libio/setbuf.c: Likewise.
46690         * libio/setlinebuf.c: Likewise.
46691         * libio/stdfiles.c: Likewise.
46692         * libio/strops.c: Likewise.
46693         * libio/vasprintf.c: Likewise.
46694         * libio/vscanf.c: Likewise.
46695         * libio/vsnprintf.c: Likewise.
46696         * libio/vswprintf.c: Likewise.
46697         * libio/wfiledoalloc.c: Likewise.
46698         * libio/wfileops.c: Likewise.
46699         * libio/wgenops.c: Likewise.
46700         * libio/wmemstream.c: Likewise.
46701         * libio/wstrops.c: Likewise.
46702         * libio/__fpurge.c: Likewise.
46703         * libio/__fsetlocking.c: Likewise.
46704         * assert/assert.c: Likewise.
46705         * debug/fgets_chk.c: Likewise.
46706         * debug/fgets_u_chk.c: Likewise.
46707         * debug/fread_chk.c: Likewise.
46708         * debug/fread_u_chk.c: Likewise.
46709         * debug/gets_chk.c: Likewise.
46710         * debug/obprintf_chk.c: Likewise.
46711         * debug/vasprintf_chk.c: Likewise.
46712         * debug/vdprintf_chk.c: Likewise.
46713         * debug/vsnprintf_chk.c: Likewise.
46714         * debug/vsprintf_chk.c: Likewise.
46715         * malloc/mtrace.c: Likewise.
46716         * misc/error.c: Likewise.
46717         * misc/syslog.c: Likewise.
46718         * stdio-common/asprintf.c: Likewise.
46719         * stdio-common/fxprintf.c: Likewise.
46720         * stdio-common/getw.c: Likewise.
46721         * stdio-common/isoc99_fscanf.c: Likewise.
46722         * stdio-common/isoc99_scanf.c: Likewise.
46723         * stdio-common/isoc99_vfscanf.c: Likewise.
46724         * stdio-common/isoc99_vscanf.c: Likewise.
46725         * stdio-common/isoc99_vsscanf.c: Likewise.
46726         * stdio-common/printf-prs.c: Likewise.
46727         * stdio-common/printf_fp.c: Likewise.
46728         * stdio-common/printf_fphex.c: Likewise.
46729         * stdio-common/printf_size.c: Likewise.
46730         * stdio-common/putw.c: Likewise.
46731         * stdio-common/scanf.c: Likewise.
46732         * stdio-common/sprintf.c: Likewise.
46733         * stdio-common/tmpfile.c: Likewise.
46734         * stdio-common/vfprintf.c: Likewise.
46735         * stdio-common/vfscanf.c: Likewise.
46736         * stdlib/strfmon_l.c: Likewise.
46737         * sunrpc/openchild.c: Likewise.
46738         * sunrpc/xdr_stdio.c: Likewise.
46739         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46740         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46742 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46744         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46746         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46747         in the third column, to generate for the shared library an IFUNC
46748         that uses _dl_vdso_vsym.
46749         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46750         * Makeconfig (object-suffixes-noshared): New variable.
46752         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46753         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46754         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46755         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46757         [BZ #14132]
46758         * include/sys/time.h (__gettimeofday): Remove macro.
46759         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46760         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46761         Remove INTDEF.
46762         (__gettimeofday): Add libc_hidden_def.
46763         (gettimeofday): Add libc_hidden_weak.
46764         * sysdeps/mach/gettimeofday.c: Likewise.
46765         * sysdeps/posix/gettimeofday.c: Likewise.
46766         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46767         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46768         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46769         (__gettimeofday_internal): Remove strong_alias.
46770         (__gettimeofday): Add libc_hidden_def.
46771         (gettimeofday): Add libc_hidden_weak.
46772         * sysdeps/unix/syscalls.list (gettimeofday):
46773         Remove __gettimeofday_internal alias.
46775 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46776             H.J. Lu  <hongjiu.lu@intel.com>
46778         [BZ #12495]
46779         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46780         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46781         (largebin_index_32_big): New.
46782         (largebin_index): Use it for 16-byte alignment.
46783         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46784         correction with front_misalign.
46786 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46790         Likewise.
46791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46792         Likewise.
46793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46794         Likewise.
46795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46796         Likewise.
46797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46798         Likewise.
46799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46800         Likewise.
46801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46802         Likewise.
46803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46804         Likewise.
46805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46806         Likewise.
46807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46808         Likewise.
46809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46810         Likewise.
46811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46812         Likewise.
46814         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46815         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46817 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46819         [BZ #10846]
46820         [BZ #14036]
46821         * math/libm-test.inc (exp_test): Add test from bug 14036.
46822         (pow_test): Add test from bug 10846.
46824         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46825         and other flags.
46826         (special_function): Do not include flags in test name.
46827         (parse_args): Likewise.
46828         * sysdeps/i386/fpu/libm-test-ulps: Update.
46829         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46830         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46831         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46834         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46835         exceptions.
46836         * math/libm-test.inc ("Philosophy"): Update comment about
46837         exception testing.
46838         (UNDERFLOW_EXCEPTION): New macro.
46839         (UNDERFLOW_EXCEPTION_OK): Likewise.
46840         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46841         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46842         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46843         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46844         (INVALID_EXCEPTION_OK): Update value.
46845         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46846         (OVERFLOW_EXCEPTION_OK): Likewise.
46847         (IGNORE_ZERO_INF_SIGN): Likewise.
46848         (test_exceptions): Handle underflow exceptions.
46849         (acos_test): Update for underflow exception expectations.
46850         (cexp_test): Likewise.
46851         (clog_test): Likewise.
46852         (clog10_test): Likewise.
46853         (csqrt_test): Likewise.
46854         (ctan_test): Likewise.
46855         (ctanh_test): Likewise.
46856         (exp_test): Likewise.
46857         (exp10_test): Likewise.
46858         (exp2_test): Likewise.
46859         (expm1_test): Likewise.
46860         (fma_test): Likewise.
46861         (j0_test): Likewise.
46862         (jn_test): Likewise.
46863         (nexttoward_test): Likewise.
46864         (pow_test): Likewise.
46865         (scalbn_test): Likewise.
46866         (scalbln_test): Likewise.
46867         (tan_test): Likewise.
46868         (y1_test): Likewise.
46869         * sysdeps/i386/fpu/libm-test-ulps: Update.
46870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46872 2012-05-23  David S. Miller  <davem@davemloft.net>
46874         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46875         (__libc_sigaction): Remove unused local variables.
46877 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46879         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46881 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46883         mktime: avoid signed integer overflow
46884         * time/mktime.c (__mktime_internal): Do not mishandle the case
46885         where diff == INT_MIN.
46887         mktime: simplify computation of average
46888         * time/mktime.c (ranged_convert): Use new time_t_avg function
46889         instead of rolling our own (probably-slower) code.
46891         mktime: do not assume signed right shift propagates sign bit
46892         * time/mktime.c (isdst_differ): New static function.
46893         (__mktime_internal): No need to normalize tm_isdst now.
46894         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46895         tm_isdst values.
46897         mktime: merge another wrapv change from gnulib
46898         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46899         from some compilers.
46901         mktime: remove incorrect attempt at unusual arithmetics
46902         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46903         The code didn't really work on such machines anyway.
46904         (TYPE_MINIMUM): Assume two's complement.
46905         (twos_complement_arithmetic): Verify that long_int and time_t
46906         are two's complement (or unsigned, in the latter case).
46908         mktime: check signed shifts on long_int and time_t, too
46909         * time/mktime.c (SHR): Check that shifts work as desired
46910         on the types long_int and time_t too, as SHR is used on
46911         such types.
46913         mktime: do not assume 'long' is wide enough
46914         * time/mktime.c (verify): Move decl up.
46915         (long_int): New type.
46916         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46917         to remove assumption in the code that 'long' is wide enough to
46918         store year values.  This assumption is not true on x32 and on
46919         some non-glibc platforms.
46921         mktime: merge wrapv change from gnulib
46922         * time/mktime.c (WRAPV): New macro.
46923         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46924         (guess_time_tm, __mktime_internal): Do not assume that signed
46925         integer overflow wraps around; modern compilers generate code
46926         where this assumption is no longer valid.
46928 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46930         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46931         Replace "jmp L(pseudo_end)" with "ret".
46932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46933         Likewise.
46935 2012-05-23  Andreas Jaeger  <aj@suse.de>
46937         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46938         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46940 2012-05-23  Andreas Jaeger  <aj@suse.de>
46941             Maximilian Attems  <max@stro.at>
46943         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46944         New macros.
46946 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46948         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46949         code so that pseudo_end is just ret and the stack pointer is
46950         correct also for static library in error case.
46952 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46954         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46955         move to syscalls.list.
46956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46961         * manual/install.texi (Running make install): Do not mention Linux
46962         kernel version for which pt_chown is not needed.
46963         (Linux): Do not mention problems with nscd with 2.0 kernels.
46964         * INSTALL: Regenerated.
46966 2012-05-23  Andreas Jaeger  <aj@suse.de>
46968         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46969         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46970         macro.
46971         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46972         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46973         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46974         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46975         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46976         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46977         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46978         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46979         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46980         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46981         * sysdeps/unix/sysv/linux/bits/in.h
46982         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46984 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46986         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46987         (PREPARE_VERSION): Just use assert instead, it will be elided
46988         under [NDEBUG] anyway.
46990 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46992         * sysdeps/unix/sysv/linux/Makefile: Include
46993         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46994         (sysdep_routines): Remove sysctl.
46995         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46996         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46997         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46998         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46999         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47001 2012-05-22  Andreas Jaeger  <aj@suse.de>
47003         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47004         that pseudo_end is just ret and the stack pointer is correct also
47005         for static library in error case.
47007 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47009         [BZ #14122]
47010         * nss/nsswitch.c (defconfig_entries): New variable.
47011         (__nss_database_lookup): Don't leak defconfig entries.
47012         (nss_parse_service_list): Don't leak on error paths.
47013         (free_database_entries): New function.
47014         (free_defconfig): New function.
47015         (free_mem): Move common code to free_database_entries.
47017 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47019         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47020         Add arch_prctl.
47021         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47023         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47024         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47025         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47026         New macro.
47027         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47028         (INTERNAL_SYSCALL_TYPES): Likewise.
47029         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47030         (LOAD_REGS_TYPES_[1-6]): Likewise.
47031         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47032         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47034 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47036         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47037         copysignl for GLIBC_2_0.
47038         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47039         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47040         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47041         logbl for GLIBC_2_0.
47042         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47043         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47045 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47047         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47048         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47050         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47051         Use "neg %eax".
47053         * time/mktime.c: Update copyright years.
47055 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47057         mktime: merge comment-quoting-style change from gnulib
47058         * time/mktime.c: Quote 'like this' in comments.
47059         The GNU coding standards suggest that we no longer quote `like this',
47060         as "`" and "'" are typically rendered asymmetrically nowadays.
47061         The typical gnulib style is to quote 'like this' when quoting
47062         code, and "like this" when quoting English.
47064         * time/mktime.c (compile-command): Add "-I.".
47066         mktime: merge mktime-internal.h change from gnulib
47067         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47069         mktime: merge time_r change from gnulib
47070         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47072         mktime: merge DEBUG change from gnulib
47073         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47074         case system <time.h> has a #define.
47076         mktime: merge <sys/types.h> change from gnulib
47077         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47078         since <time.t> is now guaranteed to define time_t.
47080         mktime: merge HAVE_CONFIG_H change from gnulib
47081         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47083 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47086         Use "neg %eax".
47088         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47089         __rlim_t cast.
47090         (struct rusage): Use anonymous union to pad each field to
47091         __syscall_slong_t.
47093 2012-05-21  David S. Miller  <davem@davemloft.net>
47095         * Makefules (o-iterator): Remove .s cases.
47096         (compile-command.s): Delete.
47097         (COMPILE.s): Delete.
47098         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47100 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47102         * configure.in (libc_cv_predef_stack_protector): Only consider
47103         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47104         * configure: Regenerated.
47106 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47109         New macro.  Use R*LP on int and pointer.
47110         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47111         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47112         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47113         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47115         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47116         [__WORDSIZE_TIME64_COMPAT32] instead of
47117         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47118         (struct utmp): Likewise.
47119         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47120         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47121         Renamed to ...
47122         (__WORDSIZE_TIME64_COMPAT32): This.
47123         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47124         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47125         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47126         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47127         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47128         (__WORDSIZE_TIME64_COMPAT32): New macro.
47130 2012-05-21  Andreas Jaeger  <aj@suse.de>
47132         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47133         only if [SHARED]. Add prototype for __wcschr_ia32.
47135 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47137         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47138         of %rbp unmolested in the jmp_buf while mangling the low bits.
47139         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47140         unmolested high bits of %rbp while demangling the low bits.
47141         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47143 2012-05-21  Andreas Jaeger  <aj@suse.de>
47145         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47146         * sunrpc/svc_simple.c: Use it for registerrpc.
47147         * sunrpc/xcrypt.c: Use it for passwd2des.
47149         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47151 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47153         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47154         Don't define if [__SYSCALL_WORDSIZE != 32].
47155         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47156         New macro.
47158 2012-05-21  Bruno Haible  <bruno@clisp.org>
47159             Andreas Jaeger  <aj@suse.de>
47161         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47162         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47163         inptr and inend for must_buffer_ch.
47164         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47165         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47166         * stdio-common/Makefile (tests): Remove bug15.
47167         (bug15-ENV): Remove macro.
47168         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47169         anymore.
47171 2012-05-19  Andreas Jaeger  <aj@suse.de>
47172             Roland McGrath  <roland@hack.frob.com>
47174         * manual/contrib.texi: Completely rewritten. It contains now an
47175         alphabetical list of contributors and their contributions.
47177 2012-05-21  Richard Henderson  <rth@twiddle.net>
47179         * misc/getauxval.c (__getauxval): Use unsigned long int.
47180         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47181         (getauxval): Use unsigned long int.
47183 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47185         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47187 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47189         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47190         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47191         __alignof__ (long double).
47193 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47197 2012-05-20  Richard Henderson  <rth@twiddle.net>
47199         * misc/getauxval.c: New file.
47200         * misc/sys/auxv.h: New file.
47201         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47202         (routines): Add getauxval.
47203         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47204         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47205         * elf/dl-sysdep.c (_dl_auxv): Remove.
47206         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47207         * elf/dl-support.c (_dl_auxv): New variable.
47208         (_dl_aux_init): Initialize it.
47209         * manual/startup.texi (Auxiliary Vector): New node.
47210         * sysdeps/generic/bits/hwcap.h: New file.
47211         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47212         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47213         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47214         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47215         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47216         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47218         Update.
47219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47222         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47228 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47232 2012-05-19  David S. Miller  <davem@davemloft.net>
47234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47236 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47238         [BZ #14123]
47239         * math/s_ccosh.c: Include <float.h>
47240         (__ccosh): Avoid internal overflow calculating sinh and cosh
47241         values before multiplying by sin and cos values.
47242         * math/s_ccoshf.c: Likewise.
47243         * math/s_ccoshl.c: Likewise.
47244         * math/s_csin.c: Likewise.
47245         * math/s_csinf.c: Likewise.
47246         * math/s_csinl.c: Likewise.
47247         * math/s_csinh.c: Likewise.
47248         * math/s_csinhf.c: Likewise.
47249         * math/s_csinhl.c: Likewise.
47250         * math/libm-test.inc (ccos_test): Add more tests.
47251         (ccosh_test): Likewise.
47252         (csin_test): Likewise.
47253         (csinh_test): Likewise.
47254         * sysdeps/i386/fpu/libm-test-ulps: Update.
47255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47257 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47259         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47260         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47262         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47264 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47266         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47267         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47268         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47269         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47270         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47271         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47272         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47273         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47274         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47275         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47276         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47277         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47278         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47279         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47280         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47281         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47282         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47283         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47284         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47285         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47286         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47287         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47288         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47289         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47290         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47291         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47292         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47293         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47294         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47295         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47296         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47298 2012-05-18  Andreas Jaeger  <aj@suse.de>
47300         * csu/.gitignore: Delete.
47302 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47304         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47305         (timex): Use __syscall_slong_t.
47307 2012-05-18  Andreas Jaeger  <aj@suse.de>
47308             Carlos O'Donell  <carlos_odonell@mentor.com>
47310         * manual/install.texi (Configuring and compiling): Update
47311         description about files modified in the source directory.
47312         * INSTALL: Regenerated.
47314 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47316         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47317         value.  Use "or" to set return value to -1.
47318         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47319         negate return value.
47321 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47323         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47324         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47325         failure if the compiler has Graphite support disabled.
47326         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47327         Likewise.
47328         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47329         (CFLAGS-memmove.c): Likewise.
47330         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47331         Likewise.
47333 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47335         * sysdeps/x86_64/x32/_itoa.h: New file.
47337         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47338         getdents system call only if kernel and user dirents have the
47339         same d_ino and d_off.
47341         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47342         LLONG_MAX != LONG_MAX.
47343         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47344         (_fitoa_word): Likewise.
47346         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47347         years.
47348         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47349         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47350         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47352         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47353         include <bits/wordsize.h>.  Check __x86_64__ instead of
47354         __WORDSIZE.
47355         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47356         if __x86_64__ is defined.  Use anonymous union on fpstate.
47358         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47359         anonymous union.
47361 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47363         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47364         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47365         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47366         Refer to _rtld_local_ro instead of _rtld_global_ro.
47367         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47368         Likewise.
47369         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47370         Likewise.
47371         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47372         Likewise.
47373         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47374         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47375         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47377         * sysdeps/powerpc/powerpc32/dl-machine.c
47378         (__elf_machine_runtime_setup) [PROF]: Don't reference
47379         _dl_prof_resolve.
47381 2012-05-18  Andreas Jaeger  <aj@suse.de>
47383         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47384         function only available for GCCs before 3.4 since GCC 3.4
47385         introduced a builtin.
47386         (lrint): Likewise.
47387         (llrintf): Likewise.
47388         (llrint): Likewise.
47389         (fmaxf): Likewise.
47390         (fmax): Likewise.
47391         (fminf): Likewise.
47392         (fmin): Likewise.
47393         (rint): Likewise.
47394         (rintf): Likewise.
47395         (nearbyint): Likewise.
47396         (nearbyintf): Likewise.
47397         (ceil): Likewise.
47398         (ceilf): Likewise.
47399         (floor): Likewise.
47400         (floorf): Likewise.
47402 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47404         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47405         on both fields and cast pointer to __syscall_ulong_t.
47407         * bits/types.h (__fsword_t): New type.
47408         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47409         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47410         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47411         (__FSWORD_T_TYPE): Likewise.
47412         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47413         (__FSWORD_T_TYPE): Likewise.
47414         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47415         (__FSWORD_T_TYPE): Likewise.
47416         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47417         (__FSWORD_T_TYPE): Likewise.
47418         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47419         __SWORD_TYPE with __fsword_t.
47420         (statfs64): Likewise.
47422 2012-05-17  David S. Miller  <davem@davemloft.net>
47424         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47426 2012-05-17  Andreas Jaeger  <aj@suse.de>
47428         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47429         warning.
47431 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47433         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47435 2012-05-17  Andreas Jaeger  <aj@suse.de>
47437         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47438         when it is used.
47440 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47442         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47444 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47446         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47447         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47449 2012-05-17  Andreas Jaeger  <aj@suse.de>
47450             Carlos O'Donell  <carlos_odonell@mentor.com>
47452         [BZ #14059]
47453         * sysdeps/x86_64/multiarch/init-arch.h
47454         (bit_YMM_Usable): Rename to...
47455         (bit_AVX_Usable): ... this.
47456         (bit_FMA4_Usable): New macro.
47457         (bit_XMM_state): New macro.
47458         (bit_YMM_state): New macro.
47459         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47460         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47461         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47462         (CPUID_OSXSAVE): New macro.
47463         (CPUID_AVX): New macro.
47464         (CPUID_FMA4): New macro.
47465         (index_YMM_Usable): Rename to...
47466         (index_AVX_Usable): ... this.
47467         (HAS_AVX): Use HAS_ARCH_FEATURE.
47468         (HAS_FMA4): Likewise.
47469         (HAS_YMM_USABLE): Remove.
47470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47471         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47472         are present.
47473         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47474         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47475         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47476         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47477         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47479 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47481         * math/libm-test.c: Support platforms without multiple rounding modes.
47482         * math/bug-nextafter.c: Support platforms without FP exceptions.
47483         * math/bug-nexttoward.c: Likewise.
47484         * math/test-fenv.c: Likewise.
47485         * math/test-misc.c: Likewise.
47486         * stdlib/bug-getcontext.c: Likewise.
47488 2012-05-17  Andreas Jaeger  <aj@suse.de>
47490         * manual/examples/search.c (critter_cmp): Change signature to
47491         avoid warnings.
47492         * manual/string.texi (Collation Functions): Likewise.
47494 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47496         * bits/types.h: Fold copyright years.
47497         * bits/typesizes.h: Likewise.
47498         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47499         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47500         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47501         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47502         * time/time.h: Likewise.
47504 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47506         [BZ #208]
47507         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47508         in instead of returning them.  Return void.
47509         (__libc_mallinfo): Accumulate over all arenas.
47510         (__malloc_stats): Adjust for change in int_mallinfo interface.
47512 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47514         [BZ #10375]
47515         * configure.in (NM): Add AC_CHECK_TOOL for it.
47516         (libc_extra_cflags): New substituted variable.
47517         Check for -fstack-protector being used implicitly.
47518         * configure: Regenerated.
47519         * config.make.in (config-extra-cflags): New variable,
47520         gets @libc_extra_cflags@.
47521         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47523         [BZ #10375]
47524         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47525         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47526         * configure: Regenerated.
47527         * config.make.in (CPPUNDEFS): New substituted variable.
47528         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47529         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47530         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47532 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47534         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47535         (mq_attr): Use __syscall_slong_t.
47537 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47539         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47540         Check __x86_64__ instead of __WORDSIZE.
47541         (_STAT_VER_LINUX): Likewise.
47542         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47543         __syscall_ulong_t and __syscall_slong_t.
47544         (stat64): Likewise.
47546 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47548         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47550 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47552         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47554 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47556         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47557         __syscall_ulong_t.
47559         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47560         include <bits/wordsize.h>.  Check __x86_64__ instead of
47561         __WORDSIZE.
47562         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47563         defined.
47564         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47566         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47567         include <bits/wordsize.h>.  Check __x86_64__ instead of
47568         __WORDSIZE.
47569         (user_regs_struct): Use "__extension__ unsigned long long"
47570         instead of "unsigned long" if __x86_64__ is defined.
47571         (user): Likewise.  Pad after pointer field if __ILP32__ is
47572         defined.
47574 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47576         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47577         versions 5 to 9.
47578         * configure: Regenerated.
47579         * manual/install.texi (texinfo): Increase version requirement to
47580         4.5 or later.
47581         * INSTALL: Regenerated.
47583         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47585 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47587         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47589         * sysdeps/x86_64/x32/ffs.c: New file.
47591         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47592         __syscall_ulong_t.
47593         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47594         defined.  Use __syscall_ulong_t.
47595         (shminfo): Use __syscall_ulong_t.
47596         (shm_info): Likewise.
47598         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47599         __syscall_ulong_t.
47601         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47602         <bits/wordsize.h>.
47603         (msgqnum_t): Use __syscall_ulong_t.
47604         (msglen_t): Likewise.
47605         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47606         __syscall_ulong_t.
47608         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47609         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47611         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47613         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47614         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47616         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47617         __syscall_slong_t.
47619         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47620         include <bits/wordsize.h>.  Check __x86_64__ instead of
47621         __WORDSIZE.
47623         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47624         "unsigned long long int" if __x86_64__ is defined.
47625         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47627         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47628         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47629         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47631         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47632         <stdint.h>.
47633         (GET_PC): Cast to uintptr_t first.
47634         (GET_FRAME): Likewise.
47635         (GET_STACK): Likewise.
47637         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47638         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47639         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47640         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47641         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47642         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47643         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47644         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47645         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47646         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47647         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47648         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47649         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47650         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47651         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47652         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47653         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47654         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47655         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47656         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47657         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47658         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47659         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47660         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47661         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47662         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47663         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47664         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47665         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47667 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47669         * Makerules (+depfiles): Also collect depfiles from .oS in
47670         $(extra-objs).
47671         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47672         .oS, $(libnldbl-routines)).
47674         * Makerules (native-compile-mkdep-flags): Define.
47675         * sunrpc/Makefile (extra-objs): Add $(addprefix
47676         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47677         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47678         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47679         calling $(make-target-directory).
47681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47683         * bits/types.h (__snseconds_t): Removed.
47684         * time/time.h (struct timespec): Replace __snseconds_t with
47685         __syscall_slong_t.
47686         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47687         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47688         Likewise.
47689         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47690         (__SNSECONDS_T_TYPE): Likewise.
47691         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47692         (__SNSECONDS_T_TYPE): Likewise.
47693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47694         (__SNSECONDS_T_TYPE): Likewise.
47696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47698         * sysdeps/mach/hurd/bits/typesizes.h
47699         (__SYSCALL_SLONG_TYPE): New macro.
47700         (__SYSCALL_ULONG_TYPE): Likewise.
47702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47704         * bits/types.h (__syscall_slong_t): New type.
47705         (__syscall_ulong_t): Likewise.
47707         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47708         (__SYSCALL_ULONG_TYPE): Likewise.
47709         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47710         (__SYSCALL_SLONG_TYPE): Likewise.
47711         (__SYSCALL_ULONG_TYPE): Likewise.
47712         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47713         (__SYSCALL_SLONG_TYPE): Likewise.
47714         (__SYSCALL_ULONG_TYPE): Likewise.
47715         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47716         (__SYSCALL_SLONG_TYPE): Likewise.
47717         (__SYSCALL_ULONG_TYPE): Likewise.
47719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47721         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47722         Add sigaltstack-offsets.sym.
47723         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47724         <sigaltstack-offsets.h>.
47725         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47726         longjmp_msg pointer.
47727         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47728         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47729         signal stack.
47730         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47732 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47734         * elf/stackguard-macros.h: Remove file.
47735         * sysdeps/generic/stackguard-macros.h: New file.
47736         * sysdeps/i386/stackguard-macros.h: Likewise.
47737         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47738         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47739         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47740         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47741         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47742         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47743         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47744         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47745         <elf/stackguard-macros.h>.
47747         [BZ #14109]
47748         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47749         __aligned__ in attribute.
47750         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47751         (gregset_t): Likewise.
47753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47755         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47756         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47757         * sysdeps/x86_64/x32/Implies-after: New file.
47759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47761         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47762         and access return value for _dl_profile_fixup.  Use R10_LP to
47763         load frame size.
47765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47767         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47771         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47772         * sysdeps/x86_64/x32/sysdep.h: New file.
47774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47776         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47777         * sysdeps/x86_64/setjmp.S: Likewise.
47779 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47781         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47782         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47783         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47784         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47785         remove unused global constant.
47787 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47789         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47790         include of <not-cancel.h>.
47792 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47794         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47796 2012-05-15  Jeff Law  <law@redhat.com>
47797             Andreas Jaeger  <aj@suse.de>
47799         [BZ #13594]
47800         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47801         out from...
47802         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47803         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47804         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47805         code changing __hst_map_handle.map.
47807 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47809         * configure.in (sysnames): Look for Implies-before and Implies-after
47810         files.
47811         * configure: Regenerated.
47813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47815         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47816         8-byte data alignment with LP_SIZE alignment.
47818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47820         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47821         into R10_LP.
47823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47825         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47829         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47830         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47831         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47832         Likewise.
47833         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47837         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47838         (stackinfo_sub_sp): Likewise.
47840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47842         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47843         RAX_LP.
47845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47847         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47848         into R*_LP.
47850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47852         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47853         sizes into R*_LP.
47855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47857         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47861         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47862         into R11_LP and load __x86_64_shared_cache_size_half into
47863         R8_LP.
47865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47867         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47868         R8_LP.
47870 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47872         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47873         logb for POWER7.
47874         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47875         logbf for POWER7.
47876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47877         logbl for POWER7.
47878         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47879         powerpc32/power7/fpu/s_logb.c via #include.
47880         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47881         powerpc32/power7/fpu/s_logbf.c via #include.
47882         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47883         powerpc32/power7/fpu/s_logbl.c via #include.
47885 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47887         * README.libm: Remove file.
47889 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47891         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47892         count for x32.  Use R*_LP and omit operand-size suffix.
47894 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47896         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47897         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47898         * sysdeps/x86_64/x32/shlib-versions: New file.
47900 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47902         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47903         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47904         Use _dl_fatal_printf instead.
47906 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47908         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47909         set if not set by the user.  Do not allow for being unset.
47910         * sysdeps/unix/sysv/linux/configure: Regenerated.
47912 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47914         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47915         the `q' suffix from lea and replace .quad with ASM_ADDR.
47917 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47920         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47921         instead of $17.
47922         (PTR_DEMANGLE): Likewise.
47924 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47926         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47927         (LP_OP): Likewise.
47928         (ASM_ADDR): Likewise.
47929         (RAX_LP): Likewise.
47930         (RBP_LP): Likewise.
47931         (RBX_LP): Likewise.
47932         (RCX_LP): Likewise.
47933         (RDI_LP): Likewise.
47934         (RSI_LP): Likewise.
47935         (RSP_LP): Likewise.
47936         (R8_LP): Likewise.
47937         (R9_LP): Likewise.
47938         (R10_LP): Likewise.
47939         (R10_LP): Likewise.
47940         (R11_LP): Likewise.
47941         (R12_LP): Likewise.
47942         (R13_LP): Likewise.
47943         (R14_LP): Likewise.
47944         (R15_LP): Likewise.
47946 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47948         * sysdeps/x86_64/x32/dl-machine.h: New file.
47950 2012-05-14  Andreas Jaeger  <aj@suse.de>
47952         * manual/Makefile (subdir): Remove export of subdir.
47953         (all): Remove target.
47954         (.PHONY): Remove all from list.
47955         (mkinstalldirs): Remove.
47956         (.PHONY): Remove installdirs from list.
47957         ($(inst_infodir)/libc.info): Use make-target-directory.
47958         (installdirs): Remove.
47959         (subdir_%): Remove.
47960         (glibc-targets): Remove.
47961         (lib): Remove.
47962         (stubs): Remove.
47963         ($(objpfx)stubs ../po/manual.pot): Remove.
47964         ($(objpfx)stamp%): Remove.
47965         (make-target-directory): Remove.
47966         (subdir_install): Remove.
47967         (routines): Remove.
47968         (aux): Remove.
47969         (sources): Remove.
47970         (objects): Remove.
47971         (headers): Remove.
47973         [BZ #13750]
47974         * manual/.gitignore: Remove, it's not needed anymore.
47975         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47976         all files in it.
47977         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47978         directory.
47979         (texis): Renamed to $(objpfx)texis.
47980         (texis-path): New, contains path to generated files.
47981         (chapters.%): Use texis-path for complete path, add extra argument
47982         libc-texinfo.sh.
47983         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47984         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47985         (summary,texi, stamp-summary): Use complete path of
47986         files. Generate files in build dir.
47987         (dir-add.texi): Build in build dir.
47988         (libm-err.texi,stamp-libm-err): Likewise.
47989         (version.texi, stamp-version): Likewise.
47990         (.%c.texi): Likewise.
47991         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47992         (mostlyclean): Remove target.
47993         (realclean): Remove target.
47994         (generated): Add new variable with contents from mostlyclean and
47995         realclean, remove entries duplicated in common-mostlyclean, add
47996         stamp-libm-err and stamp-version.
47997         (generated-dirs): Add libc directory.
47998         ($(inst_infodir)/libc.info): Install files from build dir.
48000         * manual/install.texi (Configuring and compiling): Adjust since
48001         the info files are not part of the tar ball anymore.
48003 2012-05-14  Andreas Jaeger  <aj@suse.de>
48005         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48006         variable.
48008 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48010         [BZ #13717]
48011         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48012         to 2.2.0 where earlier.
48013         * sysdeps/unix/sysv/linux/configure: Regenerated.
48014         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48015         Remove conditional code.
48016         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48017         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48018         Remove conditional code.
48019         [!__NR_lchown]: Likewise.
48020         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48021         [__NR_lchown]: Likewise.
48022         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48023         comment referencing __ASSUME_LCHOWN_SYSCALL.
48024         * sysdeps/unix/sysv/linux/i386/sigaction.c
48025         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48026         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48027         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48028         Remove conditional code.
48029         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48030         (__protocol_available): Remove #if 0 code.
48031         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48032         conditional code.
48033         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48034         * sysdeps/unix/sysv/linux/kernel-features.h
48035         (__ASSUME_GETCWD_SYSCALL): Don't define.
48036         (__ASSUME_REALTIME_SIGNALS): Likewise.
48037         (__ASSUME_PREAD_SYSCALL): Likewise.
48038         (__ASSUME_PWRITE_SYSCALL): Likewise.
48039         (__ASSUME_POLL_SYSCALL): Likewise.
48040         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48041         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48042         non-SPARC.
48043         (__ASSUME_SIOCGIFNAME): Don't define.
48044         (__ASSUME_MSG_NOSIGNAL): Likewise.
48045         (__ASSUME_SENDFILE): Define unconditionally.
48046         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48047         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48048         conditional code.
48049         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48050         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48051         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48052         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48053         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48054         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48055         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48057         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48058         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48060         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48061         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48063         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48066         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48067         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48069         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48072         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48073         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48075         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48078         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48079         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48080         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48081         Remove conditional code.
48082         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48083         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48084         Remove conditional code.
48085         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48086         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48087         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48088         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48089         Remove conditional code.
48090         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48091         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48092         Remove conditional code.
48093         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48094         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48095         Remove conditional code.
48096         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48097         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48098         Remove conditional code.
48099         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48100         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48101         Remove conditional code.
48102         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48103         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48104         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48105         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48106         * sysdeps/unix/sysv/linux/sigaction.c
48107         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48108         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48109         * sysdeps/unix/sysv/linux/sigpending.c
48110         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48111         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48112         * sysdeps/unix/sysv/linux/sigprocmask.c
48113         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48114         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48115         * sysdeps/unix/sysv/linux/sigsuspend.c
48116         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48117         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48118         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48119         (__libc_missing_rt_sigs): Remove.
48120         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48121         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48122         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48123         Remove conditional code.
48124         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48125         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48126         return 1.
48127         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48128         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48129         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48130         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48132 2012-05-14  Andreas Jaeger  <aj@suse.de>
48134         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48135         it's not used in glibc.
48136         (__coshm1): Likewise.
48137         (__acosh1p): Likewise.
48138         (__sgn): Likewise.
48140         * manual/string.texi (Copying and Concatenation): Add missing
48141         variable in concat example.
48142         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48144 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48146         [BZ #14103]
48147         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48148         __builtin_clzl with __builtin_clzll.
48150 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48152         [BZ #14104]
48153         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48154         libc_freeres_ptr.
48156 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48158         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48159         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48160         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48161         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48163 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48165         * NEWS: Update ia64 info.
48167 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48169         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48170         used as bcopy.
48172 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48174         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48175         * sysdeps/unix/syscalls.list (dup3): Likewise.
48176         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48177         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48179 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48181         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48182         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48184 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48186         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48187         thread pointer.
48188         (TLS_IE): Use mov/add instead of movq/addq to load thread
48189         pointer.
48190         (TLS_GD_PREFIX): New.
48191         (TLS_GD): Use it.
48193 2012-05-11  David S. Miller  <davem@davemloft.net>
48195         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48196         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48197         (_FPU_SETCW): Likewise.
48199 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48201         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48202         is 32-byte aligned.
48204 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48206         [BZ #11837]
48207         * iconvdata/gb18030.c: Update tables.
48208         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48209         characters specially.
48210         (BODY for TO_LOOP): Add encoding of missing ranges.
48212 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48214         [BZ #13673]
48215         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48216         * sysdeps/mach/hurd/dup3.c: Likewise.
48217         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48218         * sysdeps/powerpc/memmove.c:: Likewise.
48220 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48222         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48223         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48225 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48227         * elf/elf.h (R_X86_64_RELATIVE64): New.
48228         (R_X86_64_NUM): Updated.
48229         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48230         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48231         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48232         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48233         tst-quad1pie tst-quad2pie
48234         (modules-names): Add tst-quadmod1 tst-quadmod2.
48235         ($(objpfx)tst-quad1): New dependency.
48236         ($(objpfx)tst-quad2): Likewise.
48237         ($(objpfx)tst-quad1pie): Likewise.
48238         ($(objpfx)tst-quad2pie): Likewise.
48239         * sysdeps/x86_64/tst-quad1.c: New file.
48240         * sysdeps/x86_64/tst-quad1pie.c: New file.
48241         * sysdeps/x86_64/tst-quad2.c: Likewise.
48242         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48243         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48244         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48245         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48246         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48248 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48250         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48251         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48252         * streams/stropts.h (t_scalar_t): Define type.
48254         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48255         (_PATH_PRESERVE): Set to "/var/lib".
48256         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48258         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48259         instead of int.
48261         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48262         if __dir_mkfile succeeded.
48264         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48265         checking for _hurd_dtablesize.  Unlock it right after having
48266         finished _hurd_dtable allocation.
48268 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48270         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48271         * sysdeps/mach/hurd/configure: Regenerated.
48272         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48273         special-casing to...
48274         * sysdeps/gnu/configure.in: ... this new file.
48275         * sysdeps/unix/sysv/linux/configure: Regenerated.
48276         * sysdeps/gnu/configure: New generated file.
48278         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48279         for Linux: use nsec instead of usec, as well as:
48280         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48281         members of type struct timespec.
48282         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48283         New macros.
48284         (struct stat64): Likewise.
48285         (_STATBUF_ST_NSEC): New macro.
48286         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48288         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48289         __strtoul_internal rather than strtoul.
48291 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48293         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48294         and reject them.
48296 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48298         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48299         which preserves existing values.
48300         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48302 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48304         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48305         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48306         greater than FD_SETSIZE.
48308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48310         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48311         allocated, call __vm_protect to finish enabling the existing space, and
48312         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48313         allocate the remainder.
48315 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48317         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48318         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48320 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48322         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48323         sysdeps/mach/hurd/readlink.c.
48325         * posix/tst-sysconf.c (posix_options): Only use
48326         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48327         _POSIX_SYNCHRONIZED_IO when they are defined
48328         * sysdeps/mach/hurd/bits/posix_opt.h:
48329         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48330         (_XOPEN_REALTIME): Undefine macro.
48331         (_XOPEN_REALTIME_THREADS): Undefine macro.
48332         (_XOPEN_SHM): Undefine macro.
48333         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48334         macro to -1.
48335         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48336         macro to -1.
48337         (_POSIX_ASYNC_IO): Undefine macro.
48338         (_POSIX_PRIORITIZED_IO): Undefine macro.
48339         (_POSIX_SPIN_LOCKS): Define macro to -1.
48341         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48342         SA_NODEFER, SA_RESETHAND.
48343         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48344         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48345         F_DUPFD_CLOEXEC.
48347 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48349         * elf/Makefile (pldd-modules): Define unconditionally.
48351 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48353         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48355 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48357         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48358         Return ENOENT when name is empty.
48359         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48363         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48365         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48367 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48369         Fix mlock in all cases except non-readable pages.
48370         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48371         instead of VM_PROT_ALL as parameter to __vm_wire function.
48373         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48374         (__mkdir): When path is `/', just fail with EEXIST.
48375         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48377 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48379         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48380         <sys/uio.h> (for writev).
48381         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48382         and <sys/param.h> (for MIN).
48384 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48386         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48387         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48388         if interrupted.
48390 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48392         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48393         Depend on against $(link-rpcuserlibs).
48395 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48397         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48398         (__libc_stack_end): Do not use attribute_relro.
48399         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48400         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48401         to libthread-provided value.
48402         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48403         attribute_relro.
48405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48407         [BZ #3748]
48408         * bits/libc-lock.h (__libc_once_get): New macro.
48409         * sysdeps/mach/bits/libc-lock.h: Likewise.
48410         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48411         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48412         instead of using implementation details.
48414         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48415         * libio/freopen.c: Likewise.
48416         * libio/freopen64.c: Likewise.
48417         * misc/syslog.c: Likewise.
48418         * nscd/connections.c: Likewise.
48419         * nscd/netgroupcache.c: Likewise.
48420         * sysdeps/posix/getcwd.c: Likewise.
48422 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48424         * math/w_ilogbf.c: Add #include <limits.h>.
48426 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48428         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48429         path instead of returning without unlocking.
48431         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48432         immediate-write ioctls.
48433         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48435 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48437         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48438         __builtin_frame_address instead of making assumptions about the
48439         location of the return address relative to DATA.  Force early load of
48440         the return address.
48441         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48442         __builtin_frame_address.
48444         dup3 for GNU Hurd.
48445         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48446         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48447         implement dup3 and do some further code clean-ups.
48448         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48449         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48453         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48455         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48456         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48457         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48458         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48459         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48460         d->port.lock.
48462         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48463         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48464         when handler == SIG_ERR, not when handler != SIG_ERR.
48466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48468         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48469         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48470         definitions.
48472         accept4 for GNU Hurd.
48473         * include/sys/socket.h (__libc_accept4): New prototype.
48474         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48475         to implement __libc_accept4.
48476         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48477         __libc_accept4.
48478         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48480         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48481         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48482         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48483         signal-defines.sym.
48485 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48487         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48489 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48491         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48492         assertion on O_CLOEXEC flag.
48493         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48494         * hurd/intern-fd.c: Likewise.
48495         * hurd/port2fd.c: Likewise.
48497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48499         [BZ #3906]
48500         * bits/in.h (IPV6_PKTINFO): Define new macro.
48501         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48503 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48505         [BZ #13954]
48506         [BZ #13955]
48507         [BZ #13956]
48508         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48509         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48510         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48511         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48513         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48514         * math/libm-test.inc (logb_test) : Additional logb tests.
48516 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48517             Andreas Jaeger  <aj@suse.de>
48519         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48520         * configure: Regenerated.
48521         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48522         * config.make.in (link-obsolete-rpc): New substituted variable.
48523         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48524         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48525         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48526         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48527         so that libc.a contains the symbols.
48528         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48529         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48530         * sunrpc/auth_none.c: Likewise.
48531         * sunrpc/auth_unix.c: Likewise.
48532         * sunrpc/authdes_prot.c: Likewise.
48533         * sunrpc/authuxprot.c: Likewise.
48534         * sunrpc/clnt_gen.c: Likewise.
48535         * sunrpc/clnt_perr.c: Likewise.
48536         * sunrpc/clnt_raw.c: Likewise.
48537         * sunrpc/clnt_simp.c: Likewise.
48538         * sunrpc/clnt_tcp.c: Likewise.
48539         * sunrpc/clnt_udp.c: Likewise.
48540         * sunrpc/clnt_unix.c: Likewise.
48541         * sunrpc/des_crypt.c: Likewise.
48542         * sunrpc/des_soft.c: Likewise.
48543         * sunrpc/get_myaddr.c: Likewise.
48544         * sunrpc/key_call.c: Likewise.
48545         * sunrpc/key_prot.c: Likewise.
48546         * sunrpc/netname.c: Likewise.
48547         * sunrpc/pm_getmaps.c: Likewise.
48548         * sunrpc/pm_getport.c: Likewise.
48549         * sunrpc/pmap_clnt.c: Likewise.
48550         * sunrpc/pmap_prot.c: Likewise.
48551         * sunrpc/pmap_prot2.c: Likewise.
48552         * sunrpc/pmap_rmt.c: Likewise.
48553         * sunrpc/publickey.c: Likewise.
48554         * sunrpc/rpc_cmsg.c: Likewise.
48555         * sunrpc/rpc_common.c: Likewise.
48556         * sunrpc/rpc_dtable.c: Likewise.
48557         * sunrpc/rpc_prot.c: Likewise.
48558         * sunrpc/rpc_thread.c: Likewise.
48559         * sunrpc/rtime.c: Likewise.
48560         * sunrpc/svc.c: Likewise.
48561         * sunrpc/svc_auth.c: Likewise.
48562         * sunrpc/svc_raw.c: Likewise.
48563         * sunrpc/svc_run.c: Likewise.
48564         * sunrpc/svc_tcp.c: Likewise.
48565         * sunrpc/svc_udp.c: Likewise.
48566         * sunrpc/svc_unix.c: Likewise.
48567         * sunrpc/svcauth_des.c: Likewise.
48568         * sunrpc/xcrypt.c: Likewise.
48569         * sunrpc/xdr.c: Likewise.
48570         * sunrpc/xdr_array.c: Likewise.
48571         * sunrpc/xdr_float.c: Likewise.
48572         * sunrpc/xdr_intXX_t.c: Likewise.
48573         * sunrpc/xdr_mem.c: Likewise.
48574         * sunrpc/xdr_rec.c: Likewise.
48575         * sunrpc/xdr_ref.c: Likewise.
48576         * sunrpc/xdr_sizeof.c: Likewise.
48577         * sunrpc/xdr_stdio.c: Likewise.
48579 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48581         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48582         change.  Update copyright years.
48584 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48586         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48588 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48589             Joseph Myers  <joseph@codesourcery.com>
48590             Paul Pluzhnikov  <ppluzhnikov@google.com>
48592         [BZ #14012]
48593         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48594         requiring rpcgen.
48595         [cross-compiling] (extra-libs): Likewise.
48596         [cross-compiling] (extra-libs-others): Likewise.
48597         [cross-compiling] (librpcsvc-routines): Likewise.
48598         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48599         [cross-compiling] (omit-deps): Likewise.
48600         (sunrpc-CPPFLAGS): New variable.
48601         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48602         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48603         (cross-rpcgen-objs): New variable.
48604         (extra-objs): Append $(cross-rpcgen-objs).
48605         ($(cross-rpcgen-objs)): New rule.
48606         ($(objpfx)cross-rpcgen): Likewise.
48607         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48608         comment.
48609         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48610         ($(objpfx)x%.stmp): Likewise.
48611         * sunrpc/proto.h [IS_IN_build] (_): Define.
48612         [IS_IN_build] (_libc_intl_domainname): Likewise.
48614 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48616         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48617         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48618         and R_X86_64_TPOFF64.
48620 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48622         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48623         sysdeps/unix/sysv/syscalls.list.
48624         (stime): Likewise.
48625         (utime): Likewise.
48626         * sysdeps/unix/sysv/syscalls.list: Remove file.
48628 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48630         [BZ #3440]
48631         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48632         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48633         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48634         (__LC_IDENTIFICATION): Make these macros useful in #if
48635         expressions, as required by C99.
48637 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48639         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48640         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48641         after this.
48643 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48645         * stdlib/longlong.h: Updated from GCC.
48647 2012-05-09  Andreas Jaeger  <aj@suse.de>
48649         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48650         default is first entry.
48651         (run_mode): Set type.
48652         (main): Remove informal message about syslog.
48653         (options): Fix typo.
48655         [BZ #14053]
48656         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48657         to asm.
48658         (lrint): Likewise.
48659         (llrintf): Likewise.
48660         (llrint): Likewise.
48661         (rint): Likewise.
48662         (rintf): Likewise.
48663         (nearbyint): Likewise.
48664         (nearbyintf): Likewise.
48666 2012-05-09  Andreas Jaeger  <aj@suse.de>
48667             Pedro Alves  <palves@redhat.com>
48669         * nscd/nscd.c (run_mode): Use enum.
48670         (main): Cleanup coding style issue.
48672 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48673             Andreas Jaeger  <aj@suse.de>
48675         * nscd/nscd.c (go_background): Replaced with...
48676         (run_mode): ... this.
48677         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48678         (options): Add -F --foreground.
48679         (main): Implement it.
48680         (parse_opt): Parse it.
48682 2012-05-09  Andreas Jaeger  <aj@suse.de>
48684         [BZ #14083]
48685         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48686         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48687         -Wconversion warning.
48688         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48689         Likewise.
48691 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48693         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48694         == 0.
48695         (LC_ALL): Use macro-int-constant.
48696         (LC_COLLATE): Likewise.
48697         (LC_CTYPE): Likewise.
48698         (LC_MESSAGES): Likewise.
48699         (LC_MONETARY): Likewise.
48700         (LC_NUMERIC): Likewise.
48701         (LC_TIME): Likewise.
48702         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48703         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48704         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48705         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48706         Specify type.
48707         [C99-based standards] (float_t): Expect type.
48708         [C99-based standards] (double_t): Expect type.
48709         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48710         type.
48711         [C99-based standards] (HUGE_VALL): Likewise.
48712         [C99-based standards] (INFINITY): Likewise.
48713         [C99-based standards] (NAN): Likewise.
48714         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48715         [C99-based standards] (FP_NAN): Likewise.
48716         [C99-based standards] (FP_NORMAL): Likewise.
48717         [C99-based standards] (FP_SUBNORMAL): Likewise.
48718         [C99-based standards] (FP_ZERO): Likewise.
48719         [C99-based standards] (FP_FAST_FMA): Use
48720         optional-macro-int-constant.  Specify type.  Require == 1.
48721         [C99-based standards] (FP_FAST_FMAF): Likewise.
48722         [C99-based standards] (FP_FAST_FMAL): Likewise.
48723         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48724         [C99-based standards] (FP_ILOGBNAN): Likewise.
48725         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48726         Specify type.
48727         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48728         [C99-based standards] (math_errhandling): Specify type.
48729         [ISO99 || ISO11] (signgam): Do not allow.
48730         [non-C99-based standards] (copysignf): Do not allow.
48731         [non-C99-based standards] (exp2f): Likewise.
48732         [non-C99-based standards] (log2f): Likewise.
48733         [non-C99-based standards] (modff): Allow.
48734         [non-C99-based standards] (erff): Do not allow.
48735         [non-C99-based standards] (erfcf): Likewise.
48736         [non-C99-based standards] (gammaf): Likewise.
48737         [non-C99-based standards] (hypotf): Likewise.
48738         [non-C99-based standards] (j0f): Likewise.
48739         [non-C99-based standards] (j1f): Likewise.
48740         [non-C99-based standards] (jnf): Likewise.
48741         [non-C99-based standards] (lgammaf): Likewise.
48742         [non-C99-based standards] (tgammaf): Likewise.
48743         [non-C99-based standards] (y0f): Likewise.
48744         [non-C99-based standards] (y1f): Likewise.
48745         [non-C99-based standards] (ynf): Likewise.
48746         [non-C99-based standards] (isnanf): Likewise.
48747         [non-C99-based standards] (acoshf): Likewise.
48748         [non-C99-based standards] (asinhf): Likewise.
48749         [non-C99-based standards] (atanhf): Likewise.
48750         [non-C99-based standards] (cbrtf): Likewise.
48751         [non-C99-based standards] (expm1f): Likewise.
48752         [non-C99-based standards] (ilogbf): Likewise.
48753         [non-C99-based standards] (log1pf): Likewise.
48754         [non-C99-based standards] (logbf): Likewise.
48755         [non-C99-based standards] (nextafterf): Likewise.
48756         [non-C99-based standards] (remainderf): Likewise.
48757         [non-C99-based standards] (rintf): Likewise.
48758         [non-C99-based standards] (scalbf): Likewise.
48759         [non-C99-based standards] (copysignl): Likewise.
48760         [non-C99-based standards] (exp2l): Likewise.
48761         [non-C99-based standards] (log2l): Likewise.
48762         [non-C99-based standards] (modfl): Allow.
48763         [non-C99-based standards] (erfl): Do not allow.
48764         [non-C99-based standards] (erfcl): Likewise.
48765         [non-C99-based standards] (gammal): Likewise.
48766         [non-C99-based standards] (hypotl): Likewise.
48767         [non-C99-based standards] (j0l): Likewise.
48768         [non-C99-based standards] (j1l): Likewise.
48769         [non-C99-based standards] (jnl): Likewise.
48770         [non-C99-based standards] (lgammal): Likewise.
48771         [non-C99-based standards] (tgammal): Likewise.
48772         [non-C99-based standards] (y0l): Likewise.
48773         [non-C99-based standards] (y1l): Likewise.
48774         [non-C99-based standards] (ynl): Likewise.
48775         [non-C99-based standards] (isnanl): Likewise.
48776         [non-C99-based standards] (acoshl): Likewise.
48777         [non-C99-based standards] (asinhl): Likewise.
48778         [non-C99-based standards] (atanhl): Likewise.
48779         [non-C99-based standards] (cbrtl): Likewise.
48780         [non-C99-based standards] (expm1l): Likewise.
48781         [non-C99-based standards] (ilogbl): Likewise.
48782         [non-C99-based standards] (log1pl): Likewise.
48783         [non-C99-based standards] (logbl): Likewise.
48784         [non-C99-based standards] (nextafterl): Likewise.
48785         [non-C99-based standards] (remainderl): Likewise.
48786         [non-C99-based standards] (rintl): Likewise.
48787         [non-C99-based standards] (scalbl): Likewise.
48788         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48789         [non-C99-based standards] (FP_*): Do not allow.
48790         [C99-based standards] (FP_*): Change to
48791         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48792         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48793         allow.
48794         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48795         (SIG_ERR): Likewise.
48796         [X/Open-based standards] (SIG_HOLD): Likewise.
48797         (SIG_IGN): Likewise.
48798         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48799         positive value.
48800         (SIGFPE): Likewise.
48801         (SIGILL): Likewise.
48802         (SIGINT): Likewise.
48803         (SIGSEGV): Likewise.
48804         (SIGTER): Likewise.
48805         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48806         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48807         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48808         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48809         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48810         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48811         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48812         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48813         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48814         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48815         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48816         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48817         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48818         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48819         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48820         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48821         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48822         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48823         [X/Open-based standards] (SIGTRAP): Likewise.
48824         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48825         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48826         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48827         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48828         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48829         allow.
48831 2012-05-08  Ian Wienand  <ianw@vmware.com>
48833         [BZ #14080]
48834         * time/tzset.c (__tzset_parse_tz): Update default rules for
48835         daylight time changes in the Energy Policy Act of 2005.
48837 2012-05-09  Andreas Jaeger  <aj@suse.de>
48839         [BZ #13983]
48840         * elf/ldconfig.c (parse_conf): Change string to make clear that
48841         ldconfig only issued a warning if ld.so.conf does not exist.
48843 2012-05-08  David S. Miller  <davem@davemloft.net>
48845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48846         movxtod instead of popping the value on the stack.
48848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48850 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48852         * config.h.in: Add HAVE_ARM_PCS_VFP.
48854 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48856         [BZ #13979]
48857         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48858         checking but the checks are disabled for any reason.
48860 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48862         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48863         and ELF64_R_TYPE with ELFW(R_TYPE).
48865 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48867         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48868         (ulimit): Likewise.
48870         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48871         (settimeofday): Likewise.
48873 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48875         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48876         a struct th_u2 inside the union, and move tu_block/tu_code into
48877         a new th_u3 union of tu_block/tu_code inside of that.  Move
48878         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48879         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48880         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48881         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48882         (th_stuff): Change to th_u1.tu_stuff.
48883         (th_data): Define.
48884         (th_msg): Change to th_u1.th_u2.tu_data.
48886 2012-05-07  David S. Miller  <davem@davemloft.net>
48888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48890         [BZ #14074]
48891         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48892         (SETUP_PIC_REG): Use it.
48893         (SETUP_PIC_REG_LEAF): Use it.
48895 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48897         [BZ #13885]
48898         [BZ #13923]
48899         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48900         USE_AS_EXPM1L.
48901         (EXPL_FINITE): Likewise.
48902         (FLDLOG): Likewise.
48903         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48904         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48905         e_expl.S.
48906         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48907         USE_AS_EXPM1L.
48908         (EXPL_FINITE): Likewise.
48909         (FLDLOG): Likewise.
48910         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48911         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48912         e_expl.S.
48913         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48914         test of -max_value argument for long double.
48915         * sysdeps/i386/fpu/libm-test-ulps: Update.
48916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48918 2012-05-06  David S. Miller  <davem@davemloft.net>
48920         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48921         quad soft-float symbols whose references which are compiler
48922         generated.
48923         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48925 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48927         [BZ #13884]
48928         [BZ #13914]
48929         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48930         USE_AS_EXP10L.
48931         (EXPL_FINITE): Likewise.
48932         (FLDLOG): Likewise.
48933         (c0): Likewise.
48934         (c1): Likewise.
48935         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48936         Adjust comments for base varying.
48937         (__expl_finite): Change alias to EXPL_FINITE.
48938         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48939         e_expl.S.
48940         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48941         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48942         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48943         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48944         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48945         USE_AS_EXP10L.
48946         (EXPL_FINITE): Likewise.
48947         (FLDLOG): Likewise.
48948         (c0): Likewise.
48949         (c1): Likewise.
48950         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48951         Adjust comments for base varying.
48952         (__expl_finite): Change alias to EXPL_FINITE.
48953         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48954         tests for bugs.
48955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48957         [BZ #14064]
48958         * math/libm-test.inc (check_float_internal): Correct ulp
48959         calculation for subnormal expected results.
48961 2012-05-06  Andreas Jaeger  <aj@suse.de>
48963         * Makeconfig (+math-flags): New, set to -frounding-math.
48964         (+cflags): Add +math-flags so that all of glibc gets compiled with
48965         it.
48967         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48969 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48971         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48972         Disable one test.
48974         [BZ #13787]
48975         [BZ #13922]
48976         [BZ #14036]
48977         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48978         (__ieee754_expl): Allow for and saturate large arguments.
48979         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48980         (u_threshold): Likewise.
48981         (__exp): Call __ieee754_exp before checking for overflow and
48982         underflow.
48983         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48984         (u_threshold): Likewise.
48985         (__expf): Call __ieee754_expf before checking for overflow and
48986         underflow.
48987         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48988         (u_threshold): Likewise.
48989         (__expl): Call __ieee754_expl before checking for overflow and
48990         underflow.
48991         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48992         (__ieee754_expl): Allow for and saturate large arguments.
48993         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48994         missing overflow exception on overflow.
48995         (expm1_test): Do not allow missing overflow exception on overflow.
48997         * sysdeps/i386/fpu/e_expl.c: Move to ...
48998         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48999         rather than using inline asm.
49000         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49001         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49002         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49004         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49005         (nice): Likewise.
49006         (poll): Likewise.
49007         (signal): Likewise.
49008         (time): Likewise.
49009         (times): Likewise.
49011 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49013         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49014         sysdeps/unix/common/syscalls.list.
49015         (fchmod): Likewise.
49016         (fchown): Likewise.
49017         (ftruncate): Likewise.
49018         (getrusage): Likewise.
49019         (gettimeofday): Likewise.
49020         (setpgid): Likewise.
49021         (setregid): Likewise.
49022         (setreuid): Likewise.
49023         (sigaction): Likewise.
49024         (truncate): Likewise.
49025         (vhangup): Likewise.
49026         * sysdeps/unix/common/syscalls.list: Remove file.
49027         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49028         * sysdeps/unix/sysv/linux/Implies: Likewise.
49030 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49032         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49034         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49035         Moved to ...
49036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49037         Here.
49038         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49039         to ...
49040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49041         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49042         to ...
49043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49044         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49045         to ...
49046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49047         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49048         to ...
49049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49050         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49051         to ...
49052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49053         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49054         to ...
49055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49056         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49057         to ...
49058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49059         Here.
49060         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49061         to ...
49062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49063         Here.
49064         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49065         to ...
49066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49067         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49068         Moved to ...
49069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49070         Here.
49071         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49072         to ...
49073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49075 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49077         * sysdeps/unix/common/bits/dirent.h: Remove file.
49078         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49080         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49081         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49082         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49083         * sysdeps/unix/bsd/isatty.c: Likewise.
49084         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49085         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49086         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49088 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49090         [BZ #13563]
49091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49092         long double comparison inaccuracies.
49093         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49096 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49098         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49099         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49101 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49103         [BZ #14049]
49104         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49105         nonzero digits before rounding a hex value.
49106         * stdlib/tst-strtod.c (tests): Add another test.
49108 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49110         * sysdeps/s390/fpu/libm-test-ulps: Update.
49112 2012-05-03  Andreas Jaeger  <aj@suse.de>
49114         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49115         does not get optimized out.
49116         (malloc_opt_barrier): New.
49118 2012-05-03  Andreas Jaeger  <aj@suse.de>
49119             Roland McGrath  <roland@hack.frob.com>
49121         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49122         intermediate file deletion.
49123         (generated): Add .symlist files.
49125 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49127         [BZ #13775]
49128         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49129         Redirect under this condition.
49130         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49131         [__USE_GNU] (__dprintf_chk): Not under this condition.
49132         [__USE_GNU] (__vdprintf_chk): Likewise.
49133         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49134         under this condition.
49135         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49136         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49137         [__USE_XOPEN2K8] (vdprintf): Likewise.
49138         [__USE_GNU] (__dprintf_chk): Not under this condition.
49139         [__USE_GNU] (__vdprintf_chk): Likewise.
49140         [__USE_GNU] (dprintf): Likewise.
49141         [__USE_GNU] (vdprintf): Likewise.
49143 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49145         * elf/Makefile (common-generated): Set this instead of generated for
49146         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49147         $(all-built-dso)-derived lists.
49149 2012-05-03  Andreas Jaeger  <aj@suse.de>
49151         * sysdeps/i386/fpu/libm-test-ulps: Update.
49153         * FAQ: Removed.
49154         * FAQ.in: Likewise.
49155         * scripts/gen-FAQ.pl: Likewise.
49156         * manual/install.texi (Installation): Point to online location of
49157         FAQ.
49158         * Makefile (files-for-dist): Remove FAQ.
49159         (FAQ): Remove.
49161 2012-05-02  Allan McRae  <allan@archlinux.org>
49163         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49164         (LDFLAGS-reldepmod5.so): Likewise.
49165         (LDFLAGS-reldep6mod1.so): Likewise.
49166         (LDFLAGS-reldep6mod4.so): Likewise.
49167         (LDFLAGS-reldep8mod3.so): Likewise.
49168         (LDFLAGS-unload4mod1.so): Likewise.
49169         (LDFLAGS-unload4mod2.so): Likewise.
49170         (LDFLAGS-tst-initorder): Likewise.
49171         (LDFLAGS-tst-initordera2.so): Likewise.
49172         (LDFLAGS-tst-initordera3.so): Likewise.
49173         (LDFLAGS-tst-initordera4.so): Likewise.
49174         (LDFLAGS-tst-initorderb2.so): Likewise.
49175         (LDFLAGS-noload): Likewise.
49176         (LDFLAGS-next): Likewise.
49177         (LDFLAGS-order2mod1.so): Likewise.
49178         (LDFLAGS-order2mod2.so): Likewise.
49179         (LDFLAGS-tst-initorder2): Likewise.
49180         (LDFLAGS-tst-initorder2a.so): Likewise.
49181         (LDFLAGS-tst-initorder2b.so): Likewise.
49182         (LDFLAGS-tst-initorder2c.so): Likewise.
49183         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49185 2012-05-02  David S. Miller  <davem@davemloft.net>
49187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49189 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49191         [BZ #14055]
49192         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49194 2012-05-02  Andreas Jaeger  <aj@suse.de>
49196         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49197         since we manipulate rounding mode.
49198         (CPPFLAGS-test-idouble.c): Likewise.
49199         (CPPFLAGS-test-ifloat.c): Likewise.
49200         (CFLAGS-test-ldouble.c): Likewise.
49201         (CFLAGS-test-double.c): Likewise.
49202         (CFLAGS-test-float.c): Likewise.
49203         (CFLAGS-test-misc.c): Likewise.
49204         (CFLAGS-test-test-fenv.c): Likewise.
49206 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49208         [BZ #2550]
49209         [BZ #2570]
49210         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49211         comparisons to determine direction to adjust input.
49213 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49215         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49216         output to the target.
49218         * scripts/localplt.awk: New file.
49219         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49220         (check-localplt-CFLAGS): Variable removed.
49221         ($(all-built-dso:=.jmprel)): New static pattern rule.
49222         (generated): Add those targets.
49223         (localplt-built-dso): New variable.
49224         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49226         * elf/check-localplt.c: File removed.
49228         * scripts/check-execstack.awk: New file.
49229         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49230         (check-execstack-CFLAGS): Variable removed.
49231         ($(objpfx)check-execstack.h): Target removed.
49232         ($(objpfx)execstack-default): New target.
49233         (generated): Add that instead of check-execstack.h.
49234         ($(all-built-dso:=.phdr)): New static pattern rule.
49235         (generated): Add those targets.
49236         * elf/check-execstack.c: File removed.
49238         * scripts/check-textrel.awk: New file.
49239         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49240         (check-textrel-CFLAGS): Variable removed.
49241         (all-built-dso): Use := to define.o
49242         ($(all-built-dso:=.dyn)): New static pattern rule.
49243         (generated): Add those targets.
49244         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49245         * config.make.in (READELF): New substituted variable.
49246         * elf/check-textrel.c: File removed.
49248 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49250         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49251         allow.
49252         * conform/data/ctype.h-data [C99-based standards] (isblank):
49253         Expect function.
49254         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49255         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49256         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49257         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49258         Specify type.  Require positive value.
49259         (EILSEQ): Likewise.
49260         (ERANGE): Likewise.
49261         [ISO || POSIX] (EILSEQ): Do not expect.
49262         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49263         Specify type.  Require positive value.
49264         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49265         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49266         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49267         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49268         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49269         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49270         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49271         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49272         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49273         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49274         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49275         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49276         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49277         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49278         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49279         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49280         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49281         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49282         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49283         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49284         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49285         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49286         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49287         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49288         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49289         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49290         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49291         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49292         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49293         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49294         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49295         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49296         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49297         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49298         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49299         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49300         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49301         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49302         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49303         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49304         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49305         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49306         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49307         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49308         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49309         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49310         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49311         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49312         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49313         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49314         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49315         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49316         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49317         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49318         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49319         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49320         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49321         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49322         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49323         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49324         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49325         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49326         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49327         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49328         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49329         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49330         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49331         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49332         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49333         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49334         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49335         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49336         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49337         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49338         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49339         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49340         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49341         Require >= 2.
49342         (FLT_ROUNDS): Expect as macro, not constant.
49343         (FLT_MANT_DIG): Use macro-int-constant.
49344         (DBL_MANT_DIG): Likewise.
49345         (LDBL_MANT_DIG): Likewise.
49346         (FLT_DIG): Likewise.
49347         (DBL_DIG): Likewise.
49348         (LDBL_DIG): Likewise.
49349         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49350         (DBL_MIN_EXP): Likewise.
49351         (LDBL_MIN_EXP): Likewise.
49352         (FLT_MAX_EXP): Use macro-int-constant.
49353         (DBL_MAX_EXP): Likewise.
49354         (LDBL_MAX_EXP): Likewise.
49355         (FLT_MAX_10_EXP): Likewise.
49356         (DBL_MAX_10_EXP): Likewise.
49357         (LDBL_MAX_10_EXP): Likewise.
49358         (FLT_MAX): Use macro-constant.
49359         (DBL_MAX): Likewise.
49360         (LDBL_MAX): Likewise.
49361         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49362         (DBL_EPSILON): Likewise.
49363         (LDBL_EPSILON): Likewise.
49364         (FLT_MIN): Likewise.
49365         (DBL_MIN): Likewise.
49366         (LDBL_MIN): Likewise.
49367         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49368         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49369         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49370         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49371         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49372         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49373         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49374         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49375         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49376         [ISO11] (FLT_TRUE_MIN): Likewise.
49377         [ISO11] (LDBL_TRUE_MIN): Likewise.
49378         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49379         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49380         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49381         (SCHAR_MAX): Likewise.
49382         (UCHAR_MAX): Likewise.
49383         (CHAR_MIN): Likewise.
49384         (CHAR_MAX): Likewise.
49385         (MB_LEN_MAX): Use macro-int-constant.
49386         (SHRT_MIN): Use macro-int-constant.  Specify type.
49387         (SHRT_MAX): Likewise.
49388         (USHRT_MAX): Likewise.
49389         (INT_MAX): Likewise.
49390         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49391         bound negative.
49392         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49393         bound with "U".
49394         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49395         bound with "L".
49396         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49397         bound negative.  Suffix upper bound with "L".
49398         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49399         bound with "UL".
49400         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49401         Specify type.
49402         [C99-based standards] (LLONG_MAX): Likewise.
49403         [C99-based standards] (ULLONG_MAX): Likewise.
49404         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49405         == 0.
49406         [ISO11] (max_align_t): Require type.
49407         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49409         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49410         from $CFLAGS, without defining away __attribute__ calls.
49411         (checknamespace): Use $CFLAGS_namespace.
49413         * conform/conformtest.pl (@keywords): Only include C99 keywords
49414         for standards based on C99 or C11.
49416         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49417         Disable tests.
49418         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49419         UNIX98]: Likewise.
49421         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49422         usability of symbols in #if.
49424         * conform/conformtest.pl: If macro or constant types start
49425         "promoted:", expect the symbol to be of the following type
49426         promoted by the integer promotions.
49428         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49429         in one place.  Also handle "macro-constant".
49431         * conform/conformtest.pl: Only accept expected macro values with
49432         "==".  Parse all "macro" lines in one place.
49433         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49435         * conform/conformtest.pl: Handle braced types on "constant" lines
49436         instead of handling "typed-constant".
49437         * conform/data/signal.h-data: Use "constant" instead of
49438         "typed-constant".
49440         * conform/conformtest.pl: Handle "optional-" at start of lines in
49441         one place rather than duplicating several cases.  Handle each
49442         format of "macro" line with initial "optional-".
49444         * conform/conformtest.pl: Only accept expected constant or
49445         optional-constant values with "==".  Parse all "constant" lines in
49446         one place.  Parse all "optional-constant" lines in one place.
49447         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49448         * conform/data/fmtmsg.h-data: Likewise.
49449         * conform/data/netinet/in.h-data: Likewise.
49450         * conform/data/tar.h-data: Likewise.
49451         * conform/data/limits.h-data: Use "==" form on "constant" and
49452         "optional-constant" lines.
49454         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49455         Use -std=c99 for XOPEN2K.
49456         (@knownproblems): Remove.
49457         (newtoken): Don't check %isknown.
49459         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49460         Do not expect macro.
49461         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49462         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49463         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49464         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49465         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49466         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49467         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49468         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49469         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49470         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49471         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49472         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49473         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49474         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49475         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49476         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49477         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49478         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49479         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49480         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49481         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49482         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49483         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49484         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49485         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49486         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49487         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49488         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49489         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49490         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49491         [XPG3] (acosh): Likewise.
49492         [XPG3] (asinh): Likewise.
49493         [XPG3] (atanh): Likewise.
49494         [XPG3] (cbrt): Likewise.
49495         [XPG3] (expm1): Likewise.
49496         [XPG3] (ilogb): Likewise.
49497         [XPG3] (log1p): Likewise.
49498         [XPG3] (logb): Likewise.
49499         [XPG3] (nextafter): Likewise.
49500         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49501         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49502         [XPG3] (remainder): Likewise.
49503         [XPG3] (rint): Likewise.
49504         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49505         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49506         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49507         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49508         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49509         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49510         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49511         [UNIX98 || XOPEN2K] (scalb): Expect.
49512         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49513         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49514         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49515         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49516         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49517         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49518         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49519         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49520         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49521         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49522         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49523         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49524         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49525         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49526         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49527         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49528         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49529         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49530         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49531         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49532         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49533         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49534         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49535         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49536         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49537         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49538         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49539         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49540         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49541         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49542         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49543         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49544         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49545         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49546         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49547         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49548         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49549         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49550         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49551         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49552         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49553         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49554         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49555         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49556         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49557         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49558         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49559         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49560         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49561         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49562         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49563         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49564         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49565         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49566         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49567         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49568         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49569         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49570         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49571         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49572         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49573         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49574         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49575         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49576         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49577         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49578         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49579         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49580         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49581         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49582         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49583         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49584         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49585         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49586         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49587         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49588         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49589         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49590         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49591         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49592         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49593         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49594         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49595         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49596         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49597         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49598         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49599         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49600         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49601         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49602         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49603         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49604         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49605         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49606         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49607         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49608         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49609         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49610         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49611         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49612         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49613         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49614         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49615         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49616         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49617         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49618         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49619         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49620         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49621         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49622         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49623         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49624         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49625         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49626         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49627         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49628         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49629         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49630         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49631         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49632         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49633         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49634         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49635         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49636         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49637         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49638         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49639         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49640         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49641         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49642         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49643         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49644         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49645         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49646         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49647         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49648         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49650         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49651         _XOPEN_SOURCE_EXTENDED for XPG4.
49653         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49655         * Makeconfig (localtime): Remove variable.
49656         (inst_localtime-file): Likewise.
49658 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49661         Update.
49662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49663         Update.
49664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49665         Update.
49666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49667         Update.
49668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49669         Update.
49670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49671         Update.
49672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49673         Update.
49674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49675         Update.
49676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49677         Update.
49679 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49681         [BZ #2550]
49682         [BZ #2570]
49683         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49684         comparisons to determine direction to adjust input.
49685         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49686         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49687         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49688         Likewise.
49689         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49690         Likewise.
49691         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49692         Likewise.
49693         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49694         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49695         Likewise.
49696         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49697         Likewise.
49698         * math/libm-test.inc (nexttoward_test): Add more tests.
49700 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49702         [BZ #14040]
49703         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49704         in version GLIBC_2.1, not GLIBC_2.0.
49705         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49706         Likewise.
49708 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49710         [BZ #13942]
49711         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49712         (1 - x) * (1 + x).
49713         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49714         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49715         * math/libm-test.inc (acos_test): Add more tests.
49716         (asin_test): Likewise.
49717         * sysdeps/i386/fpu/libm-test-ulps: Update.
49718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49720         [BZ #14034]
49721         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49722         of square root.
49723         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49724         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49725         * math/libm-test.inc (acos_test_tonearest): New function.
49726         (acos_test_towardzero): Likewise.
49727         (acos_test_downward): Likewise.
49728         (acos_test_upward): Likewise.
49729         (asin_test_tonearest): Likewise.
49730         (asin_test_towardzero): Likewise.
49731         (asin_test_downward): Likewise.
49732         (asin_test_upward): Likewise.
49733         (main): Call the new functions.
49734         * sysdeps/i386/fpu/libm-test-ulps: Update.
49735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49737         [BZ #13884]
49738         [BZ #13924]
49739         * math/e_exp10.c: Include <float.h>.
49740         (__ieee754_exp10): Handle underflow here rather than multiplying
49741         large negative argument by M_LN10.
49742         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49743         of __ieee754_expf.
49744         * math/e_exp10l.c: Include <float.h>.
49745         (__ieee754_exp10l): Handle underflow here rather than multiplying
49746         large negative argument by M_LN10l.
49747         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49748         spurious overflow exception on underflow.
49750 2012-04-29  Marek Polacek  <polacek@redhat.com>
49752         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49753         (__fortify_function): New macro.
49754         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49755         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49756         __extern_always_inline.
49757         * libio/bits/stdio2.h: Likewise.
49758         * libio/bits/stdio.h: Likewise.
49759         * string/string.h: Likewise.
49760         * string/bits/string3.h: Likewise.
49761         * include/stdio.h: Likewise.
49762         * stdlib/bits/stdlib.h: Likewise.
49763         * stdlib/stdlib.h: Likewise.
49764         * rt/bits/mqueue2.h: Likewise.
49765         * rt/mqueue.h: Likewise.
49766         * posix/bits/unistd.h: Likewise.
49767         * posix/unistd.h: Likewise.
49768         * io/bits/poll2.h: Likewise.
49769         * io/bits/fcntl2.h: Likewise.
49770         * io/fcntl.h: Likewise.
49771         * io/sys/poll.h: Likewise.
49772         * misc/bits/syslog.h: Likewise.
49773         * misc/bits/syslog-ldbl.h: Likewise.
49774         * misc/sys/syslog.h: Likewise.
49775         * socket/bits/socket2.h: Likewise.
49776         * socket/sys/socket.h: Likewise.
49777         * debug/tst-chk1.c: Likewise.
49778         * wcsmbs/bits/wchar2.h: Likewise.
49779         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49780         * wcsmbs/wchar.h: Likewise.
49782 2012-04-29  Andreas Jaeger  <aj@suse.de>
49784         * Makerules (tests): Remove enable-check-abi protection.
49785         (check-abi-warn): Remove.
49786         (check-abi-%): Remove check-abi-warn usage.
49788         * configure.in: Remove check-abi configure option.
49789         * configure: Regenerated.
49790         * config.make.in (enable-check-abi): Remove.
49792 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49794         [BZ #14033]
49795         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49796         double functions to double *_finite functions.
49798         [BZ #13941]
49799         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49800         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49801         LDBL_MIN_EXP.
49802         * stdio-common/Makefile (tests): Add tst-sprintf3.
49803         * stdio-common/tst-sprintf3.c: New file.
49805         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49806         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49808 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49810         * conform/conformtest.pl: Remove duplicate typed-constant
49811         handling.
49813 2012-04-28  David S. Miller  <davem@davemloft.net>
49815         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49816         (check-abi-%): Remove AWK script prerequisite and explicit
49817         abilist directory.
49818         (check-abi): Rewrite to just diff the symlist with the abilist.
49819         (config-tls, config-abi-config): Delete, no longer used.
49820         (update-abi-%): Remove AWK script and explicit abilist directory.
49821         (update-abi): Rewrite to simply compare and conditionally copy the
49822         symlist and the sysdep abilist file.  Remove update-abi-config
49823         checks.
49824         * abilist/ld.abilist: Remove.
49825         * abilist/libBrokenLocale.abilist: Remove.
49826         * abilist/libanl.abilist: Remove.
49827         * abilist/libcrypt.abilist: Remove.
49828         * abilist/libdl.abilist: Remove.
49829         * abilist/librt.abilist: Remove.
49830         * abilist/libthread_db.abilist: Remove.
49831         * abilist/libutil.abilist: Remove.
49832         * scripts/extract-abilist.awk: Remove.
49833         * scripts/merge-abilist.awk: Remove.
49834         * sysdeps/generic/libcidn.abilist: New file.
49835         * sysdeps/generic/libnss_compat.abilist: New file.
49836         * sysdeps/generic/libnss_db.abilist: New file.
49837         * sysdeps/generic/libnss_dns.abilist: New file.
49838         * sysdeps/generic/libnss_files.abilist: New file.
49839         * sysdeps/generic/libnss_hesiod.abilist: New file.
49840         * sysdeps/generic/libnss_nis.abilist: New file.
49841         * sysdeps/generic/libnss_nisplus.abilist: New file.
49842         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49843         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49844         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49845         file.
49846         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49847         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49848         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49849         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49850         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49851         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49852         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49853         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49854         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49855         file.
49856         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49857         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49858         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49859         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49860         file.
49861         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49862         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49863         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49864         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49865         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49866         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49867         file.
49868         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49869         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49870         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49871         file.
49872         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49874         New file.
49875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49876         New file.
49877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49878         New file.
49879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49880         New file.
49881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49882         New file.
49883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49884         New file.
49885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49886         New file.
49887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49888         New file.
49889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49890         New file.
49891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49892         New file.
49893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49894         New file.
49895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49896         New file.
49897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49898         New file.
49899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49900         file.
49901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49902         New file.
49903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49904         New file.
49905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49906         file.
49907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49908         New file.
49909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49910         New file.
49911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49912         file.
49913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49914         New file.
49915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49916         New file.
49917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49918         New file.
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49920         New file.
49921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49922         New file.
49923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49924         New file.
49925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49927         file.
49928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49929         New file.
49930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49931         file.
49932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49933         file.
49934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49935         file.
49936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49937         file.
49938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49939         file.
49940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49941         New file.
49942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49943         file.
49944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49945         file.
49946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49947         New file.
49948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49949         file.
49950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49952         file.
49953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49954         New file.
49955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49956         file.
49957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49958         file.
49959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49960         file.
49961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49962         file.
49963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49964         file.
49965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49966         New file.
49967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49968         file.
49969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49970         file.
49971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49972         New file.
49973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49974         file.
49975         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49976         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49977         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49978         file.
49979         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49980         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49981         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49982         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49983         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49984         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49985         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49986         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49987         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49988         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49991         file.
49992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49993         New file.
49994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49995         file.
49996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49997         file.
49998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49999         file.
50000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50001         file.
50002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50003         file.
50004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50005         New file.
50006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50007         New file.
50008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50009         file.
50010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50011         New file.
50012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50013         file.
50014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50016         file.
50017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50018         New file.
50019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50020         file.
50021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50022         file.
50023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50024         file.
50025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50026         file.
50027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50028         file.
50029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50030         New file.
50031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50032         New file.
50033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50034         file.
50035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50036         New file.
50037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50038         file.
50040 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50042         * conform/conformtest.pl: Fix typo in handling typed-constant from
50043         allow-header.
50045 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50047         * README: Cut down references to pre-2.6 Linux kernels and
50048         Linuxthreads.  Update lists of configurations in libc and ports
50049         and sort alphabetically.  Say "or newer" with Linux kernel version
50050         requirements.
50052         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50054 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50056         [BZ #887]
50057         * math/libm-test.inc (logb_test_downward): New test to expose
50058         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50059         rounding mode.
50061 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50063         [BZ #14027]
50064         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50065         to be done.
50066         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50067         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50069 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50071         * sysdeps/unix/i386/brk.S: Remove file.
50072         * sysdeps/unix/i386/dl-brk.S: Likewise.
50073         * sysdeps/unix/i386/pipe.S: Likewise.
50074         * sysdeps/unix/i386/sigreturn.S: Likewise.
50075         * sysdeps/unix/i386/syscall.S: Likewise.
50076         * sysdeps/unix/i386/vfork.S: Likewise.
50077         * sysdeps/unix/i386/wait.S: Likewise.
50079         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50080         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50082         * configure.in (arm*-none*): Do not allow without
50083         --enable-hacker-mode.
50084         (netbsd*): Remove case setting base_os.
50085         (386bsd*): Likewise.
50086         (freebsd*): Likewise.
50087         (bsdi*): Likewise.
50088         (osf*): Likewise.
50089         (sunos*): Likewise.
50090         (ultrix*): Likewise.
50091         (newsos*): Likewise.
50092         (dynix*): Likewise.
50093         (*bsd*): Likewise.
50094         (sysv*): Likewise.
50095         (isc*): Likewise.
50096         (esix*): Likewise.
50097         (sco*): Likewise.
50098         (minix*): Likewise.
50099         (irix4*): Likewise.
50100         (irix6*): Likewise.
50101         (solaris[2-9]*): Likewise.
50102         (none): Likewise.
50103         * configure: Regenerated.
50105 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50107         [BZ #11521]
50108         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50109         overflow or cancellation in calculating denominator.
50110         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50111         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50112         down expression to avoid unexpected rounding in newer GCCs.
50113         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50115 2012-04-26  David S. Miller  <davem@davemloft.net>
50117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50118         long-double compat symbols.
50119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50133 2012-04-25  David S. Miller  <davem@davemloft.net>
50135         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50136         HWCAP_* values only after the memory barriers have been defined.
50137         (atomic_full_barrier): Define.
50138         (atomic_read_barrier): Define.
50139         (atomic_write_barrier): Define.
50141 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50143         * shlib-versions: Add libgcc_s version information.
50144         * sysdeps/generic/libgcc_s.h: Remove.
50145         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50146         libgcc_s.h.
50147         * sysdeps/gnu/unwind-resume.c: Likewise.
50148         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50150 2012-04-25  David S. Miller  <davem@davemloft.net>
50152         * sysdeps/unix/sparc/brk.S: Delete.
50153         * sysdeps/unix/sparc/dl-brk.S: Delete.
50154         * sysdeps/unix/sparc/pipe.S: Delete.
50155         * sysdeps/unix/sparc/sysdep.S: Delete.
50156         * sysdeps/unix/sparc/sysdep.h: Delete.
50157         * sysdeps/unix/sparc/vfork.S: Delete.
50158         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50159         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50160         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50161         (ret_ERRVAL, r0, r1, MOVE): Define.
50162         (JUMPTARGET): Remove.
50163         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50164         sysdeps/unix/sparc/sysdep.h
50165         (ENTRY, END): Remove.
50166         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50168 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50170         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50171         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50172         -DIS_IN_build.
50174         * timezone/README: Update upstream location and email address for
50175         tzcode and tzdata.
50176         * timezone/zdump.c: Update from tzcode 2012b.
50177         * timezone/zic.c: Likewise.
50179         * configure.in (libc_cv_as_needed): Remove test.
50180         * configure: Regenerated.
50181         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50182         conditional definition.
50183         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50184         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50185         * config.make.in (have-as-needed): Remove variable.
50187 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50188             Paul Pluzhnikov  <ppluzhnikov@google.com>
50190         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50191         strings correctly.
50193 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50195         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50196         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50197         * sysdeps/sh/strlen.S: Likewise.
50199 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50201         * sysdeps/unix/fork.S: Remove file.
50202         * sysdeps/unix/i386/fork.S: Likewise.
50203         * sysdeps/unix/sparc/fork.S: Likewise.
50205         * sysdeps/unix/system.c: Remove file.
50206         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50208         * sysdeps/unix/getegid.S: Remove file.
50209         * sysdeps/unix/geteuid.S: Likewise.
50211 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50213         * scripts/check-localplt.awk: New file.
50214         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50215         of diff.
50216         * scripts/data/localplt-generic.data: Add a comment.
50218         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50219         NODE when __dir_mkfile failed.
50220         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50221         Reported by Ludovic Courtès <ludo@gnu.org>.
50223 2012-04-24  Andreas Jaeger  <aj@suse.de>
50225         * Makerules (common-clean): Also remove gen-as-const-headers
50226         files.
50228 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50230         * Makerules (native-compile): Do not change working directory for
50231         build.  Use $(OUTPUT_OPTION) in command.
50232         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50234 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50236         [BZ #13886]
50237         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50238         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50239         * math/libm-test.inc (floor_test): Add more tests.
50240         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50242 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50244         * sysdeps/unix/getdents.c: Remove file.
50245         * sysdeps/unix/sysv/getdents.c: Likewise.
50246         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50248         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50249         sysdeps/unix/mman/syscalls.list.
50250         (mmap): Likewise.
50251         (mprotect): Likewise.
50252         (msync): Likewise.
50253         (munmap): Likewise.
50254         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50255         * sysdeps/unix/mman/syscalls.list: Remove.
50256         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50258         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50259         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50260         * configure: Regenerated.
50261         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50262         $(libgcc_s_suffix).
50263         * config.make.in (libgcc_s_suffix): Remove variable.
50265 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50267         * sysdeps/unix/sysv/gethostname.c: Move to ...
50268         * sysdeps/posix/gethostname.c: ... here.
50270         * sysdeps/unix/execve.S: Remove file.
50272         * sysdeps/unix/_exit.S: Remove file.
50274 2012-04-23  Andreas Jaeger  <aj@suse.de>
50276         [BZ #13739]
50277         * manual/Makefile: Remove make dist support, there's no
50278         need for a stand-alone documentation tar ball.
50279         (TEXI2DVI): Define always, it's not in Makeconfig.
50280         (dist): Removed.
50281         (tar-it): Removed.
50282         (edition): Removed.
50283         (glibc-doc-$(edition).tar): Removed
50284         (%.Z): Removed.
50285         (%.gz): Removed.
50286         (%.uu): Removed.
50287         (ETAGS): Remove, it's in Makeconfig.
50288         (move-if-change): Remove, it's in Makeconfig.
50290 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50292         [BZ #13970]
50293         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50294         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50295         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50296         (strtod_l, strtof_l, strtold_l): Remove __wur.
50297         It is not necessarily an error to ignore strtol's return value.
50298         One can reliably look at the stored endptr to decide whether
50299         the number had valid syntax.
50301 2012-04-21  Andreas Jaeger  <aj@suse.de>
50303         [BZ #13739]
50304         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50306 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50308         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50309         * sysdeps/unix/sysv/Versions: Remove file.
50311 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50313         [BZ #13927]
50314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50316 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50318         [BZ #7064]
50319         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50320         version from __vm86.
50322 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50324         * sysdeps/unix/common/lxstat.c: Remove file.
50325         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50327         * sysdeps/unix/sysv/Makefile: Remove file.
50329         * sysdeps/unix/sysv/direct.h: Remove file.
50331         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50332         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50333         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50334         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50335         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50336         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50337         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50339         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50341         * sysdeps/unix/xmknod.c: Remove file.
50342         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50344         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50346         * sysdeps/unix/sysv/i386/time.S: Remove file.
50348         * sysdeps/unix/fxstat.c: Remove file.
50349         * sysdeps/unix/xstat.c: Likewise.
50350         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50352         * sysdeps/unix/sysv/sigaction.c: Remove file.
50354         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50355         (sysdep_headers): Remove variable.
50356         [termio.h not in sysdep_headers] (generated): Likewise.
50357         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50358         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50359         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50360         * sysdeps/unix/sysv/tcflow.c: Likewise.
50361         * sysdeps/unix/sysv/tcflush.c: Likewise.
50362         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50363         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50364         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50365         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50366         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50368         * sysdeps/unix/siglist.c: Remove file.
50370         * sysdeps/unix/getppid.S: Remove file.
50372         * sysdeps/unix/mkdir.c: Remove file.
50373         * sysdeps/unix/rmdir.c: Likewise.
50375 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50377         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50378         ERR_MAX value.
50379         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50380         errlist-compat value.
50382 2012-04-18  David S. Miller  <davem@davemloft.net>
50384         * sysdeps/generic/memcopy.h (reg_char): Delete.
50385         * debug/strcat_chk.c: Use char, not reg_char.
50386         * debug/strcpy_chk.c: Likewise.
50387         * debug/strncat_chk.c: Likewise.
50388         * debug/strncpy_chk.c: Likewise.
50389         * string/memchr.c: Likewise.
50390         * string/memrchr.c: Likewise.
50391         * string/rawmemchr.c: Likewise.
50392         * string/strcat.c: Likewise.
50393         * string/strchr.c: Likewise.
50394         * string/strchrnul.c: Likewise.
50395         * string/strcmp.c: Likewise.
50396         * string/strcpy.c: Likewise.
50397         * string/strncat.c: Likewise.
50398         * string/strncmp.c: Likewise.
50399         * string/strncpy.c: Likewise.
50401 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50403         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50404         __builtin_memcopy is called when src and dest ranges are known to not
50405         overlap.
50407 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50409         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50410         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50411         fwd_align_merge macro call.
50412         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50413         bwd_align_merge macro call.
50414         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50416 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50418         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50419         bwd_align_merge macros.
50420         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50421         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50422         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50424 2012-04-18  David S. Miller  <davem@davemloft.net>
50426         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50428 2012-04-18  Andreas Jaeger  <aj@suse.de>
50430         [BZ# 6794]
50431         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50432         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50433         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50435         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50436         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50437         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50439         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50440         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50441         Adjust for changed ldbl-128 files.
50443         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50444         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50445         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50447 2012-04-17  David S. Miller  <davem@davemloft.net>
50449         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50451 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50453         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50454         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50455         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50456         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50457         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50458         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50460 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50462         [BZ #6794]
50463         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50464         * math/libm-test.inc: Add ilogb errno and exception tests.
50465         * math/w_ilogb.c: New file: ilogb wrapper.
50466         * math/w_ilogbf.c: New file: ilogbf wrapper.
50467         * math/w_ilogbl.c: New file: ilogbl wrapper.
50468         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50469         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50470         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50471         exception being thrown with 0.0 as argument.
50472         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50473         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50474         exception being thrown with 0.0 as argument.
50475         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50476         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50477         exception being thrown with 0.0 as argument.
50478         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50479         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50480         exception being thrown with 0.0 as argument.
50481         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50482         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50483         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50484         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50485         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50486         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50487         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50488         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50489         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50491 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50493         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50494         with altivec.
50496 2012-04-16  Marek Polacek  <polacek@redhat.com>
50498         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50500 2012-04-16  Marek Polacek  <polacek@redhat.com>
50502         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50503         operands of fdivp instruction.
50505 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50507         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50508         * elf/tst-auditmod3b.c: Likewise.
50509         * elf/tst-auditmod4b.c: Likewise.
50510         * elf/tst-auditmod5b.c: Likewise.
50511         * elf/tst-auditmod6b.c: Likewise.
50512         * elf/tst-auditmod6c.c: Likewise.
50513         * elf/tst-auditmod7b.c: Likewise.
50514         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50515         * sysdeps/x86_64/preconfigure.in: Likewise.
50516         * sysdeps/x86_64/preconfigure: Regenerated.
50518 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50520         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50521         __ILP32__.
50523 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50525         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50526         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50528 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50530         [BZ #13973]
50531         * locale/iso-639.def: Fix gl language name. Spotted by
50532         Yaron Shahrabani.
50534 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50536         [BZ #2074]
50537         * libio/libio.h (__io_write_fn): Update comment.
50539 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50541         [BZ #2074]
50542         * stdio.texi (Hook Functions): The user provided writer function
50543         is not allowed to return -1.
50545 2012-04-11  David S. Miller  <davem@davemloft.net>
50547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50549 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50551         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50552         Add a leading slash to rtkaio.
50554 2012-04-11  Jim Meyering  <meyering@redhat.com>
50556         [BZ #11959]
50557         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50558         It is not necessarily an error to ignore fwrite's return
50559         value.  One can reliably use ferror to test for errors after
50560         the fact.
50562 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50564         * bits/types.h (__snseconds_t): New type.
50565         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50567         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50569         (__SNSECONDS_T_TYPE): Likewise.
50570         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50571         (__SNSECONDS_T_TYPE): Likewise.
50572         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50573         (__SNSECONDS_T_TYPE): Likewise.
50575 2012-04-10  Andreas Jaeger  <aj@suse.de>
50577         [BZ #2636]
50578         * manual/time.texi (Processor Time): Return type of times is
50579         elapsed real time since an arbitrary point in the past.
50580         (CPU Time): Move CLK_TCK from here...
50581         (Processor Time): ...to here.  Correct description.
50582         * manual/conf.texi (Constants for Sysconf): Correct description of
50583         _SC_CLK_TCK.
50585 2012-04-10  David S. Miller  <davem@davemloft.net>
50587         [BZ #13967]
50588         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50589         where the is a gap between DT_REL(A) and DT_JMPREL.
50591 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50593         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50594         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50595         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50597 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50599         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50600         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50601         (dl_main): Handle --inhibit-cache.
50602         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50603         _dl_inhibit_cache.
50604         * elf/dl-load.c (_dl_map_object): Use it.
50605         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50607 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50609         [BZ #13872]
50610         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50611         (__ieee754_powl): Saturate large exponents rather than testing for
50612         overflow of y*log2(x).
50613         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50614         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50615         exceptions.
50617         [BZ #11521]
50618         * math/s_ctan.c: Include <float.h>.
50619         (__ctan): Avoid internal overflow or cancellation in calculating
50620         denominator.
50621         * math/s_ctanf.c: Likewise.
50622         * math/s_ctanl.c: Likewise.
50623         * math/s_ctanh.c: Likewise.
50624         * math/s_ctanhf.c: Likewise.
50625         * math/s_ctanhl.c: Likewise.
50626         * math/libm-test.inc (ctan_test): Add more tests.
50627         (ctanh_test): Likewise.
50628         * sysdeps/i386/fpu/libm-test-ulps: Update.
50629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50631 2012-04-09  Andreas Jaeger  <aj@suse.de>
50633         [BZ #6894]
50634         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50635         is an optional BSD extension.
50637         [BZ #10254]
50638         * manual/stdio.texi (Opening Streams): Document additional fopen
50639         parameters.
50641 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50643         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50644         %eax without telling the compiler.
50646 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50648         [BZ # 13963]
50649         * manual/install.texi: Use sourceware.org.
50651 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50653         [BZ #13873]
50654         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50655         (__ieee754_pow): Generate overflow and underflow using huge*huge
50656         and tiny*tiny rather than just returning constant infinity or zero
50657         for large exponents.
50658         * math/libm-test.inc (pow_test): Require overflow exceptions for
50659         applicable cases of large exponents.
50661         [BZ #706]
50662         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50663         (__ieee754_pow): Use iterative multiplication algorithm only for
50664         integer exponents with absolute value below 1024.  Check for odd
50665         integer exponents when using algorithm for real exponents.
50666         * math/libm-test.inc (pow_test): Add more tests.
50667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50669 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50671         [BZ #13705]
50672         * math/libm-test.inc (exp_test): Do not allow overflow exception
50673         on underflow test.
50675 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50677         [BZ #13705]
50678         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50679         instead of __kernel_standard_f.
50681 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50683         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50684         * sysdeps/x86_64/memset_chk.S: Likewise.
50686 2012-04-08  Andreas Jaeger  <aj@suse.de>
50688         [BZ #10153]
50689         * manual/startup.texi (Environment Access): Describe return value
50690         for putenv and setenv.
50692         [BZ #6895]
50693         * manual/filesys.texi (Directory Entries): Add description for
50694         DT_LNK.
50696         [BZ #6890]
50697         * manual/filesys.texi (Directory Entries): Clarify that it's file
50698         system not operating system in the description of DT_UNKNOWN.
50700         [BZ #6578]
50701         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50703 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50705         [BZ #6649]
50706         * manual/llio.texi (Opening and Closing Files): Add cross
50707         reference to explain mode argument.
50709 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50711         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50712         * sysdeps/x86_64/memset_chk.S: Likewise.
50714 2012-04-07  David S. Miller  <davem@davemloft.net>
50716         * elf/elf.h (R_SPARC_WDISP10): Define.
50717         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50718         R_SPARC_SIZE32.
50719         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50720         R_SPARC_SIZE64 and R_SPARC_H34.
50722 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50724         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50725         conditions and remove no longer applicable assertion.
50727 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50729         * bits/byteswap.h: Include <features.h>.
50730         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50731         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50733 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50735         * bits/byteswap.h (__bswap_16): Removed.
50736         Include <bits/byteswap-16.h> to get __bswap_16.
50737         * sysdeps/i386/bits/byteswap.h: Likewise.
50738         * sysdeps/s390/bits/byteswap.h: Likewise.
50739         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50740         * bits/byteswap-16.h: New file.
50741         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50742         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50743         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50744         * string/Makefile (headers): Add bits/byteswap-16.h.
50746 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50748         [BZ #13895]
50749         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50750         extra indirection.
50751         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50752         * nss/tst-nss-static.c: New.
50754 2012-04-06  Robert Millan  <rmh@gnu.org>
50756         [BZ #6486]
50757         * manual/llio.texi (File Position Primitive): lseek
50758         refers to WHENCE when it really means OFFSET.
50760 2012-04-06  Andreas Jaeger  <aj@suse.de>
50762         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50763         strncmp declarations.
50765         * abilist/libc.abilist: Add __poll and __ppoll.
50767 2012-04-05  David S. Miller  <davem@davemloft.net>
50769         * scripts/check-local-headers.sh: Accept a host triplet in the
50770         path matched by the exclude regexp.
50772         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50773         definition.
50774         * sysdeps/powerpc/powerpc32/dl-machine.h
50775         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50776         * sysdeps/s390/s390-32/dl-machine.h
50777         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50778         * sysdeps/sparc/sparc32/dl-machine.h
50779         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50780         * sysdeps/sparc/sparc64/dl-machine.h
50781         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50783         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50784         lazy binding.
50785         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50786         undefined symbol errors.
50788         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50789         DT_NEEDED entries.
50791 2012-04-05  Michael Matz  <matz@suse.de>
50793         [BZ #13592]
50794         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50796 2012-04-05  Andreas Jaeger  <aj@suse.de>
50798         [BZ #13908]
50799         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50800         comment.
50802 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50804         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50805         which ROUND is no valid rounding mode.
50807 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50809         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50810         read again.
50811         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50813 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50815         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50816         an exception using FPU order intentionally.
50818 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50820         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50821         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50822         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50823         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50825 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50827         [BZ #12340]
50828         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50829         EINVAL when BUFLEN is too smal.
50831 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50833         [BZ #13553]
50834         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50835         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50837 2012-04-03  Andreas Jaeger  <aj@suse.de>
50839         [BZ #13938]
50840         * manual/setjmp.texi (System V contexts): Fix sentence.
50842         [BZ #13926]
50843         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50844         New macro for this case.
50845         [!__GNUC__] (__bswap_64): New inline function for this case.
50846         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50847         * bits/byteswap.h: Likewise.
50848         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50849         ull, guard with __GLIBC_HAVE_LONG_LONG.
50851         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50852         __GLIBC_HAVE_LONG_LONG.
50854         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50855         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50857 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50859         [BZ #13691]
50860         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50861         inptr and inend, rather than using last_ch.
50863 2012-04-02  David S. Miller  <davem@davemloft.net>
50865         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50866         * stdio-common/printf-parse.h (read_int): Change return type to
50867         'int', return -1 on INT_MAX overflow.
50868         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50869         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50870         overflows INT_MAX.  Check for overflow of in-format-string precision
50871         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50872         SIZE_MAX not INT_MAX for integer overflow test.
50873         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50874         skip the construct in the format string but do not record anything.
50875         * stdio-common/bug22.c: Adjust to test both width/prevision
50876         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50877         explicitly for proper errno values.
50879 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50881         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50882         CHAR_MAX.
50883         * string/test-strcmp.c [! WIDE]: Likewise.
50884         * time/tst-mktime2.c: Likewise for INT_MAX.
50885         * string/test-string.h: #include <sys/param.h> for MIN.
50887         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50888         * sysdeps/i386/init-first.c (init): Likewise.
50889         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50890         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50891         * sysdeps/sh/init-first.c (init): Likewise.
50893 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50895         * po/ru.po: Update from translation team.
50896         * po/vi.po: Likewise.
50898 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50900         * resolv/nss_dns/dns-host.c: Merge copyright years.
50902 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50904         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50905         Optimize memcpy with prefetch if
50906         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50907         src, dst pointers have unequal 16 byte alignments.
50909 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50911         [BZ #13928]
50912         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50913         from a CNAME entry and return the minimum ttl for the query.
50914         (gaih_getanswer_slice): Likewise.
50916 2012-03-30  Jeff Law  <law@redhat.com>
50918         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50919         due to long keys.
50920         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50921         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50923         * resolv/nss_dns/dns-host.c: Update copyright year.
50925 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50927         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50928         requests to save a system call.  Fix check that all bytes are sent.
50930         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50931         comments for sendmmsg.
50933 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50935         [BZ #13691]
50936         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50937         with only 1 character between 0x0041 and 0x01b0.
50938         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50939         * wcsmbs/tst-mbsnrtowcs.c: New file.
50941 2012-03-29  David S. Miller  <davem@davemloft.net>
50943         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50944         small copies by hand.
50946 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50948         [BZ #13761]
50949         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50950         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50951         group memberships.
50953 2012-03-28  David S. Miller  <davem@davemloft.net>
50955         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50956         that branches into memcpy.
50957         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50958         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50959         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50960         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50962         bits.
50963         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50964         implementation too.
50965         * sysdeps/sparc/mempcpy.S: New file.
50967         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50968         the IFUNC routine in the libc case.
50969         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50971         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50972         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50973         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50974         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50975         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50976         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50977         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50978         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50980         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50981         loop to 256 bytes instead of 64 bytes and fix test signedness.
50983         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50984         * sysdeps/sparc/sparc32/Makefile: rather than here...
50985         * sysdeps/sparc/sparc64/Makefile: and here.
50987 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50989         * malloc/mallocbug.c: Avoid warnings about unused variables.
50991 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50993         [BZ #13760]
50994         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50995         in the right place. Discard and retry query if response is
50996         larger than input buffer size.
50998 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51000         [BZ #369]
51001         [BZ #2678]
51002         [BZ #3866]
51003         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51004         x for large integer exponent.
51005         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51006         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51007         sign of result as needed afterwards.
51008         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51009         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51010         result for underflowing pow the same as for overflow.
51011         (__kernel_standard_l): Handle powl overflow and underflow here
51012         rather than calling __kernel_standard.
51013         * math/libm-test.inc (pow_test): Add more tests.
51015         [BZ #3868]
51016         [BZ #13879]
51017         [BZ #13910]
51018         [BZ #13911]
51019         [BZ #13912]
51020         [BZ #13913]
51021         [BZ #13915]
51022         [BZ #13916]
51023         [BZ #13917]
51024         [BZ #13918]
51025         [BZ #13919]
51026         [BZ #13920]
51027         [BZ #13921]
51028         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51029         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51030         (__kernel_standard_l): New function.
51031         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51032         __kernel_standard.
51033         * math/w_acosl.c (__acosl): Likewise.
51034         * math/w_asinl.c (__asinl): Likewise.
51035         * math/w_atan2l.c (__atan2l): Likewise.
51036         * math/w_atanhl.c (__atanhl): Likewise.
51037         * math/w_coshl.c (__coshl): Likewise.
51038         * math/w_exp10l.c (__exp10l): Likewise.
51039         * math/w_exp2l.c (__exp2l): Likewise.
51040         * math/w_fmodl.c (__fmodl): Likewise.
51041         * math/w_hypotl.c (__hypotl): Likewise.
51042         * math/w_j0l.c (__j0l, __y0l): Likewise.
51043         * math/w_j1l.c (__j1l, __y1l): Likewise.
51044         * math/w_jnl.c (__jnl, __ynl): Likewise.
51045         * math/w_lgammal.c (__lgammal): Likewise.
51046         * math/w_log10l.c (__log10l): Likewise.
51047         * math/w_log2l.c (__log2l): Likewise.
51048         * math/w_logl.c (__logl): Likewise.
51049         * math/w_powl.c (__powl): Likewise.
51050         * math/w_remainderl.c (__remainderl): Likewise.
51051         * math/w_scalbl.c (sysv_scalbl): Likewise.
51052         * math/w_sinhl.c (__sinhl): Likewise.
51053         * math/w_sqrtl.c (__sqrtl): Likewise.
51054         * math/w_tgammal.c (__tgammal): Likewise.
51055         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51056         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51057         * math/libm-test.inc (acos_test): Add more tests.
51058         (acosh_test): Likewise.
51059         (asin_test): Likewise.
51060         (atanh_test): Likewise.
51061         (exp_test): Likewise.
51062         (exp10_test): Likewise.
51063         (exp2_test): Likewise.
51064         (expm1_test): Likewise.
51065         (lgamma_test): Likewise.
51066         (log_test): Likewise.
51067         (log10_test): Likewise.
51068         (log1p_test): Likewise.
51069         (log2_test): Likewise.
51070         (pow_test): Do not allow some spurious overflow exceptions.
51071         (sqrt_test): Add more tests.
51072         (tgamma_test): Likewise.
51073         (y0_test): Likewise.
51074         (y1_test): Likewise.
51075         (yn_test): Likewise.
51077 2012-03-27  Anton Blanchard  <anton@samba.org>
51079         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51080         MAP_HUGETLB.
51081         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51082         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51083         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51085 2012-03-27  David S. Miller  <davem@davemloft.net>
51087         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51089         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51090         have-as-vis3 check.
51092 2012-03-27  Andreas Jaeger  <aj@suse.de>
51094         * sysdeps/x86_64/elf/configure.in: Moved to ...
51095         * sysdeps/x86_64/configure.in: ... here.
51096         * sysdeps/x86_64/elf/start.S: Moved to ...
51097         * sysdeps/x86_64/start.S: ... here.
51098         * sysdeps/x86_64/elf/configure: Delete.
51100         * sysdeps/x86_64/configure.in: Merge contents from
51101         sysdeps/i386/configure.in (without i686 check).
51103         * sysdeps/i386/elf/Versions: Merge into ...
51104         * sysdeps/i386/Versions: ... this.
51105         * sysdeps/i386/elf/Versions: Delete file.
51106         * sysdeps/i386/elf/start.S: Moved to ...
51107         * sysdeps/i386/start.S: ...here.
51108         * sysdeps/i386/elf/configure.in: Merge into...
51109         * sysdeps/i386/configure.in: ...here.
51110         * sysdeps/i386/elf/configure.in: Delete file.
51111         * sysdeps/i386/elf/configure: Delete file.
51113         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51114         * debug/backtracesyms.c: ... here.
51115         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51116         * debug/backtracesymsfd.c: ... here.
51117         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51118         * sysdeps/generic/ifunc-sel.h: ... here.
51120         * sysdeps/unix/i386/start.c: Delete file.
51121         * sysdeps/unix/sparc/start.c: Delete file.
51122         * sysdeps/unix/start.c: Delete file.
51124         * sysdeps/sh/elf/configure.in: Moved to ...
51125         * sysdeps/sh/configure.in: ... here.
51126         * sysdeps/sh/elf/start.S: Moved to ...
51127         * sysdeps/sh/start.S: ... here.
51128         * sysdeps/sh/elf/configure: Delete file.
51130         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51131         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51132         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51133         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51134         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51135         * sysdeps/powerpc/powerpc64/start.S: here.
51136         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51137         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51138         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51139         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51140         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51142         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51143         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51144         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51145         * sysdeps/powerpc/powerpc32/start.S: ... here.
51146         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51147         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51148         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51150         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51151         * sysdeps/powerpc/ifunc-sel.h: ... here.
51152         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51153         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51155         * sysdeps/sparc/elf/configure.in: Moved to ...
51156         * sysdeps/sparc/configure.in: ... here.
51157         * sysdeps/sparc/elf/configure: Delete file.
51158         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51159         * sysdeps/sparc/sparc32/start.S: ... here.
51160         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51161         * sysdeps/sparc/sparc64/start.S: ... here.
51162         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51163         * sysdeps/sparc/sparc32/Makefile: ... this.
51164         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51165         * sysdeps/sparc/sparc64/Makefile: ... this.
51167         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51168         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51169         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51170         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51171         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51172         * sysdeps/s390/s390-32/setjmp.S: ... here.
51173         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51174         * sysdeps/s390/s390-32/configure.in: ... here.
51175         * sysdeps/s390/s390-32/elf/configure: Delete file.
51176         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51177         * sysdeps/s390/s390-32/start.S: ... here.
51179         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51180         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51181         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51182         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51183         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51184         * sysdeps/s390/s390-64/setjmp.S: ... here.
51185         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51186         * sysdeps/s390/s390-64/configure.in: ... here
51187         * sysdeps/s390/s390-64/elf/configure: Delete file.
51188         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51189         * sysdeps/s390/s390-64/start.S: ... here.
51190         * sysdeps/s390/s390-64/elf/configure: Delete.
51192         * configure.in: Remove support for elf directories in sysdeps.
51194         * configure: Regenerated.
51195         * sysdeps/i386/configure: Regenerated.
51196         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51197         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51198         * sysdeps/s390/s390-32/configure: Regenerated.
51199         * sysdeps/s390/s390-64/configure: Regenerated.
51200         * sysdeps/sh/configure: Regenerated.
51201         * sysdeps/sparc/configure: Regenerated.
51202         * sysdeps/x86_64/configure: Regenerated.
51204 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51208         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51209         denormal result into account.
51211 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51213         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51214         Reported by Allan McRae <allan@archlinux.org>.
51216 2012-03-23  Jeff Law  <law@redhat.com>
51218         * nss/getnssent.c (__nss_getent): Fix typo.
51220 2012-03-23  David S. Miller  <davem@davemloft.net>
51222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51224 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51226         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51227         to pad to uint64_t for each field.
51228         (dl_tls_index): Replace unsigned long with uint64_t.
51230 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51231         Paul Pluzhnikov  <ppluzhnikov@google.com>
51233         [BZ #6528]
51234         * grp/Makefile (otherlibs): Don't set it.
51235         * inet/Makefile (otherlibs): Likewise.
51236         * login/Makefile (otherlibs): Likewise.
51237         * nscd/Makefile (otherlibs): Likewise.
51238         * posix/Makefile (otherlibs): Likewise.
51239         * pwd/Makefile (otherlibs): Likewise.
51240         * rt/Makefile (otherlibs): Likewise.
51241         * sunrpc/Makefile (otherlibs): Likewise.
51242         * nss/Makefile (otherlibs): Likewise.
51243         Add libnss_files to routines and static-only-routines.
51244         ($(objpfx)getent): Remove rule.
51245         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51246         static-only-routines.
51248 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51250         [BZ #13892]
51251         * math/s_cexp.c: Include <float.h>.
51252         (__cexp): Handle exp result overflowing not necessarily
51253         overflowing both real and imaginary parts of result.
51254         * math/s_cexpf.c: Likewise.
51255         * math/s_cexpl.c: Likewise.
51256         * math/libm-test.inc (cexp_test): Add more tests.
51257         * sysdeps/i386/fpu/libm-test-ulps: Update.
51258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51260 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51262         * include/link.h (ELFW): New macro.
51263         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51264         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51266 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51268         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51269         with uint64_t.
51271 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51273         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51274         declaration.
51275         (struct La_x32_retval): Likewise.
51277 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51279         * sysdeps/x86_64/preconfigure.in: New file.
51280         * sysdeps/x86_64/preconfigure: New generated file.
51282 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51284         [BZ #13824]
51285         * math/e_exp2l.c: Include <float.h>.
51286         (__ieee754_exp2l): Handle overflow and underflow cases
51287         separately.  Only pass fractional part of argument to
51288         __ieee754_expl.
51289         * math/libm-test.inc (exp2_test): Add more tests.
51291         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51292         negating x to take absolute value.
51293         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51294         Likewise.
51295         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51296         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51297         Likewise.
51298         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51299         computing low part if x was negated.
51300         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51302 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51304         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51305         la_x32_gnu_pltexit.
51306         (pltexit): Cast int_retval to ptrdiff_t.
51307         * elf/tst-auditmod3b.c: Likewise.
51308         * elf/tst-auditmod4b.c: Likewise.
51309         * elf/tst-auditmod5b.c: Likewise.
51310         * elf/tst-auditmod6b.c: Likewise.
51311         * elf/tst-auditmod6c.c: Likewise.
51312         * elf/tst-auditmod7b.c: Likewise.
51314         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51315         and x32_gnu_pltexit.
51317         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51318         __ELF_NATIVE_CLASS.
51319         (La_x32_regs): New macro.
51320         (La_x32_retval): Likewise.
51321         (la_x32_gnu_pltenter): New function prototype.
51322         (la_x32_gnu_pltexit): Likewise.
51324 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51326         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51327         exponent.
51329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51331         * configure.in (libc_cv_cc_nofma): Check for option to disable
51332         generation of FMA instructions.
51333         * configure: Regenerate.
51334         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51335         * sysdeps/ieee754/dbl-64/Makefile: New file.
51336         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51337         Remove brandred-fma4.
51338         (CFLAGS-brandred-fma4.c): Remove.
51339         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51340         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51341         define.
51342         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51343         define.
51345 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51347         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51348         LLONG_MAX != LONG_MAX.
51349         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51350         (_fitoa_word): Likewise.
51351         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51352         LLONG_MAX != LONG_MAX.
51353         * stdio-common/_itowa.h: Include <_itoa.h>.
51354         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51355         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51356         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51357         only if not defined.
51358         (_ITOA_WORD_TYPE): Likewise.
51359         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51360         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51362 2012-03-21  David S. Miller  <davem@davemloft.net>
51364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51366 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51368         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51369         of x86_64 when setting libc_cv_slibdir, libdir and
51370         libc_cv_localedir.
51371         * sysdeps/unix/sysv/linux/configure: Regenerated.
51373 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51375         * manual/lang.texi (Old Varargs): Remove section.
51376         (How Variadic): Update menu.
51377         (va_start): Do not mention varargs.h.
51379 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51380             Joseph Myers  <joseph@codesourcery.com>
51382         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51383         link test.
51384         * configure: Regenerated.
51386 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51388         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51389         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51390         conformtest.pl
51392 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51394         * NOTES: Remove.
51395         * Makefile (files-for-dist): Remove NOTES.
51396         (NOTES): Remove rule.
51397         * README: Don't refer to NOTES.
51398         * manual/creature.texi: Don't include macros.texi.
51399         * manual/intro.texi (creature.texi): Remove comment referring to
51400         NOTES.
51402         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51403         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51404         * configure: Regenerated.
51405         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51406         LIBC_TRY_CC_OPTION.
51407         (libc_cv_as_i686): Likewise.
51408         (libc_cv_cc_avx): Likewise.
51409         (libc_cv_cc_sse2avx): Likewise.
51410         (libc_cv_cc_fma4): Likewise.
51411         (libc_cv_cc_novzeroupper): Likewise.
51412         * sysdeps/i386/configure: Regenerated.
51414         [BZ #13883]
51415         * sysdeps/i386/fpu/s_cexp.S: Remove.
51416         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51417         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51418         * math/libm-test.inc (cexp_test): Add more tests.
51419         * sysdeps/i386/fpu/libm-test-ulps: Update.
51420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51422 2012-03-21  Allan McRae  <allan@archlinux.org>
51424         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51426 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51428         [BZ #13871]
51429         * math/w_exp2.c: Do not include <float.h>.
51430         (o_threshold, u_threshold): Remove.
51431         (__exp2): Calculate result before checking finiteness and calling
51432         __kernel_standard.
51433         * math/w_exp2f.c: Likewise.
51434         * math/w_exp2l.c: Likewise.
51435         * math/libm-test.inc (exp2_test): Require overflow exception for
51436         1e6 input.
51438         [BZ #3866]
51439         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51440         range of signed 64-bit integers before using fistpll.  Remove
51441         checks for whether integers fit in mantissa bits.
51442         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51443         the range of signed 32-bit integers before using fistpl.  Remove
51444         checks for whether integers fit in mantissa bits.
51445         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51446         (__ieee754_powl): Test for y outside the range of signed 64-bit
51447         integers before using fistpll.  Reduce 64-bit values to 63-bit
51448         ones as needed.
51449         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51450         divide-by-zero is raised for zero to large negative powers.
51451         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51452         (__ieee754_powl): Test for y outside the range of signed 64-bit
51453         integers before using fistpll.  Reduce 64-bit values to 63-bit
51454         ones as needed.
51455         * math/libm-test.inc (pow_test): Add more tests.
51457 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51459         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51460         <stdio-common/_itoa.h>.
51461         * debug/segfault.c: Likewise.
51462         * elf/dl-cache.c: Likewise.
51463         * elf/dl-minimal.c: Likewise.
51464         * elf/dl-misc.c: Likewise.
51465         * elf/dl-sysdep.c: Likewise.
51466         * elf/dl-version.c: Likewise.
51467         * elf/rtld.c: Likewise.
51468         * hurd/hurdsock.c: Likewise.
51469         * hurd/lookup-retry.c: Likewise.
51470         * malloc/malloc.c: Likewise.
51471         * malloc/mtrace.c: Likewise.
51472         * nscd/nscd_getgr_r.c: Likewise.
51473         * nscd/nscd_getpw_r.c: Likewise.
51474         * nscd/nscd_getserv_r.c: Likewise.
51475         * posix/getopt_init.c: Likewise.
51476         * posix/wordexp.c: Likewise.
51477         * stdio-common/_itoa.c: Likewise.
51478         * stdio-common/printf_fphex.c: Likewise.
51479         * stdio-common/vfprintf.c: Likewise.
51480         * string/_strerror.c: Likewise.
51481         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51482         * sysdeps/i386/i686/hp-timing.h: Likewise.
51483         * sysdeps/mach/_strerror.c: Likewise.
51484         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51485         * sysdeps/mach/hurd/sethostid.c: Likewise.
51486         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51487         * sysdeps/mach/xpg-strerror.c: Likewise.
51488         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51489         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51490         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51491         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51492         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51493         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51494         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51495         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51496         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51497         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51498         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51499         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51500         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51501         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51502         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51503         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51504         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51505         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51506         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51507         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51508         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51510         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51512         * stdio-common/_itoa.h: Moved to ...
51513         * sysdeps/generic/_itoa.h: Here.
51515         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51517         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51518         instead of "_itoa.h" and "_itowa.h".
51519         * stdio-common/vfprintf.: Likewise.
51521 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51523         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51524         <bits/wordsize.h>.
51525         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51526         (__signbit): Likwise.
51527         (llrintf): Likwise.
51528         (llrint): Likwise.
51530 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51532         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51533         __WORDSIZE != 64.
51535 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51537         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51538         OVERFLOW_EXCEPTION_OK.
51539         * math/libm-test.inc ("Philosophy"): Update comment about
51540         exception testing.
51541         (OVERFLOW_EXCEPTION): Define.
51542         (OVERFLOW_EXCEPTION_OK): Likewise.
51543         (INVALID_EXCEPTION_OK): Renumber.
51544         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51545         (IGNORE_ZERO_INF_SIGN): Likewise.
51546         (test_exceptions): Handle FE_OVERFLOW.
51547         (exp10_test): Expect overflow exceptions.
51548         (exp2_test): Likewise.
51549         (expm1_test): Likewise.
51550         (nextafter_test): Likewise.
51551         (pow_test): Likewise.
51552         (scalbn_test): Likewise.
51553         (scalbln_test): Likewise.
51555 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51557         * sysdeps/x86_64/bits/atomic.h
51558         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51559         64bit integer.
51560         (atomic_exchange_acq): Likewise.
51561         (__arch_exchange_and_add_body): Likewise.
51562         (__arch_add_body): Likewise.
51563         (atomic_add_negative): Likewise.
51564         (atomic_add_zero): Likewise.
51566 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51568         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51569         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51571 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51573         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51574         Check __x86_64__ instead of __WORDSIZE.
51576 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51578         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51580 2012-03-19  David S. Miller  <davem@davemloft.net>
51582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51584         * sysdeps/sparc/fpu/fenv_private.h: New file.
51585         * sysdeps/sparc/fpu/math_private.h: Use it.
51586         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51587         Remove.
51588         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51589         (libc_feholdexcept_setroundl): Remove.
51590         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51591         Remove.
51592         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51593         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51595 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51597         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51598         int64_t instead of long int.
51599         (INSERT_WORDS64): Likwise.
51601 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51603         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51604         _Unwind_GetCFA return to _Unwind_Ptr first.
51606 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51608         [BZ #13629]
51609         * math/s_clog.c: Include <float.h>.
51610         (__clog): Scale large or subnormal inputs.
51611         * math/s_clogf.c: Likewise.
51612         * math/s_clogl.c: Likewise.
51613         * math/s_clog10.c: Include <float.h>.
51614         (M_LOG10_2): Define.
51615         (__clog10): Scale large or subnormal inputs.
51616         * math/s_clog10f.c: Likewise.
51617         * math/s_clog10l.c: Likewise.
51618         * math/libm-test.inc (clog_test): Add more tests.
51619         (clog10_test): Likewise.
51620         * sysdeps/i386/fpu/libm-test-ulps: Update.
51621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51623         [BZ #11451]
51624         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51625         x and y.
51626         * math/libm-test.inc (atan2_test): Add another test.
51628         * Makerules (common-objdir-compile): Remove.
51629         * sysdeps/unix/Makefile (config-generated): Do not add
51630         $(unix-generated) to variable.
51631         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51632         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51633         Remove rule.
51634         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51635         Likewise.
51636         [generic bits/local_lim.h] (before-compile): Do not append to
51637         variable.
51638         [generic bits/local_lim.h] (common-generated): Likewise.
51639         [generic sys/param.h] (before-compile): Do not append to variable.
51640         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51641         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51642         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51643         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51644         include.
51645         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51646         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51647         [generic sys/param.h] ($(addprefix
51648         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51649         [generic sys/param.h] (common-generated): Do not append to
51650         variable.
51651         [generic sys/param.h] (sysdep_headers): Likewise.
51652         [generic bits/errno.h] (before-compile): Do not append to
51653         variable.
51654         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51655         rule.
51656         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51657         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51658         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51659         [generic bits/errno.h] (common-generated): Do not append to
51660         variable.
51661         [generic bits/ioctls.h] (before-compile): Do not append to
51662         variable.
51663         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51664         rule.
51665         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51666         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51667         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51668         rule.
51669         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51670         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51671         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51672         [generic bits/ioctls.h] (common-generated): Do not append to
51673         variable.
51674         [generic sys/syscall.h] (syscall.h): Remove variable.
51675         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51676         rule.
51677         [generic sys/syscall.h] (before-compile): Do not append to
51678         variable.
51679         [generic sys/syscall.h] (common-generated): Likewise.
51680         * sysdeps/unix/errnos-tmpl.c: Remove file.
51681         * sysdeps/unix/errnos.awk: Likewise.
51682         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51683         * sysdeps/unix/ioctls.awk: Likewise.
51684         * sysdeps/unix/mk-local_lim.c: Likewise.
51685         * sysdeps/unix/snarf-ioctls: Likewise.
51687 2012-03-19  Richard Henderson  <rth@twiddle.net>
51689         * sysdeps/i386/fpu/fenv_private.h: New file.
51690         * sysdeps/i386/fpu/math_private.h: Use it.
51691         (math_opt_barrier, math_force_eval): Remove.
51692         (libc_feholdexcept_setround_53bit): Remove.
51693         (libc_feupdateenv_53bit): Remove.
51694         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51695         (math_opt_barrier, math_force_eval): Remove.
51696         (libc_feholdexcept): Remove.
51697         (libc_feholdexcept_setround): Remove.
51698         (libc_fetestexcept, libc_fesetenv): Remove.
51699         (libc_feupdateenv_test): Remove.
51700         (libc_feupdateenv, libc_feholdsetround): Remove.
51701         (libc_feresetround): Remove.
51703         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51704         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51706         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51707         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51708         (libc_feupdateenv_testl): New.
51709         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51710         (libc_feupdateenv_testf): New.
51711         (libc_feupdateenv): Use libc_feupdateenv_test.
51712         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51713         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51715         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51716         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51717         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51718         (libc_feresetround_noex): New.
51719         (libc_feresetround_noexf): New.
51720         (libc_feresetround_noexl): New.
51721         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51722         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51723         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51724         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51725         SET_RESTORE_ROUND.
51726         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51727         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51728         (__cos): Likewise.
51729         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51730         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51731         SET_RESTORE_ROUND_NOEX.
51732         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51733         SET_RESTORE_ROUND_NOEXF.
51734         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51735         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51736         (libc_feholdsetroundf): New.
51737         (libc_feresetround, libc_feresetroundf): New.
51739         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51740         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51741         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51743         * sysdeps/generic/math_private.h: Include <fenv.h>.
51744         (default_libc_feholdexcept): New.
51745         (default_libc_feholdexcept_setround): New.
51746         (default_libc_fesetenv, default_libc_feupdateenv): New.
51747         (libc_feholdexcept): Only define if undefined.
51748         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51749         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51750         (libc_feholdexcept_setroundl): Likewise.
51751         (libc_feholdexcept_setround_53bit): Likewise.
51752         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51753         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51754         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51755         (libc_feupdateenv_53bit): Likewise.
51756         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51757         (libc_feholdexcept): Convert from macro to inline function.
51758         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51759         (libc_fesetenv, libc_feupdateenv): Likewise.
51761         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51762         not previously defined.
51763         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51764         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51765         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51766         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51767         * sysdeps/ieee754/flt-32/math_private.h: New file.
51768         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51769         math_private.h below SET_FLOAT_WORD.
51770         (__isnan, __isinf_ns, __finite): Remove.
51771         (__isnanf, __isinf_nsf, __finitef): Remove.
51773 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51777 2012-03-17  David S. Miller  <davem@davemloft.net>
51779         [BZ #6471]
51780         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51781         for 2.16.
51783 2012-03-16  David S. Miller  <davem@davemloft.net>
51785         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51786         warnings.
51788         [BZ #6471]
51789         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51790         properly.
51791         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51792         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51793         sysdep_routines when subdir is sysvipc.
51794         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51795         __getshmlba helper.
51797         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51799 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51801         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51802         [__LP64__].
51804 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51806         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51807         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51808         (__lround): Renamed to ...
51809         (__llround): This.  Replace long int with long long int.
51810         Define lround functions as aliases of llround functions.
51811         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51813 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51815         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51816         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51817         adresses to uintptr_t.  Replace "long int" and "unsigned long
51818         int" with "greg_t" on va_arg.
51820 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51822         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51823         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51825         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51826         Move e_machine check before EI_CLASS check.  Handle x32
51827         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51828         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51829         SKIP_EM_IA_64 and include
51830         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51832         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51833         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51834         (add_system_dir): New macro.
51836         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51837         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51839 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51841         [BZ #2551]
51842         [BZ #2552]
51843         [BZ #2553]
51844         [BZ #2554]
51845         [BZ #2562]
51846         [BZ #2563]
51847         [BZ #2565]
51848         [BZ #2566]
51849         [BZ #2576]
51850         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51851         (y0): Likewise.
51852         * math/w_j0f.c (j0f): Likewise.
51853         (y0f): Likewise.
51854         * math/w_j0l.c (__j0l): Likewise.
51855         (__y0l): Likewise.
51856         * math/w_j1.c (j1): Likewise.
51857         (y1): Likewise.
51858         * math/w_j1f.c (j1f): Likewise.
51859         (y1f): Likewise.
51860         * math/w_j1l.c (__j1l): Likewise.
51861         (__y1l): Likewise.
51862         * math/w_jn.c (jn): Likewise.
51863         (yn): Likewise.
51864         * math/w_jnf.c (jnf): Likewise.
51865         (ynf): Likewise.
51866         * math/w_jnl.c (__jnl): Likewise.
51867         (__ynl): Likewise.
51868         * math/libm-test.inc (j0_test): Add more tests.
51869         (j1_test): Likewise.
51870         (jn_test): Likewise.  Add trailing semicolon to existing test.
51871         (y0_test): Likewise.
51872         (y1_test): Likewise.
51873         * sysdeps/i386/fpu/libm-test-ulps: Update.
51874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51876         [BZ #13851]
51877         [BZ #13854]
51878         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51879         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51880         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51881         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51882         (__tanl): Set errno for infinite argument.
51883         * sysdeps/i386/fpu/mptan.c: Remove.
51884         * sysdeps/i386/fpu/s_tan.S: Likewise.
51885         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51886         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51887         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51888         * math/libm-test.inc (tan_test): Add more tests and enable more
51889         tests for double and long double.
51890         * sysdeps/i386/fpu/libm-test-ulps: Update.
51891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51893 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51895         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51896         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51898 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51900         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51901         * configure.in: Use it for both main tree and add-ons.
51902         * configure: Regenerated.
51904 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51906         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51908 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51910         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51911         in comment.
51913         [BZ #13851]
51914         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51915         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51916         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51917         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51918         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51919         infinite argument.
51920         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51921         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51922         != 0 for prec == 2.
51923         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51924         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51925         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51926         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51927         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51928         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51929         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51930         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51931         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51932         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51933         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51934         * math/libm-test.inc (cos_test): Add more tests and enable more
51935         tests for long double.
51936         (sin_test): Likewise.
51937         (sincos_test): Likewise.
51938         * sysdeps/i386/fpu/libm-test-ulps: Update.
51939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51941 2012-03-16  David S. Miller  <davem@davemloft.net>
51943         * sysdeps/sparc/fpu/math_private.h: New file.
51945 2012-03-15  David S. Miller  <davem@davemloft.net>
51947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51948         file.
51949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51951         file.
51952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51957         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51958         sysdep routines.
51959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51961         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51962         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51964         * sysdeps/sparc/sparc-ifunc.h: New file.
51965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51966         sparc-ifunc.h
51967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51969         Likewise.
51970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51971         Likewise.
51972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51976         Likewise.
51977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51982         Likewise.
51983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51984         Likewise.
51985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51991         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51992         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51999         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52000         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52001         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52002         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52003         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52004         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52005         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52006         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52007         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52008         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52010 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52012         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52013         scaling.
52014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52016 2012-03-15  Andreas Jaeger  <aj@suse.de>
52018         [BZ #13852]
52019         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52020         ieee754/flt-32 implementation for sin, cos and sincos.
52021         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52022         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52023         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52024         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52025         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52026         ieee754/flt-32 implementation for tan.
52028         * math/libm-test.inc (cos_test): Enable some large input tests for
52029         float as well
52030         (sin_test): Likewise.
52031         (sincos_test): Likewise.
52032         (tan_test): Add tests for large input.
52034         * sysdeps/i386/fpu/libm-test-ulps: Update.
52036 2012-03-15  Andreas Jaeger  <aj@suse.de>
52038         [BZ #13658]
52039         * math/libm-test.inc (cos_test): Add more test cases.
52040         (sin_test): Likewise.
52041         (sincos_test): Likewise.
52043 2012-03-15  Andreas Jaeger  <aj@suse.de>
52045         [BZ #13837]
52046         * math/libm-test.inc (cos_test): Add a test case for large input
52047         value.
52048         (sin_test): Likewise.
52049         (sincos_test): Likewise.
52051 2012-03-15  Andreas Jaeger  <aj@suse.de>
52052             Joseph Myers  <joseph@codesourcery.com>
52054         [BZ #13658]
52055         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52056         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52057         * sysdeps/i386/fpu/branred.c: Likewise.
52058         * sysdeps/i386/fpu/dosincos.c: Likewise.
52059         * sysdeps/i386/fpu/mpa.c: Likewise.
52060         * sysdeps/i386/fpu/s_cos.S: Likewise.
52061         * sysdeps/i386/fpu/s_sin.S: Likewise.
52062         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52063         * sysdeps/i386/fpu/sincos32.c: Likewise.
52065         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52066         Define.
52067         (libc_feupdateenv_53bit): Define.
52068         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52069         Define.
52070         (libc_feupdateenv_53bit): Define.
52072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52073         53 bit (without extend i386 double precision).
52075         * math/libm-test.inc (sincos_test): Add tests for large input.
52076         (sin): Likewise.
52077         (cos): Likewise.
52079         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52081 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52085 2012-03-15  David S. Miller  <davem@davemloft.net>
52087         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52088         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52089         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52090         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52095         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52096         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52103         file.
52104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52106         file.
52107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52109         file.
52110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52112         file.
52113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52114         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52115         fmin/fmax sysdep routines.
52116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52118 2012-03-14  David S. Miller  <davem@davemloft.net>
52120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52123         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52124         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52125         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52126         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52127         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52138         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52139         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52140         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52141         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52142         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52143         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52144         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52145         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52146         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52147         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52148         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52149         routines.
52150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52151         file.
52152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52154         file.
52155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52157         file.
52158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52160         file.
52161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52163         file.
52164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52166         file.
52167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52168         file.
52169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52170         file.
52171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52172         file.
52173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52174         New file.
52175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52176         file.
52177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52178         file.
52179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52181         file.
52182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52184         file.
52185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52187         file.
52188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52190         VIS3 routines.
52192         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52193         New file.
52195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52197         * sysdeps/sparc/configure.in: New file.
52198         * sysdeps/sparc/configure: Generate.
52199         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52200         * configure: Regenerate.
52201         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52202         * config.make.in (have-as-vis3): New.
52203         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52204         available use -Av9d instead of -Av9a.
52205         * sysdeps/sparc/sparc64/Makefile: Likewise.
52206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52208         New file.
52209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52210         file.
52211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52212         New file.
52213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52214         file.
52215         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52216         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52217         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52218         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52219         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52221         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52222         fzeros/fnegs to load 0x80000000 into a float register instead of
52223         using the stack.
52224         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52226 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52229         bits/syscall.h.
52230         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52231         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52232         ($(inst_includedir)/bits/syscall.h): Remove rule.
52233         ($(objpfx)bits/syscall.d): Include instead of
52234         $(objpfx)syscall-list.d.
52235         (generated): Change syscall-list.h and syscall-list.d to
52236         bits/syscall.h and bits/syscall.d.
52238 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52240         [BZ #13846]
52241         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52243 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52245         [BZ #13841]
52246         * math/s_csqrt.c: Include <float.h>.
52247         (__csqrt): Scale large or subnormal inputs.
52248         * math/s_csqrtf.c: Likewise.
52249         * math/s_csqrtl.c: Likewise.
52250         * math/libm-test.inc (csqrt_test): Add more tests.
52251         * sysdeps/i386/fpu/libm-test-ulps: Update.
52252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52254         [BZ #13840]
52255         * math/libm-test.inc (hypot_test): Add more tests.
52257 2012-03-13  David S. Miller  <davem@davemloft.net>
52259         [BZ #13840]
52260         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52261         double-precision for the calculation instead of scaling.
52263 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52265         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52266         manipulate bits before adding and subtracting TWO52[sx].
52267         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52268         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52269         Likewise.
52270         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52272 2012-03-13  David S. Miller  <davem@davemloft.net>
52274         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52275         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52276         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52277         rtld-global-offsets.h
52278         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52280         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52281         large parameters.
52283         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52285         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52286         'err' in the ifdef scope in which it is actually used.
52288         * nss/nss_db/db-init.c: Include string.h
52290 2012-03-12  David S. Miller  <davem@davemloft.net>
52292         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52293         masking out of the most significant byte of random value used.
52294         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52295         Fix coding style in previous change.
52297         * sysdeps/unix/sysv/linux/kernel-features.h
52298         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52299         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52300         expression.
52301         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52302         later.
52304 2012-03-11  David S. Miller  <davem@davemloft.net>
52306         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52307         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52308         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52309         for 'resultvar' otherwise things get truncated on 64-bit.
52311         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52312         Fix masking out of the most significant byte of random value used.
52314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52316 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52320 2012-03-09  David S. Miller  <davem@davemloft.net>
52322         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52323         variables with appropriate CPP guards.
52324         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52325         from the frame pointer, not the stack pointer.  Correct layout
52326         comments.  Fix test on resulting framesize and the management of
52327         the outregs buffer for pltexit.  Preserve floating point return
52328         values across _dl_call_pltexit call.
52329         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52330         framesize and the management of the outregs buffer for pltexit.
52331         Preserve floating point return values across _dl_call_pltexit
52332         call.
52333         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52334         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52335         (la_sparc64_gnu_pltexit): New functions.
52336         (print_exit): Fix format string for return register value.
52338 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52340         * sunrpc/Makefile (others): Add rpcgen.
52341         ($(objpfx)rpcgen): Remove special build rule and dependency on
52342         libc.
52343         * sunrpc/rpcgen.c: New file.
52345 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52347         [BZ #13673]
52348         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52349         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52350         * sysdeps/i386/crti.S: Likewise.
52351         * sysdeps/i386/crtn.S: Likewise.
52352         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52353         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52354         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52355         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52356         * sysdeps/sh/crti.S: Likewise.
52357         * sysdeps/sh/crtn.S: Likewise.
52358         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52360         [BZ #13673]
52361         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52362         with URL.
52363         * locale/programs/locfile-kw.gperf: Likewise.
52364         * locale/programs/charmap-kw.h: Regenerated.
52365         * locale/programs/locfile-kw.h: Likewise.
52367         [BZ #13673]
52368         * intl/plural.y: Replace FSF snail mail address with URL.
52369         * intl/plural.c: Regenerated.
52371 2012-03-09  Richard Henderson  <rth@twiddle.net>
52373         * include/math_private.h: Remove file.
52374         * math/math_private.h: Move file ...
52375         * sysdeps/generic/math_private.h: ... here.
52377         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52378         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52379         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52381         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52382         and <math_private.h>.
52383         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52384         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52385         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52386         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52387         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52388         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52389         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52391         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52392         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52394         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52395         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52396         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52397         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52398         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52399         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52400         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52401         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52402         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52404         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52405         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52406         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52407         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52408         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52409         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52410         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52411         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52412         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52413         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52414         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52415         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52416         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52417         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52418         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52419         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52420         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52421         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52422         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52423         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52424         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52425         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52426         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52427         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52428         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52429         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52430         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52431         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52432         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52433         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52434         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52435         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52436         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52437         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52438         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52439         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52440         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52441         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52442         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52443         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52444         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52445         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52446         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52447         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52448         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52449         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52450         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52451         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52452         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52453         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52454         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52455         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52456         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52457         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52458         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52459         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52460         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52461         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52462         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52463         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52464         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52465         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52466         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52467         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52468         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52469         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52470         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52471         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52472         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52473         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52474         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52475         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52476         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52477         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52478         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52479         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52480         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52481         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52482         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52483         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52484         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52485         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52486         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52487         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52488         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52489         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52490         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52491         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52492         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52493         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52494         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52495         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52496         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52497         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52498         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52499         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52500         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52501         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52502         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52503         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52504         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52505         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52506         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52507         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52508         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52509         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52510         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52511         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52512         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52513         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52514         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52515         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52516         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52517         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52518         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52519         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52520         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52521         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52522         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52523         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52524         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52525         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52526         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52527         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52528         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52529         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52530         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52531         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52532         * sysdeps/ieee754/k_standard.c: Likewise.
52533         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52534         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52535         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52536         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52537         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52538         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52539         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52540         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52541         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52542         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52543         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52544         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52545         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52546         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52547         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52548         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52549         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52550         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52551         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52552         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52553         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52554         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52555         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52556         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52557         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52558         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52559         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52560         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52561         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52562         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52563         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52564         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52565         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52566         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52567         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52568         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52569         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52570         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52571         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52572         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52573         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52574         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52575         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52576         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52577         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52578         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52579         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52580         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52581         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52582         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52583         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52584         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52585         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52586         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52587         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52588         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52589         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52590         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52591         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52592         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52593         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52594         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52595         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52596         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52597         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52598         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52599         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52600         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52601         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52602         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52603         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52604         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52605         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52606         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52607         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52608         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52609         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52610         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52611         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52612         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52614         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52616         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52618         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52619         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52620         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52621         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52622         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52623         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52624         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52625         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52626         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52628         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52629         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52630         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52631         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52632         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52633         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52634         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52635         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52636         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52637         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52638         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52639         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52640         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52641         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52642         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52643         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52644         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52645         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52646         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52647         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52648         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52649         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52650         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52651         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52652         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52653         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52654         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52655         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52656         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52657         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52658         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52659         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52660         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52661         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52662         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52663         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52664         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52665         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52666         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52667         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52668         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52669         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52670         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52671         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52672         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52673         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52674         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52675         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52676         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52677         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52678         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52679         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52680         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52681         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52682         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52683         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52684         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52685         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52686         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52687         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52688         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52689         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52690         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52691         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52692         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52693         * sysdeps/ieee754/s_lib_version.c: Likewise.
52694         * sysdeps/ieee754/s_matherr.c: Likewise.
52695         * sysdeps/ieee754/s_signgam.c: Likewise.
52696         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52697         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52698         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52699         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52700         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52701         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52702         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52703         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52704         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52705         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52706         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52707         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52708         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52709         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52710         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52711         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52712         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52713         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52714         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52715         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52716         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52718 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52720         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52721         * sunrpc/rpc_main.c: Likewise.
52722         * sunrpc/rpc_svcout.c: Likewise.
52724 2012-03-09  David S. Miller  <davem@davemloft.net>
52726         * include/math_private.h: New file.
52728 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52730         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52731         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52732         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52733         from <bits/socket_type.h>.
52734         (enum __socket_type): Don't define here.
52735         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52736         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52737         bits/socket_type.h.
52739         [BZ #13566]
52740         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52741         checking __USE_GNU.
52743         * Makerules ($(inst_includedir)/%.h): New rule.
52744         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52745         (install-others): Remove variable setting.
52746         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52748 2012-03-08  Richard Henderson  <rth@twiddle.net>
52750         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52751         from macro to inline function; merge with the
52752         !__LIBC_INTERNAL_MATH_INLINES version.
52753         (__ieee754_sqrtf): Likewise.
52755         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52756         to inline function.
52757         (__rintf, __floor, __floorf): Likewise.
52759         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52760         macro to inline function.
52761         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52763         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52764         not <math/math_private.h>.
52766 2012-03-08  David S. Miller  <davem@davemloft.net>
52768         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52769         copyright year.
52770         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52772 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52774         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52775         normalization.
52776         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52777         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52779 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52781         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52782         be defined individually, they must be defined as a block.  Define
52783         S for printing a string instead of hidint the different by using a
52784         macro for adding the 'l'.
52785         * stdio-common/tst-fphex-wide.c: Adjust.
52787 2012-03-07  Marek Polacek  <polacek@redhat.com>
52789         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52791 2012-03-08  Marek Polacek  <polacek@redhat.com>
52793         [BZ #13806]
52794         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52795         * stdio-common/tst-fphex.c: Define a few macros to make the
52796         test reusable.  Use them.
52797         * stdio-common/tst-fphex-wide.c: New file.
52799 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52801         [BZ #6911]
52802         * manual/macros.texi (gnusystems): New macro.
52803         (nongnusystems): Likewise.
52804         (gnulinuxhurdsystems): Likewise.
52805         (gnuhurdsystems): Likewise..
52806         (gnulinuxsystems): Likewise.
52807         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52808         variants of the GNU system, not "GNU system".
52809         * manual/conf.texi: Likewise.
52810         * manual/errno.texi: Likewise.  Update example of errno macro
52811         expansion.
52812         * manual/filesys.texi: Likewise.
52813         (getumask): Document as specific to GNU/Hurd.
52814         * manual/install.texi: Likewise.  Reword some references to
52815         GNU/Linux.
52816         * manual/intro.texi: Likewise.
52817         * manual/io.texi: Likewise.
52818         (File Name Portability): Detail which constraints are inapplicable
52819         to all GNU systems and which are only inapplicable to GNU/Hurd.
52820         * manual/job.texi: Likewise.
52821         * manual/llio.texi: Likewise.
52822         (O_NOCTTY): Document as present on GNU/Linux.
52823         * manual/maint.texi: Likewise.
52824         * manual/memory.texi: Likewise.
52825         * manual/pattern.texi: Likewise.
52826         * manual/pipe.texi: Likewise.
52827         * manual/process.texi: Likewise.
52828         * manual/resource.texi: Likewise.
52829         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52830         child on GNU/Hurd.
52831         * manual/setjmp.texi: Likewise.
52832         * manual/signal.texi: Likewise.
52833         * manual/startup.texi: Likewise.
52834         * manual/stdio.texi: Likewise.
52835         * manual/terminal.texi: Likewise.
52836         (ONLCR): Document as POSIX.
52837         (OXTABS): Document availability on GNU/Linux as XTABS.
52838         (ONOEOT): Document availability separately from other bits.
52839         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52840         * manual/time.texi: Likewise.
52841         * manual/users.texi: Likewise.
52842         * INSTALL: Regenerated.
52843         * sysdeps/gnu/errlist.c: Regenerated.
52845         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52846         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52847         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52848         puts.
52849         * configure: Regenerated.
52851 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52853         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52854         default includes instead of AC_HEADER_CHECK.
52855         * sysdeps/i386/configure: Regenerated.
52857         [BZ #10716]
52858         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52859         * math/s_cacoshf.c (__cacoshf): Likewise.
52860         * math/s_cacoshl.c (__cacoshl): Likewise.
52861         * math/s_casinh.c (__casinh): Set signs of result from argument.
52862         * math/s_casinhf.c (__casinhf): Likewise.
52863         * math/s_casinhl.c (__casinhl): Likewise.
52864         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52865         (casinh_test): Add more tests.
52866         * sysdeps/i386/fpu/libm-test-ulps: Update.
52867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52869 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52871         * po/zh_TW.po: Update from translation team.
52873         * login/Makefile (distribute): Remove variable.
52874         * catgets/Makefile: Likewise.
52875         * mach/Makefile: Likewise.
52876         * malloc/Makefile: Likewise.
52877         * misc/Makefile: Likewise.
52878         * iconv/Makefile: Likewise.
52879         * nscd/Makefile: Likewise.
52880         * hurd/Makefile: Likewise.
52881         * manual/Makefile: Likewise.
52882         * locale/Makefile: Likewise.
52883         * intl/Makefile: Likewise.
52884         * conform/Makefile: Likewise.
52885         * nss/Makefile: Likewise.
52886         * time/Makefile: Likewise.
52887         * soft-fp/Makefile: Likewise.
52888         * dirent/Makefile: Likewise.
52889         * gmon/Makefile: Likewise.
52890         * po/Makefile: Likewise.
52891         * rt/Makefile: Likewise.
52892         * socket/Makefile: Likewise.
52893         * math/Makefile: Likewise.
52894         * signal/Makefile: Likewise.
52895         * debug/Makefile: Likewise.
52896         * elf/Makefile: Likewise.
52897         * timezone/Makefile: Likewise.
52898         * stdlib/Makefile: Likewise.
52899         * iconvdata/Makefile: Likewise.
52900         * sunrpc/Makefile: Likewise.
52901         * io/Makefile: Likewise.
52902         * argp/Makefile: Likewise.
52903         * inet/Makefile: Likewise.
52904         * hesiod/Makefile: Likewise.
52905         * grp/Makefile: Likewise.
52906         * csu/Makefile: Likewise.
52907         * wctype/Makefile: Likewise.
52908         * crypt/Makefile: Likewise.
52909         * libio/Makefile: Likewise.
52910         * string/Makefile: Likewise.
52911         * nis/Makefile: Likewise.
52912         * resolv/Makefile: Likewise.
52913         * stdio-common/Makefile: Likewise.
52914         * wcsmbs/Makefile: Likewise.
52915         * dlfcn/Makefile: Likewise.
52916         * posix/Makefile: Likewise.
52918         [BZ #6959]
52919         * timezone/Makefile: Don't install timezone files, just the programs
52920         and scripts.
52922 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52924         * nss/databases.def: Add missing gshadow entry.
52926         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52928 2012-03-06  Marek Polacek  <polacek@redhat.com>
52930         [BZ #13726]
52931         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52932         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52933         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52934         * stdio-common/tst-long-dbl-fphex.c: New file.
52936 2012-03-06  David S. Miller  <davem@davemloft.net>
52938         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52939         (set_obp_int): New function.
52940         (get_obp_int): New function.
52941         (__get_clockfreq_via_dev_openprom): Likewise.
52942         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52943         Avoid unused variable warnings on 'val' and use builtin_expect.
52944         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52945         __builtin_expect.
52946         (INLINE_CLONE_SYSCALL): Likewise.
52948 2012-03-05  David S. Miller  <davem@davemloft.net>
52950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52952 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52956         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52957         only for |x| >= 40.
52958         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52960 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52962         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52963         Replace gettimeofday with __vdso_gettimeofday.
52965         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52966         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52967         __vdso_clock_gettime and __vdso_getcpu.
52969         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52970         time with __vdso_time.
52972 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52974         * manual/lang.texi (size_t): Note types to which size_t may be
52975         equivalent with the GNU C Library, but do not describe when
52976         differences between them are significant.
52978 2012-03-05  Andreas Jaeger  <aj@suse.de>
52980         * sysdeps/i386/fpu/libm-test-ulps: Update.
52982 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52984         [BZ #3976]
52985         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52986         (__ieee754_pow): Save and restore rounding mode and use
52987         round-to-nearest for main computations.
52988         * math/libm-test.inc (pow_test_tonearest): New function.
52989         (pow_test_towardzero): Likewise.
52990         (pow_test_downward): Likewise.
52991         (pow_test_upward): Likewise.
52992         (main): Call the new functions.
52993         * sysdeps/i386/fpu/libm-test-ulps: Update.
52994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52996         [BZ #3976]
52997         * math/libm-test.inc (cosh_test_tonearest): New function.
52998         (cosh_test_towardzero): Likewise.
52999         (cosh_test_downward): Likewise.
53000         (cosh_test_upward): Likewise.
53001         (sinh_test_tonearest): Likewise.
53002         (sinh_test_towardzero): Likewise.
53003         (sinh_test_downward): Likewise.
53004         (sinh_test_upward): Likewise.
53005         (main): Call the new functions.
53006         * sysdeps/i386/fpu/libm-test-ulps: Update.
53007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53009 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53011         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53012         default stack guard is set in last bytes.
53013         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53015 2012-03-05  Kees Cook  <keescook@chromium.org>
53017         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53019         [BZ #13656]
53020         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53021         possibly allocate from heap instead of stack.
53022         * stdio-common/bug-vfprintf-nargs.c: New file.
53023         * stdio-common/Makefile (tests): Add nargs overflow test.
53025 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53029 2012-03-03  Marek Polacek  <polacek@redhat.com>
53031         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53032         * math/math_private.h: Likewise.
53033         * stdlib/tst-strtod.c: Likewise.
53034         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53035         * sysdeps/x86_64/bits/atomic.h: Likewise.
53037 2012-03-02  David S. Miller  <davem@davemloft.net>
53039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53043         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53044         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53045         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53046         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53048 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53050         [BZ #13792]
53051         * manual/examples/README: New file, says the example source files
53052         can be used under GPL>=2.
53053         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53054         line containing just "*/".
53055         * manual/examples/add.c: Add copyright header (GPL>=2).
53056         * manual/examples/argp-ex1.c: Likewise.
53057         * manual/examples/argp-ex2.c: Likewise.
53058         * manual/examples/argp-ex3.c: Likewise.
53059         * manual/examples/argp-ex4.c: Likewise.
53060         * manual/examples/atexit.c: Likewise.
53061         * manual/examples/db.c: Likewise.
53062         * manual/examples/dir.c: Likewise.
53063         * manual/examples/dir2.c: Likewise.
53064         * manual/examples/execinfo.c: Likewise.
53065         * manual/examples/filecli.c: Likewise.
53066         * manual/examples/filesrv.c: Likewise.
53067         * manual/examples/fmtmsgexpl.c: Likewise.
53068         * manual/examples/genpass.c: Likewise.
53069         * manual/examples/inetcli.c: Likewise.
53070         * manual/examples/inetsrv.c: Likewise.
53071         * manual/examples/isockad.c: Likewise.
53072         * manual/examples/longopt.c: Likewise.
53073         * manual/examples/memopen.c: Likewise.
53074         * manual/examples/memstrm.c: Likewise.
53075         * manual/examples/mkfsock.c: Likewise.
53076         * manual/examples/mkisock.c: Likewise.
53077         * manual/examples/mygetpass.c: Likewise.
53078         * manual/examples/pipe.c: Likewise.
53079         * manual/examples/popen.c: Likewise.
53080         * manual/examples/rprintf.c: Likewise.
53081         * manual/examples/search.c: Likewise.
53082         * manual/examples/select.c: Likewise.
53083         * manual/examples/setjmp.c: Likewise.
53084         * manual/examples/sigh1.c: Likewise.
53085         * manual/examples/sigusr.c: Likewise.
53086         * manual/examples/stpcpy.c: Likewise.
53087         * manual/examples/strdupa.c: Likewise.
53088         * manual/examples/strftim.c: Likewise.
53089         * manual/examples/strncat.c: Likewise.
53090         * manual/examples/subopt.c: Likewise.
53091         * manual/examples/swapcontext.c: Likewise.
53092         * manual/examples/termios.c: Likewise.
53093         * manual/examples/testopt.c: Likewise.
53094         * manual/examples/testpass.c: Likewise.
53095         * manual/examples/timeval_subtract.c: Likewise.
53097         [BZ #13792]
53098         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53099         function to ...
53100         * manual/timeval_subtract.c.texi: ... here, new file.
53102 2012-03-02  David S. Miller  <davem@davemloft.net>
53104         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53106 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53108         [BZ #3976]
53109         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53110         (__sin): Save and restore rounding mode and use round-to-nearest
53111         for all computations.
53112         (__cos): Save and restore rounding mode and use round-to-nearest
53113         for all computations.
53114         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53115         <fenv.h>.
53116         (tan): Save and restore rounding mode and use round-to-nearest for
53117         all computations.
53118         * math/libm-test.inc (cos_test_tonearest): New function.
53119         (cos_test_towardzero): Likewise.
53120         (cos_test_downward): Likewise.
53121         (cos_test_upward): Likewise.
53122         (sin_test_tonearest): Likewise.
53123         (sin_test_towardzero): Likewise.
53124         (sin_test_downward): Likewise.
53125         (sin_test_upward): Likewise.
53126         (tan_test_tonearest): Likewise.
53127         (tan_test_towardzero): Likewise.
53128         (tan_test_downward): Likewise.
53129         (tan_test_upward): Likewise.
53130         (main): Call the new functions.
53131         * sysdeps/i386/fpu/libm-test-ulps: Update.
53132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53134         [BZ #10135]
53135         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53136         small n, then large n, before computing and testing k+n.
53137         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53138         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53139         Likewise.
53140         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53141         Likewise.
53142         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53143         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53144         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53145         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53146         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53147         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53148         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53149         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53150         * math/libm-test.inc (scalbn_test): Add more tests.
53151         (scalbln_test): Likewise.
53153         * manual/filesys.texi (mode_t): Describe constraints on size and
53154         signedness, not exact equivalence to a particular type.
53155         (ino_t): Likewise.
53156         (ino64_t): Likewise.
53157         (dev_t): Likewise.
53158         (nlink_t): Likewise.
53159         (blkcnt_t): Likewise.
53160         (blkcnt64_t): Likewise.
53161         * manual/llio.texi (off_t): Likewise.
53163         [BZ #3976]
53164         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53165         (__ieee754_exp): Save and restore rounding mode and use
53166         round-to-nearest for all computations.
53167         * math/libm-test.inc (exp_test_tonearest): New function.
53168         (exp_test_towardzero): Likewise.
53169         (exp_test_downward): Likewise.
53170         (exp_test_upward): Likewise.
53171         (main): Call the new functions.
53172         * sysdeps/i386/fpu/libm-test-ulps: Update.
53173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53175 2012-03-01  Chris Demetriou  <cgd@google.com>
53177         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53178         have predictable order.
53180 2012-03-01  David S. Miller  <davem@davemloft.net>
53182         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53184         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53185         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53186         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53187         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53189         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53190         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53191         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53193         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53194         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53195         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53196         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53197         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53201         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53202         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53203         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53205         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53206         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53207         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53208         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53209         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53210         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53211         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53212         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53213         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53214         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53215         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53216         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53218         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53219         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53221         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53222         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53223         * sysdeps/sparc/elf/configure: Regenerated.
53225 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53227         * configure.in (AS, LD): Require binutils 2.20 or later.
53228         * configure: Regenerated.
53229         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53230         as required minimum version.
53231         * INSTALL: Regenerated.
53233         [BZ #2541]
53234         [BZ #4108]
53235         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53236         before squaring exponent.
53237         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53238         bottom long double and 27 bits of top long double before squaring
53239         exponent.
53240         * math/libm-test.inc (erfc_test): Add more tests.
53241         * sysdeps/i386/fpu/libm-test-ulps: Update.
53242         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53245 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53247         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53248         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53249         containing bit-fields.
53250         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53251         * soft-fp/single.h (_FP_UNION_S): Likewise.
53252         * soft-fp/double.h (_FP_UNION_D): Likewise.
53254 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53256         [BZ #13786]
53257         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53258         not include ../strcmp.S.
53259         [USE_AS_STRNCASECMP_L]: Likewise.
53260         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53261         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53262         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53263         (__strncasecmp_l_ia32): Define as alias to
53264         __strncasecmp_l_nonascii.
53266         [BZ #5794]
53267         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53268         * sysdeps/i386/fpu/libm-test-ulps: Update.
53269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53271         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53274 2012-02-29  Jeff Law  <law@redhat.com>
53276         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53277         out of bounds read.
53279 2012-02-29  Marek Polacek  <polacek@redhat.com>
53281         [BZ #13706]
53282         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53283         * elf/Makefile: Add rules to run tst-unused-dep.out.
53285 2012-02-28  David S. Miller  <davem@davemloft.net>
53287         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53288         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53289         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53290         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53291         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53292         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53294 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53296         * math/libm-test.inc (llround_test): Move one test from
53297         lround_test.  Use TEST_f_L in moved test.
53298         (lround_test): Move misplaced test to llround_test.  Add testcase
53299         from bug 2561.
53301 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53303         * sysdeps/x86_64/fpu/e_expf.S: New file.
53304         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53306 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53308         [BZ #13637]
53309         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53310         of remain_len that may cause incomplete multi-byte character and
53311         false match.
53312         * posix/bug-regex33.c: New file.
53313         * posix/Makefile (tests): Add bug-regex33.
53315 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53317         * manual/macros.texi: New file.
53318         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53319         * manual/libc.texinfo: Include macros.texi.
53320         * manual/creatute.texi: Likewise.
53321         * manual/install.texi: Likewise.
53322         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53323         @glibcadj{} in references to the GNU C Library.
53324         * manual/charset.texi: Likewise.
53325         * manual/conf.texi: Likewise.
53326         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53327         when not using those macros.
53328         * manual/creature.texi: Likewise.
53329         * manual/crypt.texi: Likewise.
53330         * manual/errno.texi: Likewise.
53331         * manual/filesys.texi: Likewise.
53332         * manual/header.texi: Likewise.
53333         * manual/install.texi: Likewise.
53334         * manual/intro.texi: Likewise.
53335         * manual/io.texi: Likewise.
53336         * manual/job.texi: Likewise.
53337         * manual/lang.texi: Likewise.
53338         * manual/libc.texiinfo: Likewise.
53339         * manual/llio.texi: Likewise.
53340         * manual/locale.texi: Likewise.
53341         * manual/maint.texi: Likewise.
53342         * manual/math.texi: Likewise.
53343         * manual/memory.texi: Likewise.
53344         * manual/message.texi: Likewise.
53345         * manual/nss.texi: Likewise.
53346         * manual/pattern.texi: Likewise.
53347         * manual/process.texi: Likewise.
53348         * manual/resource.texi: Likewise.
53349         * manual/search.texi: Likewise.
53350         * manual/setjmp.texi: Likewise.
53351         * manual/signal.texi: Likewise.
53352         * manual/socket.texi: Likewise.
53353         * manual/startup.texi: Likewise.
53354         * manual/stdio.texi: Likewise.
53355         * manual/string.texi: Likewise.
53356         * manual/sysinfo.texi: Likewise.
53357         * manual/syslog.texi: Likewise.
53358         * manual/terminal.texi: Likewise.
53359         * manual/time.texi: Likewise.
53360         * manual/users.texi: Likewise.
53361         * INSTALL: Regenerated.
53362         * NOTES: Regenerated.
53363         * sysdeps/gnu/errlist.c: Regenerated.
53365 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53367         * include/dirent.h: Include <dirstream.h> before
53368         <dirent/dirent.h>.
53370 2012-02-28  David S. Miller  <davem@davemloft.net>
53372         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53373         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53374         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53375         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53377 2012-02-27  David S. Miller  <davem@davemloft.net>
53379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53381         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53382         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53385         frame pointer instead of stack pointer relative arg slot.
53386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53387         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53388         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53390 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53392         [BZ #3992]
53393         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53395 2012-02-27  David S. Miller  <davem@davemloft.net>
53397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53401         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53402         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53403         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53404         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53406 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53408         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53409         later.  Allow versions 5-9.
53410         * configure: Regenerated.
53411         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53412         required minimum version and 4.6 as recommended version.  Do not
53413         mention bugs in GCC 2.7 and 2.8.
53414         * INSTALL: Regenerated.
53416 2012-02-27  David S. Miller  <davem@davemloft.net>
53418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53422         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53423         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53424         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53425         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53427         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53428         manipulate bits before adding and subtracting TWO112[sx].
53429         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53431 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53433         [BZ #13775]
53434         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53435         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53436         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53437         being in POSIX, because they are in 1003.1-2008.
53439         * rt/tst-aio.c: Include <fcntl.h>.
53440         * rt/tst-aio7.c: Likewise.
53441         * rt/tst-aio64.c: Likewise.
53443         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53445 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53447         * manual/install.texi (--with-headers): Describe headers as
53448         interface headers, not private headers.
53449         (Specific advice for GNU/Linux systems): Describe use of headers
53450         from "make headers_install", not private headers from older
53451         kernels.
53452         * INSTALL: Regenerated.
53453         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53454         Change to 2.6.19.
53455         * sysdeps/unix/sysv/linux/configure: Regenerated.
53457         * manual/llio.texi (fclean): Remove documentation.
53459         * manual/Makefile (libc-texi-generated): New variable.  Include
53460         version.texi.
53461         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53462         $(libc-texi-generated), not duplicated list of files.
53463         (version.texi, stamp-version): New rules.
53464         (realclean): Remove $(libc-texi-generated), not individual files
53465         from that list.  Do not remove dir-add.texinfo.
53466         * manual/libc.texinfo: Comment out uses of edition numbers and
53467         references to printed manual.  Remove last-updated dates.
53468         (EDITION): Comment out.
53469         (ISBN): Likewise.
53470         (VERSION, UPDATED): Remove.
53471         (version.texi): Include.
53473 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53475         * sysdeps/posix/spawni.c: Include <signal.h>.
53476         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53477         * sysdeps/pthread/aio_fsync.c: Likewise.
53479 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53481         * conform/Makefile (tests): Run only when not cross-compiling and
53482         when fast-check is not defined.
53484         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53485         * conform/data/limits.h-data: Fixes for POSIX2008.
53486         * conform/run-conformtest.sh: Run all tests.
53487         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53488         headers.
53489         * include/bits/dlfcn.h: Likewise.
53490         * include/langinfo.h: Likewise.
53491         * include/monetary.h: Likewise.
53492         * include/sys/poll.h: Likewise.
53494         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53495         for __USE_GNU.
53496         * posix/spawn.h: Define __need_sigset_t.
53497         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53498         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53499         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53500         to get sigevent_t only.
53501         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53502         only for __USE_GNU.
53503         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53504         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53505         process_vm_writev only for __USE_GNU.
53506         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53508         * conform/Makefile: For now ignore errors from run-conformtest.
53509         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53510         POSIX to avoid namespace pollution.  Don't prepend headers.
53511         * conform/data/aio.h-data: Fixes for POSIX testing.
53512         * conform/data/fcntl.h-data: Likewise.
53513         * conform/data/glob.h-data: Likewise.
53514         * conform/data/grp.h-data: Likewise.
53515         * conform/data/pthread.h-data: Likewise.
53516         * conform/data/pwd.h-data: Likewise.
53517         * conform/data/signal.h-data: Likewise.
53518         * conform/data/spawn.h-data: Likewise.
53519         * conform/data/stdio.h-data: Likewise.
53520         * conform/data/stdlib.h-data: Likewise.
53521         * conform/data/stropts.h-data: Likewise.
53522         * conform/data/sys/mman.h-data: Likewise.
53523         * conform/data/sys/stat.h-data: Likewise.
53524         * conform/data/sys/types.h-data: Likewise.
53525         * conform/data/sys/wait.h-data: Likewise.
53526         * conform/data/time.h-data: Likewise.
53527         * conform/data/unistd.h-data: Likewise.
53528         * conform/data/utime.h-data: Likewise.
53530         * io/sys/stat.h: fchmod was always in POSIX.
53531         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53532         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53533         * rt/aio.h: Define __need_timespec before including <time.h>.
53534         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53535         struct.  Add forward declaration of pthread_attr_t and use it in
53536         sigevent.
53537         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53538         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53539         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53540         always remove CLK_TCK definition.
53542 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53544         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53546 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53548         * conform/run-conformtest.sh: New file.
53549         * conform/Makefile: Run run-conformtest for tests.
53550         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53551         support.
53553         * conform/data/uchar.h-data: New file.
53554         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53555         * conform/data/arpa/inet.h-data: Likewise.
53556         * conform/data/assert.h-data: Likewise.
53557         * conform/data/complex.h-data: Likewise.
53558         * conform/data/cpio.h-data: Likewise.
53559         * conform/data/ctype.h-data: Likewise.
53560         * conform/data/dirent.h-data: Likewise.
53561         * conform/data/dlfcn.h-data: Likewise.
53562         * conform/data/errno.h-data: Likewise.
53563         * conform/data/fcntl.h-data: Likewise.
53564         * conform/data/float.h-data: Likewise.
53565         * conform/data/fmtmsg.h-data: Likewise.
53566         * conform/data/fnmatch.h-data: Likewise.
53567         * conform/data/ftw.h-data: Likewise.
53568         * conform/data/glob.h-data: Likewise.
53569         * conform/data/grp.h-data: Likewise.
53570         * conform/data/iconv.h-data: Likewise.
53571         * conform/data/inttypes.h-data: Likewise.
53572         * conform/data/langinfo.h-data: Likewise.
53573         * conform/data/libgen.h-data: Likewise.
53574         * conform/data/limits.h-data: Likewise.
53575         * conform/data/locale.h-data: Likewise.
53576         * conform/data/math.h-data: Likewise.
53577         * conform/data/monetary.h-data: Likewise.
53578         * conform/data/mqueue.h-data: Likewise.
53579         * conform/data/ndbm.h-data: Likewise.
53580         * conform/data/net/if.h-data: Likewise.
53581         * conform/data/netdb.h-data: Likewise.
53582         * conform/data/netinet/in.h-data: Likewise.
53583         * conform/data/nl_types.h-data: Likewise.
53584         * conform/data/poll.h-data: Likewise.
53585         * conform/data/pthread.h-data: Likewise.
53586         * conform/data/pwd.h-data: Likewise.
53587         * conform/data/regex.h-data: Likewise.
53588         * conform/data/sched.h-data: Likewise.
53589         * conform/data/search.h-data: Likewise.
53590         * conform/data/semaphore.h-data: Likewise.
53591         * conform/data/setjmp.h-data: Likewise.
53592         * conform/data/signal.h-data: Likewise.
53593         * conform/data/spawn.h-data: Likewise.
53594         * conform/data/stdarg.h-data: Likewise.
53595         * conform/data/stdio.h-data: Likewise.
53596         * conform/data/stdlib.h-data: Likewise.
53597         * conform/data/string.h-data: Likewise.
53598         * conform/data/strings.h-data: Likewise.
53599         * conform/data/stropts.h-data: Likewise.
53600         * conform/data/sys/ipc.h-data: Likewise.
53601         * conform/data/sys/mman.h-data: Likewise.
53602         * conform/data/sys/msg.h-data: Likewise.
53603         * conform/data/sys/resource.h-data: Likewise.
53604         * conform/data/sys/select.h-data: Likewise.
53605         * conform/data/sys/sem.h-data: Likewise.
53606         * conform/data/sys/shm.h-data: Likewise.
53607         * conform/data/sys/socket.h-data: Likewise.
53608         * conform/data/sys/stat.h-data: Likewise.
53609         * conform/data/sys/statvfs.h-data: Likewise.
53610         * conform/data/sys/time.h-data: Likewise.
53611         * conform/data/sys/timeb.h-data: Likewise.
53612         * conform/data/sys/times.h-data: Likewise.
53613         * conform/data/sys/types.h-data: Likewise.
53614         * conform/data/sys/uio.h-data: Likewise.
53615         * conform/data/sys/un.h-data: Likewise.
53616         * conform/data/sys/utsname.h-data: Likewise.
53617         * conform/data/sys/wait.h-data: Likewise.
53618         * conform/data/syslog.h-data: Likewise.
53619         * conform/data/tar.h-data: Likewise.
53620         * conform/data/termios.h-data: Likewise.
53621         * conform/data/utime.h-data: Likewise.
53622         * conform/data/utmpx.h-data: Likewise.
53623         * conform/data/varargs.h-data: Likewise.
53624         * conform/data/wchar.h-data: Likewise.
53625         * conform/data/wctype.h-data: Likewise.
53626         * conform/data/wordexp.h-data: Likewise.
53628         * include/stropts.h: New file.
53629         * include/uchar.h: New file.
53630         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53631         * include/assert.h: Likewise.
53632         * include/ctype.h: Likewise.
53633         * include/dirent.h: Likewise.
53634         * include/dlfcn.h: Likewise.
53635         * include/fcntl.h: Likewise.
53636         * include/fnmatch.h: Likewise.
53637         * include/glob.h: Likewise.
53638         * include/grp.h: Likewise.
53639         * include/libio.h: Likewise.
53640         * include/locale.h: Likewise.
53641         * include/math.h: Likewise.
53642         * include/net/if.h: Likewise.
53643         * include/netdb.h: Likewise.
53644         * include/netinet/in.h: Likewise.
53645         * include/pthread.h: Likewise.
53646         * include/pwd.h: Likewise.
53647         * include/regex.h: Likewise.
53648         * include/sched.h: Likewise.
53649         * include/search.h: Likewise.
53650         * include/setjmp.h: Likewise.
53651         * include/signal.h: Likewise.
53652         * include/stdio.h: Likewise.
53653         * include/stdlib.h: Likewise.
53654         * include/string.h: Likewise.
53655         * include/sys/cdefs.h: Likewise.
53656         * include/sys/mman.h: Likewise.
53657         * include/sys/msg.h: Likewise.
53658         * include/sys/resource.h: Likewise.
53659         * include/sys/select.h: Likewise.
53660         * include/sys/socket.h: Likewise.
53661         * include/sys/stat.h: Likewise.
53662         * include/sys/statvfs.h: Likewise.
53663         * include/sys/time.h: Likewise.
53664         * include/sys/times.h: Likewise.
53665         * include/sys/uio.h: Likewise.
53666         * include/sys/utsname.h: Likewise.
53667         * include/sys/wait.h: Likewise.
53668         * include/termios.h: Likewise.
53669         * include/time.h: Likewise.
53670         * include/ulimit.h: Likewise.
53671         * include/unistd.h: Likewise.
53672         * include/utime.h: Likewise.
53673         * include/wchar.h: Likewise.
53674         * include/wctype.h: Likewise.
53675         * include/wordexp.h: Likewise.
53677         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53679         * time/time.h: TIME_UTC must be a macro.
53680         Make timespec_get available for ISO C11 only as well.
53682 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53684         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53685         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53687 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53689         * configure.in: Use -o not -a in test for unsupported multi-arch.
53691 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53693         * manual/texinfo.tex: Update to version 2012-01-19.16.
53695 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53697         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53699 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53701         [BZ #13738]
53702         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53703         * manual/fdl-1.3.texi: New file.
53704         * manual/fdl-1.1.texi: File removed.
53706         [BZ #13738]
53707         * manual/libc.texinfo (FDL_VERSION): New @set.
53708         Use it for mention of FDL in cover text.
53709         (Documentation License): Use it in @include file name.
53711 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53712             Roland McGrath  <roland@hack.frob.com>
53714         [BZ #5461]
53715         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53716         (not LONG_LONG_MAX and LONG_LONG_MIN.
53717         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53718         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53719         name.
53720         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53722 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53724         [BZ #2547]
53725         [BZ #11365]
53726         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53727         manipulate bits before adding and subtracting TWO23[sx].
53728         * math/libm-test.inc (nearbyint_test): Add more tests.
53730 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53732         [BZ #2548]
53733         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53734         bits before adding and subtracting TWO23[sx].
53735         * math/libm-test.inc (rint_test): Add more tests.
53736         (rint_test_tonearest): Likewise.
53737         (rint_test_towardzero): Likewise.
53738         (rint_test_downward): Likewise.
53739         (rint_test_upward: Likewise.
53741 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53743         [BZ #10110]
53744         * include/stdc-predef.h: New file.  Extracted from features.h.
53745         * include/features.h: Include stdc-predef.h.
53746         * Makefile (headers): Add stdc-predef.h.
53747         * CONFORMANCE (Compiler limitations): Update.
53749 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53751         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53753 2012-02-21  David S. Miller  <davem@davemloft.net>
53755         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53756         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53758 2012-02-20  David S. Miller  <davem@davemloft.net>
53760         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53761         using a normal save/restore sequence, rather than allocating a
53762         dummy stack frame just to store a frame pointer and restore.
53763         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53765 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53767         * manual/install.texi: Fix stray word in line-wrapped comment.
53769 2012-02-20  David S. Miller  <davem@davemloft.net>
53771         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53772         both binutils and gcc support GOTDATA.
53774         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53775         "rd %pc" in the PIC register setup sequences.
53777         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53778         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53779         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53780         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53781         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53782         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53783         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53784         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53785         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53786         (SYSCALL_ERROR_HANDLER): Likewise.
53787         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53788         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53789         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53790         (SYSCALL_ERROR_HANDLER): Likewise.
53792         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53793         (HAVE_GCC_GOTDATA): New.
53794         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53795         relocation support in both binutils and gcc.
53796         * sysdeps/sparc/elf/configure: Regenerate.
53798         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53799         * sysdeps/sparc/sparc32/elf/configure: Delete.
53800         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53801         * sysdeps/sparc/sparc64/elf/configure: Delete.
53802         * sysdeps/sparc/elf/configure.in: New file.
53803         * sysdeps/sparc/elf/configure: Generate.
53805         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53806         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53807         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53808         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53809         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53811 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53813         * manual/install.texi: Do not mention specific glibc version
53814         numbers.
53815         * manual/libc.texinfo (VERSION, UPDATED): Update.
53816         (@copying): Use @copyright{} and range of years.
53818 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53820         [BZ #13695]
53821         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53822         [crti.S not in sysdirs] (generated): Do not append.
53823         [crti.S not in sysdirs] (omit-deps): Likewise.
53824         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53825         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53826         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53827         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53828         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53829         Likewise.
53830         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53831         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53832         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53833         * csu/defs.awk: Remove file.
53834         * sysdeps/generic/initfini.c: Likewise.
53835         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53836         variable.
53837         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53838         Likewise.
53840 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53842         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53843         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53844         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53845         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53846         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53847         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53848         <bits/epoll.h>.
53849         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53850         (__EPOLL_PACKED): Define to empty if not defined by
53851         <bits/epoll.h>.
53852         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53853         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53854         bits/epoll.h.
53856 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53858         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53859         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53860         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53861         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53862         <bits/timerfd.h>.
53863         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53865         bits/timerfd.h.
53867 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53869         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53870         in C locale.
53871         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53872         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53873         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53876 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53878         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53879         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53881 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53883         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53884         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53885         defined.
53886         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53887         Likewise.
53888         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53889         entry for 2.16.
53891 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53893         * math/w_acos.c: Use non-signaling floating-point comparisons.
53894         * math/w_acosf.c: Likewise.
53895         * math/w_acosh.c: Likewise.
53896         * math/w_acoshf.c: Likewise.
53897         * math/w_acoshl.c: Likewise.
53898         * math/w_acosl.c: Likewise.
53899         * math/w_asin.c: Likewise.
53900         * math/w_asinf.c: Likewise.
53901         * math/w_asinl.c: Likewise.
53902         * math/w_atanh.c: Likewise.
53903         * math/w_atanhf.c: Likewise.
53904         * math/w_atanhl.c: Likewise.
53905         * math/w_exp2.c: Likewise.
53906         * math/w_exp2f.c: Likewise.
53907         * math/w_exp2l.c: Likewise.
53908         * math/w_j0.c: Likewise.
53909         * math/w_j0f.c: Likewise.
53910         * math/w_j0l.c: Likewise.
53911         * math/w_j1.c: Likewise.
53912         * math/w_j1f.c: Likewise.
53913         * math/w_j1l.c: Likewise.
53914         * math/w_jn.c: Likewise.
53915         * math/w_jnf.c: Likewise.
53916         * math/w_log.c: Likewise.
53917         * math/w_log10.c: Likewise.
53918         * math/w_log10f.c: Likewise.
53919         * math/w_log10l.c: Likewise.
53920         * math/w_log2.c: Likewise.
53921         * math/w_log2f.c: Likewise.
53922         * math/w_log2l.c: Likewise.
53923         * math/w_logf.c: Likewise.
53924         * math/w_logl.c: Likewise.
53925         * math/w_sqrt.c: Likewise.
53926         * math/w_sqrtf.c: Likewise.
53927         * math/w_sqrtl.c: Likewise.
53928         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53929         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53930         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53931         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53932         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53934 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53936         [BZ #9739]
53937         * manual/string.texi (strnlen): Use correct parameter name in
53938         equivalent expression.
53940 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53942         [BZ #11174]
53943         * manual/users.texi (seteuid): Consistently use neweuid for
53944         argument name.
53946 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53948         [BZ #13704]
53949         * manual/nss.texi (Services in the NSS configuration): Correct
53950         list of services in example configuration file.
53952 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53954         [BZ #11322]
53955         * manual/arith.texi: Remove statements about negative zero
53956         behaving identically to zero.
53958 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53960         [BZ #5993]
53961         * manual/install.texi: Do not document upgrading from libc5.
53963 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53965         [BZ #4596]
53966         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53968 2012-02-18  David S. Miller  <davem@davemloft.net>
53970         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53971         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53972         %o7 across the call.
53973         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53974         instead.
53975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53976         SETUP_PIC_REG_LEAF.
53977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53978         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53979         * sysdeps/sparc/crtn.S: Likewise.
53981 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53983         * aout/Makefile: Remove.
53985 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53987         [BZ #13058]
53988         * manual/examples/argp-ex1.c (main): Format definition in GNU
53989         style.
53990         * manual/examples/argp-ex2.c (main): Likewise.
53991         * manual/examples/argp-ex3.c (main): Likewise.
53992         * manual/examples/argp-ex4.c (main): Likewise.
53993         * manual/examples/longopt.c (main): Use new-style prototype
53994         definition.
53995         * manual/examples/strncat.c (main): Specify return type and use
53996         (void) for arguments.
53997         * manual/examples/subopt.c (main): Use char **argv argument.
53999 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54001         [BZ #5077]
54002         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54003         rounding modes.
54005 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54007         [BZ #6907]
54008         * manual/string.texi (strchr): Change when strchrnul is
54009         recommended.
54011 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54013         [BZ #174]
54014         * manual/locale.texi (setlocale): Document LOCPATH.
54016 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54018         [BZ #10210]
54019         * manual/process.texi (execle): Move @dots{} before last argument.
54021 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54023         [BZ #12047]
54024         * manual/charset.texi (Generic Charset Conversion): Fix typo
54025         (LC_TYPE -> LC_CTYPE).
54027 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54029         [BZ #5805]
54030         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54031         (scalbnf): Likewise.
54032         (scalbnl): Likewise.
54033         (scalbln): Likewise.
54034         (scalblnf): Likewise.
54035         (scalblnl): Likewise.
54036         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54037         (vwarnx): Likewise.
54038         (verr): Likewise.
54039         (verrx): Likewise.
54040         * manual/filesys.texi (telldir): Use braces around return type.
54041         * manual/llio.texi (mmap): Add space after comma.
54042         (mmap64): Likewise.
54043         * manual/math.texi (jn): Use @var{} on parameter names.
54044         (jnf): Likewise.
54045         (jnl): Likewise.
54046         (yn): Likewise.
54047         (ynf): Likewise.
54048         (ynl): Likewise.
54049         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54050         line.
54051         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54052         "...".
54053         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54054         (sched_get_priority_max): Likewise.
54055         * manual/signal.texi (sigvec): Add space after comma.
54056         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54057         names.
54058         (if_indextoname): Likewise.
54059         (if_freenameindex): Likewise.
54060         (sendto): Use ',' instead of '.' in prototype.
54061         * manual/startup.texi (syscall): Use @dots{} instead of literal
54062         "...".
54063         * manual/stdio.texi (__fpending): Separate initial words of
54064         paragraph from @deftypefun line.
54065         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54066         "...".
54067         (vsyslog): Use @var{} on parameter names.
54068         * manual/terminal.texi (stty): Use @var{} on parameter names.
54069         * manual/users.texi (getutmp): Use @var{} on parameter names.
54070         (getutmpx): Likewise.
54072 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54074         [BZ #6884]
54075         * manual/stdio.texi (fopen): Fix typos in description of
54076         ",ccs=STRING".
54078 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54080         [BZ #4026]
54081         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54082         get clock_id definition.
54084 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54086         [BZ #4822]
54087         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54088         (madvise): Cast every argument to void on its own.
54090 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54092         [BZ #9902]
54093         * manual/startup.texi (Exit Status): Fix typo.
54095 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54097         [BZ #10140]
54098         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54099         * manual/examples/argp-ex2.c: Likewise.
54100         * manual/examples/argp-ex3.c: Likewise.
54102 2012-02-16  Richard Henderson  <rth@redhat.com>
54104         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54105         * sysdeps/s390/s390-32/initfini.c: Remove.
54106         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54107         * sysdeps/s390/s390-64/initfini.c: Remove.
54109 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54111         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54112         compiler output for sysdeps/generic/initfini.c.
54113         * sysdeps/sh/elf/initfini.c: Remove file.
54115 2012-02-16  David S. Miller  <davem@davemloft.net>
54117         [BZ #11494]
54118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54120         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54121         * sysdeps/sparc/crti.S: New file.
54122         * sysdeps/sparc/crtn.S: New file.
54123         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54124         * sysdeps/sparc/sparc64/Makefile: Likewise.
54126 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54128         [BZ #3335]
54129         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54131 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54133         [BZ #4822]
54134         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54136         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54137         (write, read, close): Likewise.
54138         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54140 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54142         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54143         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54144         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54145         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54146         <bits/signalfd.h>.
54147         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54149         bits/signalfd.h.
54151 2012-02-14  Marek Polacek  <polacek@redhat.com>
54153         * sysdeps/x86_64/crti.S: New file.
54154         * sysdeps/x86_64/crtn.S: New file.
54155         * sysdeps/x86_64/elf/initfini.c: Remove file.
54157 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54159         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54160         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54161         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54162         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54163         <bits/inotify.h>.
54164         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54166         bits/inotify.h.
54168 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54170         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54171         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54172         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54173         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54174         <bits/eventfd.h>.
54175         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54177         bits/eventfd.h.
54179 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54181         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54182         __feraiseexcept instead of feraiseexcept.
54184         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54185         nanosleep invocations.
54186         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54187         strings, and add error checking for a nanosleep invocations.
54189 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54191         Replace FSF snail mail address with URLs, as per GNU coding standards.
54192         Most of the snail mail addresses were wrong anyway, and omitting
54193         them makes the source code easier to maintain.  Almost all of the
54194         changes are to license notices and to locale LC_IDENTIFICATION
54195         addresses, except for this one:
54196         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54197         not its snail mail address.
54199 2012-02-09  Richard Henderson  <rth@twiddle.net>
54201         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54202         of kernel-features.h.
54204         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54206 2012-02-08  Marek Polacek  <polacek@redhat.com>
54208         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54209         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54210         * sysdeps/gnu/_G_config.h: Likewise.
54211         * sysdeps/generic/_G_config.h: Likewise.
54213 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54215         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54216         tests.
54217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54219         * sysdeps/powerpc/powerpc32/crti.S: New file.
54220         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54221         * sysdeps/powerpc/powerpc64/crti.S: New file.
54222         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54224         * Makeconfig (have-initfini): Don't set.
54225         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54226         * configure.in (nopic_initfini): Don't substitute.
54227         * config.h.in (HAVE_INITFINI): Don't #undef.
54228         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54229         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54231 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54233         Support crti.S and crtn.S provided directly by architectures.
54234         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54235         [crti.S in sysdirs] (omit-deps): Likewise.
54236         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54237         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54238         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54239         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54240         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54241         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54242         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54243         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54244         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54245         compiler output for sysdeps/generic/initfini.c.
54246         * sysdeps/i386/elf/Makefile: Remove file.
54247         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54249 2012-02-07  Marek Polacek  <polacek@redhat.com>
54251         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54252         * sysdeps/gnu/_G_config.h: Likewise.
54253         * sysdeps/mach/hurd/_G_config.h: Likewise.
54255 2012-02-07  Marek Polacek  <polacek@redhat.com>
54257         * math/Makefile (tests): Add tst-CMPLX2.
54258         * math/tst-CMPLX2.c: New file.
54260 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54262         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54264         * math/libm-test.inc (jn_test): Add missing L suffix.
54266 2012-02-06  Marek Polacek  <polacek@redhat.com>
54268         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54269         * sysdeps/i386/fpu/e_powf.S: Likewise.
54270         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54271         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54272         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54273         * sysdeps/i386/fpu/e_pow.S: Likewise.
54274         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54275         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54276         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54277         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54278         * sysdeps/i386/fpu/e_log2.S: Likewise.
54279         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54280         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54281         * sysdeps/i386/fpu/e_powl.S: Likewise.
54282         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54283         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54284         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54285         * sysdeps/i386/fpu/e_logl.S: Likewise.
54286         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54287         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54288         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54289         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54290         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54291         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54292         * sysdeps/i386/fpu/e_log.S: Likewise.
54293         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54294         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54295         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54296         * sysdeps/i386/fpu/e_logf.S: Likewise.
54297         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54298         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54299         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54300         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54301         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54302         * sysdeps/i386/fpu/e_log10.S: Likewise.
54303         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54304         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54305         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54306         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54307         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54308         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54309         * sysdeps/i386/asm-syntax.h: Likewise.
54310         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54311         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54312         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54313         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54314         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54315         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54316         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54317         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54318         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54319         * sysdeps/powerpc/sysdep.h: Likewise.
54320         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54321         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54323 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54325         [BZ #411]
54326         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54328 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54330         * sysdeps/i386/sysdep.h: Include <features.h>.
54331         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54332         version.
54334 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54336         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54337         Define.
54338         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54339         LOAD_PIC_REG_STR.
54341 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54343         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54344         (SETUP_PIC_REG): Use GET_PC_THUNK.
54345         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54346         macro.
54348 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54350         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54351         for non-PIC compilation.
54352         (SETUP_PIC_REG): Add .p2align directive.
54353         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54354         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54355         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54356         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54357         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54358         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54359         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54360         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54361         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54362         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54363         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54364         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54365         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54366         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54367         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54368         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54369         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54370         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54371         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54372         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54373         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54374         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54375         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54376         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54377         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54378         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54379         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54380         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54381         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54382         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54383         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54384         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54385         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54386         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54387         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54388         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54389         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54390         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54391         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54392         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54393         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54395 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54397         * math/tst-CMPLX.c: Include <stdio.h>.
54399 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54401         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54402         float.
54403         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54404         * sysdeps/sparc/bits/mathdef.h: Likewise.
54406 2012-01-31  Marek Polacek  <polacek@redhat.com>
54408         * libio/libio.h: Don't define _PARAMS.
54409         * locale/programs/config.h: Don't define PARAMS.
54410         * stdlib/strtol_l.c: Likewise.
54411         (__strtol_l): Remove PARAMS from the prototype.
54413 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54415         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54416         names.  Just use the correct names.  Remove unnecessary wrapper
54417         functions.
54418         * malloc/arena.c: Likewise.
54419         * malloc/hooks.c: Likewise.
54421         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54422         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54423         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54425 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54427         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54428         into tail calls.
54429         (update_get_addr): New function.
54430         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54431         GET_ADDR_MODULE parameter.
54433 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54435         * crypt/cert.c: Remove __STDC__ conditionals.
54436         * crypt/crypt-entry.c: Likewise.
54437         * crypt/crypt_util.c: Likewise.
54438         * libio/filedoalloc.c: Likewise.
54439         * libio/fileops.c: Likewise.
54440         * libio/genops.c: Likewise.
54441         * libio/iofclose.c: Likewise.
54442         * libio/iofdopen.c: Likewise.
54443         * libio/iofopen.c: Likewise.
54444         * libio/iofopen64.c: Likewise.
54445         * libio/iogetdelim.c: Likewise.
54446         * libio/iopopen.c: Likewise.
54447         * libio/obprintf.c: Likewise.
54448         * libio/oldfileops.c: Likewise.
54449         * libio/oldiofclose.c: Likewise.
54450         * libio/oldiofdopen.c: Likewise.
54451         * libio/oldiofopen.c: Likewise.
54452         * libio/oldiopopen.c: Likewise.
54453         * libio/wfiledoalloc.c: Likewise.
54454         * libio/wgenops.c: Likewise.
54455         * locale/programs/xmalloc.c: Likewise.
54456         * misc/syslog.c: Likewise.
54457         * stdio-common/xbug.c: Likewise.
54458         * string/memchr.c: Likewise.
54459         * string/memcmp.c: Likewise.
54460         * string/memrchr.c: Likewise.
54461         * string/rawmemchr.c: Likewise.
54462         * sysdeps/posix/getcwd.c: Likewise.
54463         * time/strftime_l.c: Likewise.
54465 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54467         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54468         * config.make.in (config-cflags-sse2avx): Define.
54469         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54470         Fix typo.
54472 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54474         * scripts/config.guess: Update from upstream config git repository.
54475         * scripts/config.sub: Likewise.
54477 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54479         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54480         (EM_NUM): Update.
54481         (R_TILEPRO_*, R_TILEGX_*): New macros.
54483         * scripts/firstversions.awk: Fix bug in version range handling.
54485         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54487         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54489         * include/sys/epoll.h: New file.
54490         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54491         libc_hidden_def.
54493 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54495         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54496         Avoid unnecessary __WORDSIZE == 64 test.
54497         (fmaxf): Use VEX format if possible.
54498         (fmax): Likewise.
54499         (fminf): Likewise.
54500         (fmin): Likewise.
54502         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54503         * math/math_private.h: Remove libc_fegetround* and
54504         libc_fesetround*.
54505         * sysdeps/i386/configure.in: Check for -msse2avx.
54506         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54507         also if SSE2AVX is defined.
54508         Remove libc_fegetround* and libc_fesetround*.
54509         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54510         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54511         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54512         of HAS_YMM_USABLE.
54513         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54514         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54515         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54516         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54517         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54519         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54521 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54523         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54524         size is not set.
54525         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54527 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54529         [BZ #13618]
54530         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54531         relocation.
54532         * Makeconfig (libm): Define.
54533         * elf/Makefile: Add rules to build and run tst-relsort1.
54534         * elf/tst-relsort1.c: New file.
54535         * elf/tst-relsort1mod1.c: New file.
54536         * elf/tst-relsort1mod2.c: New file.
54538 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54540         * math/s_ldexp.c: Remove __STDC__ conditionals.
54541         * math/s_ldexpf.c: Likewise.
54542         * math/s_ldexpl.c: Likewise.
54543         * math/s_nextafter.c: Likewise.
54544         * math/s_nexttowardf.c: Likewise.
54545         * math/s_significand.c: Likewise.
54546         * math/s_significandf.c: Likewise.
54547         * math/s_significandl.c: Likewise.
54548         * math/w_jnl.c: Likewise.
54549         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54550         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54551         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54552         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54553         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54554         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54556         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54561         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54568         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54569         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54570         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54571         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54572         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54573         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54574         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54575         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54576         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54577         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54578         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54579         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54580         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54581         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54582         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54583         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54584         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54585         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54586         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54587         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54588         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54589         * sysdeps/ieee754/k_standard.c: Likewise.
54590         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54591         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54592         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54593         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54594         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54595         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54596         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54597         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54598         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54599         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54600         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54601         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54602         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54603         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54604         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54605         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54606         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54607         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54608         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54609         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54610         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54611         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54612         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54613         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54614         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54615         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54616         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54617         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54618         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54619         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54620         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54621         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54622         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54623         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54624         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54625         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54626         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54627         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54628         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54629         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54630         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54631         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54632         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54633         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54634         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54635         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54636         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54637         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54638         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54639         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54640         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54641         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54642         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54643         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54644         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54645         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54646         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54647         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54648         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54649         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54650         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54651         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54652         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54653         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54654         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54655         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54656         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54657         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54658         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54659         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54660         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54661         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54662         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54663         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54664         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54665         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54666         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54667         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54668         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54669         * sysdeps/ieee754/s_matherr.c: Likewise.
54670         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54671         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54672         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54673         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54675 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54677         * crypt/md5.h: Remove __STDC__ conditionals.
54678         * libio/libioP.h: Likewise.
54679         * locale/programs/config.h: Likewise.
54680         * sysdeps/generic/sysdep.h: Likewise.
54681         * sysdeps/i386/asm-syntax.h: Likewise.
54682         * sysdeps/s390/asm-syntax.h: Likewise.
54683         * sysdeps/unix/sysdep.h: Likewise.
54684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54687 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54689         * libio/libio.h: Remove __STDC__ conditionals.
54690         * malloc/obstack.h: Likewise.
54691         * math/complex.h: Likewise.
54692         * math/math.h: Likewise.
54693         * sysdeps/generic/_G_config.h: Likewise.
54694         * sysdeps/gnu/_G_config.h: Likewise.
54695         * sysdeps/mach/hurd/_G_config.h: Likewise.
54696         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54697         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54698         * sysdeps/sparc/bits/mathdef.h: Likewise.
54700 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54702         [BZ #13583]
54703         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54704         Clean up HAS_* macros.
54705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54706         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54707         possible.
54708         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54709         HAS_AVX.
54710         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54711         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54712         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54713         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54714         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54716 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54718         * elf/tst-unique3.cc (gets): Remove declaration.
54719         * elf/tst-unique3lib.cc (gets): Likewise.
54720         * elf/tst-unique3lib2.cc (gets): Likewise.
54721         * elf/tst-unique4.cc (gets): Likewise.
54723 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54725         * include/stdio.h: Add C++ protection.  Add gets declarations and
54726         definitions.
54727         * debug/tst-chk1.c: Don't declare gets here.
54728         * stdio-common/tst-gets.c: Likewise.
54730 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54732         * posix/glob: Remove directory.
54734 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54736         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54738 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54740         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54741         of the non-standard EPFNOSUPPORT.
54743 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54745         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54746         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54747         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54749 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54751         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54753 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54755         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54756         transient errors.
54757         * nscd/grpcache.c (cache_addgr): Likewise.
54758         * nscd/hstcache.c (cache_addhst): Likewise.
54759         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54760         * nscd/pwdcache.c (cache_addpw): Likewise.
54761         * nscd/servicescache.c (cache_addserv): Likewise.
54763 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54765         * malloc/malloc.c: Various cleanups.
54766         * malloc/hooks.c: Likewise.
54768         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54769         * stdlib/bug-fmtmsg1.c: New file.
54771         * stdlib/fmtmsg.c (init): Add missing unlock.
54772         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54774 2012-01-12  Marek Polacek  <polacek@redhat.com>
54776         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54777         and _GNU_SOURCE.
54779 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54781         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54782         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54783         macro to ensure uniqueness of label name.
54784         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54785         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54787 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54789         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54791         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54792         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54793         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54794         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54796 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54798         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54800         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54801         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54802         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54804         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54806         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54807         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54808         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54809         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54811         * math/bits/math-finite.h: Add ldexp support.
54813 2012-01-10  Marek Polacek  <polacek@redhat.com>
54815         * locale/programs/localedef.h (show_archive_content): Add noreturn
54816         attribute.
54818 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54820         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54822 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54824         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54826         * io/Makefile (headers): Add bits/poll2.h.
54828 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54831         typo #include statement.
54833 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54835         * include/sys/cdefs.h: Define __attribute_alloc_size.
54836         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54837         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54838         * elf/pldd.c: Likewise.
54839         * iconv/iconv_charmap.c: Likewise.
54840         * iconv/iconvconfig.c: Likewise.
54841         * iconv/strtab.c: Likewise.
54842         * locale/programs/locale.c: Likewise.
54843         * locale/programs/localedef.h: Likewise.
54844         * locale/programs/simple-hash.c: Likewise.
54845         * nscd/nscd.h: Likewise.
54846         * nss/makedb.c: Likewise.
54847         * sysdeps/generic/ldconfig.h: Likewise.
54848         * locale/programs/localedef.c: Remove xmalloc prototype.
54849         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54851 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54853         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54854         appropriate.
54856 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54858         * math/Makefile (tests): Add tst-CMPLX.
54859         * math/tst-CMPLX.c: New file.
54861         * math/complex.h (CMPLXL): Fix typo.
54863         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54864         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54865         GLIBC_2.16.
54866         * debug/tst-chk1.c: Add poll and ppoll tests.
54867         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54868         * include/sys/poll.h: Add hidden proto for ppoll.
54869         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54870         * sysdeps/mach/hurd/ppoll.c: Likewise.
54871         * io/ppoll.c: Likewise.
54872         * debug/poll_chk.c: New file.
54873         * debug/ppoll_chk.c: New file.
54874         * include/bits/poll2.h: New file.
54875         * io/bits/poll2.h: New file.
54877         [BZ #1350]
54878         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54880         * configure.in: static is always set to yes.  Remove.
54881         * config.make.in: Don't set build-static.
54882         * Makeconfig: Remove use of build-static.
54883         * dlfcn/Makefile: Likewise.
54884         * elf/Makefile: Likewise.
54885         * math/Makefile: Likewise.
54886         * misc/Makefile: Likewise.
54887         * nptl/Makefile: Likewise.
54888         * sysdeps/mach/hurd/Makefile: Likewise.
54890         * configure.in: PWD_P is not used anymore.
54891         * config.make.in: Remove PWD_P entry.
54893         * configure.in: Remove last remnants of RANLIB.
54894         No need to check for signed size_t anymore.
54895         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54896         and IA-64.
54897         Remove __builtin_expect test because we require at least gcc 3.4.
54898         * aclocal.m4: Likewise.
54900         * wcsmbs/mbrtoc16.c: Implement using towc function.
54901         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54902         * wcsmbs/wcsmbsload.c: Likewise.
54903         * iconv/gconv_simple.c: Likewise.
54904         * iconv/gconv_int.h: Likewise.
54905         * iconv/gconv_builtin.h: Likewise.
54906         * iconv/iconv_prog.c: Remove CHAR16 handling.
54908         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54910         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54912         * configure.in: Remove --with-elf and --enable-bounded options.
54913         Dont set base_machine for ia64.  More non-ELF conditions removed.
54914         Remove testing and setting of leading underscore information.
54915         * config.make.in (build-bounded): Set to no.
54916         * config.h.in: Remove NO_UNDERSCORES entry.
54917         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54918         them.
54919         * csu/start.c: Remove !NO_UNDERSCORE code.
54920         * locale/localeinfo.h: Likewise.
54921         * sysdeps/generic/machine-gmon.h: Likewise.
54922         * sysdeps/generic/sysdep.h: Likewise.
54923         * sysdeps/i386/sysdep.h: Likewise.
54924         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54925         * sysdeps/mach/sysdep.h: Likewise.
54926         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54927         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54928         * sysdeps/sh/sysdep.h: Likewise.
54929         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54930         * sysdeps/unix/i386/sysdep.S: Likewise.
54931         * sysdeps/unix/sparc/start.c: Likewise.
54932         * sysdeps/unix/sparc/sysdep.S: Likewise.
54933         * sysdeps/unix/sparc/sysdep.h: Likewise.
54934         * sysdeps/unix/start.c: Likewise.
54935         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54936         * sysdeps/x86_64/sysdep.h: Likewise.
54938 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54940         [BZ #13553]
54941         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54942         for non-gcc.
54943         * argp/argp-fmtstream.h: Use const instead __const.
54944         * argp/argp.h: Likewise.
54945         * assert/assert.h: Likewise.
54946         * bits/fenv.h: Likewise.
54947         * bits/sched.h: Likewise.
54948         * bits/sigset.h: Likewise.
54949         * bits/sigthread.h: Likewise.
54950         * catgets/nl_types.h: Likewise.
54951         * conform/data/pthread.h-data: Likewise.
54952         * crypt/crypt-private.h: Likewise.
54953         * crypt/crypt.h: Likewise.
54954         * crypt/crypt_util.c: Likewise.
54955         * ctype/ctype.h: Likewise.
54956         * debug/execinfo.h: Likewise.
54957         * debug/mbsnrtowcs_chk.c: Likewise.
54958         * debug/mbsrtowcs_chk.c: Likewise.
54959         * debug/wcsnrtombs_chk.c: Likewise.
54960         * debug/wcsrtombs_chk.c: Likewise.
54961         * debug/wcstombs_chk.c: Likewise.
54962         * dirent/dirent.h: Likewise.
54963         * dlfcn/dlfcn.h: Likewise.
54964         * elf/neededtest4.c: Likewise.
54965         * grp/grp.h: Likewise.
54966         * gshadow/gshadow.h: Likewise.
54967         * iconv/gconv.h: Likewise.
54968         * iconv/gconv_int.h: Likewise.
54969         * iconv/gconv_simple.c: Likewise.
54970         * iconv/iconv.h: Likewise.
54971         * iconv/loop.c: Likewise.
54972         * iconv/skeleton.c: Likewise.
54973         * include/aio.h: Likewise.
54974         * include/aliases.h: Likewise.
54975         * include/argz.h: Likewise.
54976         * include/arpa/inet.h: Likewise.
54977         * include/assert.h: Likewise.
54978         * include/dirent.h: Likewise.
54979         * include/dlfcn.h: Likewise.
54980         * include/execinfo.h: Likewise.
54981         * include/fcntl.h: Likewise.
54982         * include/fenv.h: Likewise.
54983         * include/glob.h: Likewise.
54984         * include/grp.h: Likewise.
54985         * include/libintl.h: Likewise.
54986         * include/mntent.h: Likewise.
54987         * include/netdb.h: Likewise.
54988         * include/pwd.h: Likewise.
54989         * include/rpc/netdb.h: Likewise.
54990         * include/sched.h: Likewise.
54991         * include/search.h: Likewise.
54992         * include/shadow.h: Likewise.
54993         * include/signal.h: Likewise.
54994         * include/stdio.h: Likewise.
54995         * include/stdlib.h: Likewise.
54996         * include/string.h: Likewise.
54997         * include/sys/socket.h: Likewise.
54998         * include/sys/stat.h: Likewise.
54999         * include/sys/statfs.h: Likewise.
55000         * include/sys/statvfs.h: Likewise.
55001         * include/sys/syslog.h: Likewise.
55002         * include/sys/time.h: Likewise.
55003         * include/sys/uio.h: Likewise.
55004         * include/time.h: Likewise.
55005         * include/unistd.h: Likewise.
55006         * include/utmp.h: Likewise.
55007         * include/wchar.h: Likewise.
55008         * include/wctype.h: Likewise.
55009         * inet/aliases.h: Likewise.
55010         * inet/arpa/inet.h: Likewise.
55011         * inet/netinet/ether.h: Likewise.
55012         * inet/netinet/in.h: Likewise.
55013         * intl/libintl.h: Likewise.
55014         * io/bits/fcntl2.h: Likewise.
55015         * io/fcntl.h: Likewise.
55016         * io/ftw.h: Likewise.
55017         * io/sys/poll.h: Likewise.
55018         * io/sys/stat.h: Likewise.
55019         * io/sys/statfs.h: Likewise.
55020         * io/sys/statvfs.h: Likewise.
55021         * io/utime.h: Likewise.
55022         * libio/bits/stdio.h: Likewise.
55023         * libio/bits/stdio2.h: Likewise.
55024         * libio/libio.h: Likewise.
55025         * libio/libioP.h: Likewise.
55026         * libio/stdio.h: Likewise.
55027         * locale/lc-ctype.c: Likewise.
55028         * locale/locale.h: Likewise.
55029         * login/utmp.h: Likewise.
55030         * malloc/arena.c: Likewise.
55031         * malloc/malloc.c: Likewise.
55032         * malloc/malloc.h: Likewise.
55033         * malloc/mcheck.c: Likewise.
55034         * malloc/mtrace.c: Likewise.
55035         * math/bits/mathcalls.h: Likewise.
55036         * math/fenv.h: Likewise.
55037         * math/math_private.h: Likewise.
55038         * misc/bits/error.h: Likewise.
55039         * misc/bits/syslog.h: Likewise.
55040         * misc/err.h: Likewise.
55041         * misc/error.h: Likewise.
55042         * misc/fstab.h: Likewise.
55043         * misc/mntent.h: Likewise.
55044         * misc/regexp.h: Likewise.
55045         * misc/search.h: Likewise.
55046         * misc/sgtty.h: Likewise.
55047         * misc/sys/mman.h: Likewise.
55048         * misc/sys/syslog.h: Likewise.
55049         * misc/sys/uio.h: Likewise.
55050         * misc/sys/xattr.h: Likewise.
55051         * misc/ttyent.h: Likewise.
55052         * nis/rpcsvc/ypclnt.h: Likewise.
55053         * nss/nss.h: Likewise.
55054         * posix/bits/unistd.h: Likewise.
55055         * posix/fnmatch.h: Likewise.
55056         * posix/glob.h: Likewise.
55057         * posix/sched.h: Likewise.
55058         * posix/spawn.h: Likewise.
55059         * posix/sys/wait.h: Likewise.
55060         * posix/unistd.h: Likewise.
55061         * posix/wordexp.h: Likewise.
55062         * pwd/pwd.h: Likewise.
55063         * resolv/netdb.h: Likewise.
55064         * resource/sys/resource.h: Likewise.
55065         * rt/aio.h: Likewise.
55066         * rt/bits/mqueue2.h: Likewise.
55067         * rt/mqueue.h: Likewise.
55068         * shadow/shadow.h: Likewise.
55069         * signal/signal.h: Likewise.
55070         * socket/send.c: Likewise.
55071         * socket/sendto.c: Likewise.
55072         * socket/sys/socket.h: Likewise.
55073         * stdio-common/printf.h: Likewise.
55074         * stdlib/bits/stdlib.h: Likewise.
55075         * stdlib/fmtmsg.h: Likewise.
55076         * stdlib/monetary.h: Likewise.
55077         * stdlib/stdlib.h: Likewise.
55078         * stdlib/ucontext.h: Likewise.
55079         * streams/stropts.h: Likewise.
55080         * string/argz.h: Likewise.
55081         * string/bits/string2.h: Likewise.
55082         * string/string.h: Likewise.
55083         * string/strings.h: Likewise.
55084         * sunrpc/rpc/auth.h: Likewise.
55085         * sunrpc/rpc/auth_des.h: Likewise.
55086         * sunrpc/rpc/clnt.h: Likewise.
55087         * sunrpc/rpc/netdb.h: Likewise.
55088         * sunrpc/rpc/pmap_clnt.h: Likewise.
55089         * sunrpc/rpc/xdr.h: Likewise.
55090         * sysdeps/generic/inttypes.h: Likewise.
55091         * sysdeps/generic/net/if.h: Likewise.
55092         * sysdeps/generic/sys/swap.h: Likewise.
55093         * sysdeps/gnu/net/if.h: Likewise.
55094         * sysdeps/gnu/utmpx.h: Likewise.
55095         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55096         * sysdeps/i386/i486/bits/string.h: Likewise.
55097         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55098         * sysdeps/s390/bits/string.h: Likewise.
55099         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55100         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55101         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55102         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55103         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55104         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55105         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55106         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55107         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55108         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55109         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55110         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55111         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55112         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55113         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55114         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55115         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55116         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55117         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55118         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55119         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55120         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55121         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55122         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55123         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55124         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55125         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55126         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55127         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55128         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55129         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55130         * sysvipc/sys/ipc.h: Likewise.
55131         * sysvipc/sys/msg.h: Likewise.
55132         * sysvipc/sys/sem.h: Likewise.
55133         * sysvipc/sys/shm.h: Likewise.
55134         * termios/termios.h: Likewise.
55135         * time/sys/time.h: Likewise.
55136         * time/time.h: Likewise.
55137         * wcsmbs/bits/wchar2.h: Likewise.
55138         * wcsmbs/uchar.h: Likewise.
55139         * wcsmbs/wchar.h: Likewise.
55140         * wctype/wctype.h: Likewise.
55142         [BZ #13551]
55143         * Makeconfig: Remove all but ELF support including AIX support.
55144         * Makerules: Likewise.
55145         * config.h.in: Likewise.
55146         * config.make.in: Likewise.
55147         * configure: Likewise.
55148         * configure.in: Likewise.
55149         * csu/Makefile: Likewise.
55150         * csu/version.c: Likewise.
55151         * debug/Makefile: Likewise.
55152         * dlfcn/Makefile: Likewise.
55153         * elf/Makefile: Likewise.
55154         * extra-lib.mk: Likewise.
55155         * iconv/Makefile: Likewise.
55156         * include/libc-symbols.h: Likewise.
55157         * include/shlib-compat.h: Likewise.
55158         * resolv/Makefile: Likewise.
55159         * resolv/res_libc.c: Likewise.
55160         * rt/Makefile: Likewise.
55161         * sysdeps/i386/asm-syntax.h: Likewise.
55162         * sysdeps/i386/sysdep.h: Likewise.
55163         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55164         * sysdeps/mach/sysdep.h: Likewise.
55165         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55166         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55167         * sysdeps/s390/asm-syntax.h: Likewise.
55168         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55169         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55170         * sysdeps/sh/sysdep.h: Likewise.
55171         * sysdeps/unix/sparc/sysdep.h: Likewise.
55172         * sysdeps/wordsize-32/divdi3.c: Likewise.
55173         * sysdeps/x86_64/sysdep.h: Likewise.
55175         * argp/Versions: Remove _argp_unlock_xxx.
55177         [BZ #13559]
55178         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55179         * abilist/libBrokenLocale.abilist: Likewise.
55180         * abilist/libanl.abilist: Likewise.
55181         * abilist/libc.abilist: Likewise.
55182         * abilist/libcrypt.abilist: Likewise.
55183         * abilist/libdl.abilist: Likewise.
55184         * abilist/libm.abilist: Likewise.
55185         * abilist/libnsl.abilist: Likewise.
55186         * abilist/libpthread.abilist: Likewise.
55187         * abilist/libresolv.abilist: Likewise.
55188         * abilist/librt.abilist: Likewise.
55189         * abilist/libthread_db.abilist: Likewise.
55190         * abilist/libutil.abilist: Likewise.
55191         * abilist/libnss_db.abilist: New file.
55193         * scripts/abilist.awk: Add support for indirect functions.
55195         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55197         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55199         * shlib-versions: Remove entries for ports architectures.
55201         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55202         files in ports.
55203         * elf/stackguard-macros.h: Remove support for IA-64.
55204         * elf/tst-auditmod1.c: Likewise.
55205         * sysdeps/generic/ldsodefs.h: Likewise.
55207         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55208         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55209         configure files.
55211         [BZ #13552]
55212         * configure.in: Remove --enable-omitfp support.
55213         * FAQ.in: Adjust.
55214         * config.make.in: Likewise.
55215         * Makeconfig: Likewise.
55216         * manual/install.texi: Likewise.
55218         In case anyone cares, the IA-64 architecture could move to ports.
55219         * sysdeps/ia64/*: Removed.
55220         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55221         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55223         [BZ #13555]
55224         * configure.in: Remove entries for unsupported architectures.
55226         [BZ #13533]
55227         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55228         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55229         routines.
55230         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55231         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55232         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55233         fall back to using wcrtomb.
55234         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55235         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55236         renaming.
55237         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55238         * wcsmbs/tst-c16c32-1.c: New file.
55240         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55241         local variable.
55243         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55245         * elf/tst-unique3.cc: Add explicit declaration of gets.
55246         * elf/tst-unique3lib.cc: Likewise.
55247         * elf/tst-unique3lib2.cc: Likewise.
55248         * elf/tst-unique4.cc: Likewise.
55250         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55252 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55254         [BZ #13566]
55255         * assert/assert.h (static_assert): Don't define for C++.
55256         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55257         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55259 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55261         * iconv/loop.c (single loop): Fix assertion in storing of
55262         remaining bytes.
55264         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55266 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55268         * posix/getconf.c: Update copyright year.
55269         * nss/getent.c: Likewise.
55270         * nss/makedb.c: Likewise.
55271         * iconv/iconvconfig.c: Likewise.
55272         * iconv/iconv_prog.c: Likewise.
55273         * elf/ldconfig.c: Likewise.
55274         * elf/pldd.c: Likewise.
55275         * elf/sotruss.ksh: Likewise.
55276         * catgets/gencat.c: Likewise.
55277         * csu/version.c: Likewise.
55278         * elf/ldd.bash.in: Likewise.
55279         * elf/sprof.c (print_version): Likewise.
55280         * locale/programs/locale.c: Likewise.
55281         * locale/programs/localedef.c: Likewise.
55282         * login/programs/pt_chown.c: Likewise.
55283         * nscd/nscd.c (print_version): Likewise.
55284         * debug/xtrace.sh: Likewise.
55285         * malloc/memusage.sh: Likewise.
55286         * malloc/mtrace.pl: Likewise.
55287         * debug/catchsegv.sh: Likewise.
55289 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55291         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55292         pure attribute.
55294 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55296         [BZ #13533]
55297         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55298         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55299         transformations.
55300         * iconv/gconv_int.h: Likewise.
55301         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55302         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55303         from libc for GLIBC_2.16.
55304         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55305         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55306         * wcsmbs/uchar.h: Really define mbstate_t.
55307         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55308         * wcsmbs/c16rtomb.c: New file.
55309         * wcsmbs/mbrtoc16.c: New file.
55310         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55311         for C/POSIX locale.
55312         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55313         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55315         * wcsmbs/wchar.h: Add missing __restrict.
55317 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55319         [BZ #13532]
55320         * time/Makefile (routines): Add timespec_get.
55321         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55322         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55323         timespec for ISO C11.
55324         * time/timespec_get.c: New file.
55325         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55326         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55328         [BZ #13531]
55329         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55330         * stdlib/stdlib.h: Declare aligned_alloc.
55331         * Versions.def: Add GLIBC_2.16 for libc.
55332         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55334         [BZ 13527]
55335         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55336         ISO C11.
55338         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55339         code.
55341         [BZ #13528]
55342         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55344         [BZ #13529]
55345         * assert/assert.h (static_assert): Define.
55347         * version.h: Update for 2.16 development version.
55349         [BZ #13526]
55350         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55351         _ISOC11_SOURCE.
55353         * version.h (RELEASE): Bump for 2.15 release.
55354         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55356         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55357         Patch by Marek Polacek <mpolacek@redhat.com>.
55359         * bits/byteswap.h: Protect long long constants with __extension__.
55360         * sysdeps/i386/bits/byteswap.h: Likewise.
55361         * sysdeps/ia64/bits/byteswap.h: Likewise.
55362         * sysdeps/s390/bits/byteswap.h: Likewise.
55363         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55365 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55367         [BZ #13540]
55368         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55369         destination buffer.
55370         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55372 2011-12-23  Marek Polacek  <polacek@redhat.com>
55374         * elf/dl-addr.c (determine_info): Add inline keyword.
55375         * elf/tst-auditmod4b.c (check_avx): Likewise.
55376         * elf/tst-auditmod6b.c (check_avx): Likewise.
55377         * elf/tst-auditmod6c.c (check_avx): Likewise.
55378         * elf/tst-auditmod7b.c (check_avx): Likewise.
55380 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55382         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55383         !__SSE_MATH__.
55385 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55387         [BZ #13540]
55388         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55389         processing for last bytes.
55391 2011-08-06  Bruno Haible  <bruno@clisp.org>
55393         [BZ #13061]
55394         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55395         U+0385, not to U+1FEE.
55397         [BZ #13062]
55398         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55399         entry for U+00A5 U+0301.
55401 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55403         [BZ #13166]
55404         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55405         buffer for the output is too small.
55407         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55408         optimization.
55410         [BZ #13185]
55411         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55412         SSE flags if possible.
55414 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55416         [BZ #13540]
55417         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55418         processing for last bytes.
55420 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55422         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55423         (syscall-list-default-options, syscall-list-default-condition)
55424         (syscall-list-includes): Define.
55425         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55426         list of ABIs and options and #if conditions for each ABI.  Do not
55427         handle common syscalls between ABIs specially.
55428         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55429         Remove.
55430         (syscall-list-variants, syscall-list-32bit-options)
55431         (syscall-list-32bit-condition, syscall-list-64bit-options)
55432         (syscall-list-64bit-condition): Define.
55433         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55434         (syscall-list-variants, syscall-list-32bit-options)
55435         (syscall-list-32bit-condition, syscall-list-64bit-options)
55436         (syscall-list-64bit-condition): Define.
55437         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55438         Remove.
55439         (syscall-list-variants, syscall-list-32bit-options)
55440         (syscall-list-32bit-condition, syscall-list-64bit-options)
55441         (syscall-list-64bit-condition): Define.
55442         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55443         Remove.
55444         (syscall-list-variants, syscall-list-32bit-options)
55445         (syscall-list-32bit-condition, syscall-list-64bit-options)
55446         (syscall-list-64bit-condition): Define.
55448 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55450         * locale/iso-639.def: Add brx entry.
55452         [BZ #13328]
55453         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55454         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55456         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55457         __feraiseexcept_renamed.
55459 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55461         [BZ #13538]
55462         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55463         EPOLLET with unsigned values.
55464         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55465         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55467         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55468         to large cancellation.
55469         * math/s_cacoshf.c: Likewise.
55470         * math/s_cacoshl.c: Likewise.
55472 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55474         [BZ #13305]
55475         [BZ #12786]
55476         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55477         * math/s_cacoshf.c: Likewise.
55478         * math/s_cacoshl.c: Likewise.
55480 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55482         [BZ #13439]
55483         * iconv/gconv.h: Define __GCONV_SWAP.
55484         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55485         * iconvdata/utf-16.c: Likewise.
55486         * iconvdata/utf-32.c: Likewise.
55488 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55490         [BZ #13524]
55491         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55492         numerator after shifting it by one limb.
55494 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55496         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55497         under [__USE_EXTERN_INLINES].
55499 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55501         [BZ #13446]
55502         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55504 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55506         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55507         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55508         optimized code.
55509         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55510         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55511         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55512         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55513         for strncasecmp/strncasecmp_l compilation.
55514         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55515         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55517 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55519         [BZ #13484]
55520         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55521         of __asm__.
55523 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55525         [BZ #13506]
55526         * time/tzfile.c (__tzfile_read): Check values from file header.
55528 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55530         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55531         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55532         * powerpc/powerpc32/dl-start.S: Likewise.
55533         * powerpc/powerpc32/elf/start.S: Likewise.
55534         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55535         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55536         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55537         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55538         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55539         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55540         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55541         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55542         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55543         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55544         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55545         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55546         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55547         * powerpc/powerpc32/memset.S: Likewise.
55548         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55549         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55550         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55551         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55552         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55553         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55554         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55555         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55556         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55557         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55558         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55559         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55560         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55562 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55564         * math/libm-test.inc: Added more nearbyint tests.
55565         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55566         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55567         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55568         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55570 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55572         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55573         FD_CLOEXEC.
55575 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55577         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55578         Add wcscpy-ssse3 wcscpy-c.
55579         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55580         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55581         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55582         * sysdeps/x86_64/wcschr.S: New file.
55583         * sysdeps/x86_64/wcsrchr.S: New file.
55584         * string/test-strcmp.c: Remove checking of wcscmp function for
55585         wrong alignments.
55586         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55587         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55588         wcsrchr-sse2 wcsrchr-c.
55589         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55590         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55591         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55592         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55593         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55594         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55595         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55596         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55597         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55598         * wcsmbc/wcschr.c (WCSCHR): New macro.
55600 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55602         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55603         * wcsmbs/test-wcsrchr.c: New file.
55604         * string/test-strrchr.c: Add wcsrchr support.
55605         (WIDE): New macro.
55606         * wcsmbs/test-wcscpy.c: New file.
55607         * string/test-strcpy.c: Add wcscpy support.
55608         (WIDE): New macro.
55610 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55612         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55613         the inner loop.
55615 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55617         [BZ #13472]
55618         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55620 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55622         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55623         Minor optimizations.
55625         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55626         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55627         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55629 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55631         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55632         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55633         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55634         for gcc to avoid warnings.
55635         * inet/Makefile (tests): Add tst-checks.
55636         * inet/tst-checks.c: New file.
55638         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55639         warning.
55641         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55642         __wmemcmp_sse2.
55644         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55645         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55647         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55649 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55651         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55652         problem.
55654         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55656 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55658         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55659         conditional on GCC version.
55660         (__arch_compare_and_exchange_val_8_acq)
55661         (__arch_compare_and_exchange_val_16_acq)
55662         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55663         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55664         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55666 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55668         * sysdeps/sh/backtrace.c: New file.
55670 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55672         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55673         parenthesis.
55675 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55677         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55678         falling back to utime.
55680 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55682         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55683         expectations for float.
55685 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55687         * locale/weight.h (findidx): Add parameter len.
55688         * locale/weightwc.h (findidx): Likewise.
55689         * posix/fnmatch_loop.c (FCT): Adjust caller.
55690         * posix/regcomp.c (build_equiv_class): Likewise.
55691         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55692         * posix/regexec.c (check_node_accept_bytes): Likewise.
55693         * string/strcoll_l.c (STRCOLL): Likewise.
55694         * string/strxfrm_l.c (STRXFRM): Likewise.
55696 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55698         * Makefile.in: Remove CVSOPT handling.
55699         * configure.in: Remove use of AC_REVISION.
55700         * iconvdata/Makefile (distribute): No need to filter out CVS.
55701         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55702         handling.
55704 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55706         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55707         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55708         [USE_AS_STRNCASECMP_L]: Likewise.
55709         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55710         NO_TLS_DIRECT_SEG_REFS.
55711         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55712         Fix argument offsets for non-PIC.
55713         [USE_AS_STRNCASECMP_L]: Likewise.
55714         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55715         NO_TLS_DIRECT_SEG_REFS.
55717 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55719         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55720         O_CLOEXEC.
55721         * locale/loadlocale.c (_nl_load_locale): Likewise.
55723 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55725         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55726         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55727         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55728         (SYSCALL_GETTIME): Set errno on error.
55730         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55731         count references to noai6ai_cached.
55733 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55735         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55737         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55738         FD_CLOEXEC for /proc/self/maps.
55740         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55741         FD_CLOEXEC for /proc/meminfo.
55743         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55744         gai.conf.
55746         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55747         FD_CLOEXEC for given file.
55749         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55751         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55752         FD_CLOEXEC for /etc/hosts.
55753         (_gethtent): Likewise.
55755         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55757         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55758         cancellation and set FD_CLOEXEC for /etc/netgroup.
55760         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55761         reading /etc/publickey.
55763         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55764         allow cancellation when reading /etc/group.
55766         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55767         cancellation.
55768         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55770         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55771         when using data file.
55773         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55775         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55776         (write_nis_obj): Use "c" and "e" in fopen.
55778         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55780         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55782         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55784         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55786         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55787         locale.alias.
55789         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55791         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55793         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55795         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55796         file parsing and set FD_CLOEXEC.
55798 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55800         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55802 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55804         * malloc/arena.c (arena_get2): Don't call reused_arena when
55805         _int_new_arena failed.
55807 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55809         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55810         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55811         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55812         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55813         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55814         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55815         to compile strcasecmp and strncasecmp.
55816         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55817         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55821 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55823         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55824         locale-defines.sym to gen-as-const-headers.
55825         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55826         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55827         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55828         to compile strcasecmp and strncasecmp.
55829         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55830         strcasecmp_l and strncasecmp_l.
55831         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55832         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55833         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55834         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55835         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55836         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55837         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55838         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55839         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55840         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55841         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55843 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55845         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55846         result of SYSDEP_GETTIME_CPU to retval.
55847         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55848         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55850         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55851         variable.
55853         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55854         mantissa words.
55855         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55857         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55858         from unused variable.
55860         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55861         DWARF definitions.
55862         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55863         for assembling.
55865         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55866         over namespaces.
55868         * sunrpc/rpc_prot.c (rejected): Fix case value.
55870         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55871         unsigned long long int to avoid warnings in shift.
55873         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55874         of use of trans.
55875         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55876         variable tmp.
55878         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55879         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55880         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55882         * nis/nis_table.c (nis_list): Use variable of correct type for
55883         result of __follow_path call.
55885 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55887         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55888         of math functions ceil, trunc, floor, round, and sqrt, when
55889         avaliable on the platform.
55890         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55891         name clash.
55892         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55893         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55894         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55896 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55898         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55899         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55901 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55903         * include/unistd.h: Fix __readlink return type.
55904         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55906 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55908         * stdlib/ucontext.h: Undo last change for makecontext.
55910 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55912         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55914         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55915         * setjmp/setjmp.h: Mark functions as non-leaf.
55916         * setjmp/bits/setjmp2.h: Likewise.
55917         * stdlib/ucontext.h: Likewise.
55919 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55921         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55922         (reused_arena): Don't check arena limit.
55923         (arena_get2): Atomically check arena limit.
55925 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55927         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55928         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55930         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55931         instructions.
55933 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55935         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55936         handler when locking.
55938         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55939         Fix size of allocated buffer.
55941 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55943         [BZ #10103]
55944         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55945         declarations for long double functions.
55946         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55948         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55950 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55952         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55953         installed.
55955         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55956         is disabled.
55958 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55960         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55962 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55964         * include/alloca.h (stackinfo_alloca_round): Define.
55965         (extend_alloca): Use it.
55966         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55967         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55968         here.
55970         * scripts/check-local-headers.sh: Ignore libaudit.h.
55972         * nscd/Makefile (extra-objs): Make recursively expanded.
55974 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55976         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55977         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55979         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55980         * posix/tst-rfc3484-2.c: Likewise.
55981         * posix/tst-rfc3484-3.c: Likewise.
55983         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55984         process_vm_writev.
55985         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55986         process_vm_writev.
55987         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55988         process_vm_writev from libc using GLIBC_2.15 version.
55990         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55992 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55994         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55995         stack usage.
55997 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55999         [BZ #13367]
56000         * nss/getent.c (initgroups_keys): Show error message in case no group
56001         names are given.
56003         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56004         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56005         __bump_nl_timestamp.
56006         * nscd/connections (nscd_init): When host database is served open
56007         netlink socket and request notification about configuration changes.
56008         (main_loop_poll): Track netlink file descriptor and bump timestamp
56009         in case data becomes available.
56010         (main_loop_epoll): Likewise.
56011         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56012         (database_pers_head): Add extra_data fileds.
56013         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56014         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56015         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56016         Adjust caller.
56017         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56018         in6ai data, call __free_in6ai.
56019         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56020         Add -DHAVE_NETLINK.
56021         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56022         interface information.  Reuse previous data if netlink timestamp
56023         is not changed.
56024         (__bump_nl_timestamp): New function.
56025         (__free_in6ai): New function.
56027 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56029         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56030         close_not_cancel_no_status here.
56031         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56033 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56035         [BZ #13276]
56036         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56037         return value.
56039         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56040         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56041         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56043 2011-07-03  Andreas Jaeger  <aj@suse.de>
56045         [BZ #10709]
56046         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56047         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56048         * math/libm-test.inc (sin_test): Add test case.
56050 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56052         [BZ #13337]
56053         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56054         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56056         * elf/chroot_canon.c (chroot_canon): Cleanups.
56058         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56060         [BZ #13335]
56061         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56062         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56064         * string/test-strchr.c: Make usable for strchrnul testing.
56065         * string/test-strchrnul.c: New file.
56066         * string/Makefile (strop-tests): Add strchrnul.
56068         * po/it.po: Update from translation team.
56069         * po/es.po: Likewise.
56071 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56073         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56074         the three constants needed as parameters.  Drop the others.
56075         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56076         __m128i_strloadu_tolower.
56077         Create and initialize variable zero and use it in all the places
56078         where _mm_setzero_si128 was used.
56080         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56081         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56082         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56083         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56084         anymore.
56085         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56086         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56087         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56088         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56089         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56090         __mpranred, __mptan.
56091         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56092         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56093         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56094         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56095         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56096         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56097         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56098         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56099         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56101 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56103         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56104         redefine if SHARED.
56105         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56108         wide char related routines to wcsmbs subdir.
56110 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56112         [BZ #13344]
56113         * misc/sys/cdefs.h (__THROWNL): Define.
56114         * posix/unistd.h: Use __THREADNL instead of __THREAD
56115         for memory synchronization functions.
56117 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56119         [BZ #13349]
56120         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56121         doesn't exist.
56122         * manual/stdio.texi (Obstack Streams): Node removed.
56124 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56126         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56127         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56128         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56130         * math/math_private.h (math_force_eval): Allow non-addressable
56131         arguments.
56132         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56134 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56136         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56137         file is not needed.
56139         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56140         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56141         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56142         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56143         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56144         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56145         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56146         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56147         Add AVX variants.
56148         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56149         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56150         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56151         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56152         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56153         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56154         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56155         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56156         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56157         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56158         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56159         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56160         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56161         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56162         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56163         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56164         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56165         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56166         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56168         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56169         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56171         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56172         place.  Use VEX encoding when compiling for AVX.
56174 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56176         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56177         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56179         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56181 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56183         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56184         useless if() expression.
56185         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56186         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56187         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56188         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56189         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56190         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56191         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56192         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56193         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56194         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56195         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56196         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56197         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56198         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56199         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56200         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56201         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56202         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56203         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56205         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56207 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56209         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56210         condition.
56211         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56213 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56215         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56216         .text section.  Avoid duplicate constants.
56217         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56218         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56219         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56220         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56221         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56222         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56223         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56224         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56225         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56226         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56227         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56228         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56229         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56230         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56231         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56232         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56233         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56234         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56235         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56236         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56237         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56238         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56239         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56240         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56241         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56242         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56243         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56244         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56245         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56246         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56247         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56248         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56249         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56250         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56251         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56252         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56253         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56254         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56255         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56256         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56257         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56258         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56259         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56260         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56261         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56263 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56265         * sysdeps/x86_64/dla.h: Move to ...
56266         * sysdeps/x86_64/fpu/dla.h: ...here.
56267         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56268         situations.  Use __builtin_fma only for gcc 4.6 and up.
56270         * config.make.in: Add have-mfma4 entry.
56271         * configure.in: Substitute libc_cv_cc_fma4.
56272         * math/Makefile (dbl-only-routines): Add sincostab.
56273         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56274         Use __sincostab not sincos.
56275         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56276         name is a macro.
56277         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56279         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56280         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56281         using __copysign.
56282         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56283         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56284         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56285         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56286         and __inv.
56287         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56288         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56289         __copysign.
56290         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56291         define aliases when function name is a macro.
56292         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56293         sysdeps/ieee754/dbl-64/sincos.tbl.
56294         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56295         fma4-enabled routines.
56296         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56297         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56298         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56299         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56300         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56301         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56302         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56303         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56304         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56305         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56306         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56307         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56308         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56309         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56310         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56311         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56312         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56313         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56314         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56315         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56316         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56317         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56318         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56319         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56320         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56321         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56322         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56323         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56324         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56325         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56327         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56328         rename.
56329         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56330         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56331         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56332         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56333         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56334         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56335         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56336         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56338 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56340         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56342 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56344         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56346         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56347         prediction.
56348         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56350         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56351         Remove unused variable magic_bits.
56352         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56354         * string/strnlen.c: Define and use STRNLEN macro.
56355         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56356         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56357         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56358         * wcsmbs/wcslen.c: Define and use WCSLEN.
56359         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56360         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56361         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56362         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56363         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56364         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56365         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56367 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56370         strnlen-sse2-no-bsf.
56371         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56372         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56373         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56374         Add strnlen support.
56375         (USE_AS_STRNLEN): New macro.
56376         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56377         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56378         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56379         * sysdeps/x86_64/wcslen.S: New file.
56381 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56383         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56384         XMM-moves are used for copying on small sizes.
56386 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56388         * wcsmbs/Makefile (strop-tests): Add wcschr.
56389         * wcsmbs/test-wcschr.c: New file.
56390         * string/test-strchr.c: Update.
56391         Add wcschr support.
56392         (WIDE): New macro.
56394 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56396         * wcsmbs/Makefile (strop-tests): Add wcslen.
56397         * wcsmbs/test-wcslen.c: New file.
56398         * string/test-strlen.c: Update.
56399         Add wcslen support.
56400         (WIDE): New macro.
56402 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56404         * po/it.po: Update from translation team.
56406 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56408         * sysdeps/x86_64/wcscmp.S: Update.
56409         Fix wrong comparison semantics.
56410         wcscmp shall use signed comparison not unsigned.
56411         Don't use substraction to avoid overflow bug.
56412         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56413         * wcsmbc/wcscmp.c: Likewise.
56414         * string/test-strcmp.c: Likewise.
56415         Add new tests to check cases with negative values.
56417 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56419         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56420         * sysdeps/x86_64/dla.h: ...here.  New file.
56421         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56422         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56423         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56426         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56428         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56429         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56431 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56433         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56434         __ynl_finite aliases.
56436 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56440         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56441         define DLA_FMA.
56442         [DLA_FMA] (EMULV): Use DLA_FMA.
56443         [DLA_FMA] (MUL12): Use EMULV.
56444         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56445         that are not needed.
56446         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56447         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56448         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56449         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56450         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56451         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56452         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56454 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56456         * math/s_nan.c: Undef __nan.
56457         * math/s_nanf.c: Undef __nanf.
56458         * math/s_nanl.c: Undef __nanl.
56459         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56460         "math_private.h".
56462 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56464         * math/s_catan.c: Add branch predictions.
56465         * math/s_catanf.c: Likewise.
56466         * math/s_catanh.c: Likewise.
56467         * math/s_catanhf.c: Likewise.
56468         * math/s_catanhl.c: Likewise.
56469         * math/s_catanl.c: Likewise.
56470         * math/s_cexp.c: Likewise.
56471         * math/s_cexpf.c: Likewise.
56472         * math/s_cexpl.c: Likewise.
56473         * math/s_clog.c: Likewise.
56474         * math/s_clog10.c: Likewise.
56475         * math/s_clog10f.c: Likewise.
56476         * math/s_clog10l.c: Likewise.
56477         * math/s_clogf.c: Likewise.
56478         * math/s_clogl.c: Likewise.
56479         * math/s_csqrt.c: Likewise.
56480         * math/s_csqrtf.c: Likewise.
56481         * math/s_csqrtl.c: Likewise.
56482         * math/s_ctanf.c: Likewise.
56483         * math/s_ctanh.c: Likewise.
56484         * math/s_ctanhf.c: Likewise.
56485         * math/s_ctanhl.c: Likewise.
56486         * math/s_ctanl.c: Likewise.
56488         * math/math_private.h: Define __nan, __nanf, __nanl.
56489         * math/s_cacosh.c: Include <math_private.h>.
56490         * math/s_cacoshl.c: Likewise.
56491         * math/s_casinh.c: Likewise.
56492         * math/s_casinhf.c: Likewise.
56493         * math/s_casinhl.c: Likewise.
56494         * math/s_ccos.c: Rely entire on ccosh.
56495         * math/s_ccosf.c: Rely entire on ccoshf.
56496         * math/s_ccosl.c: Rely entirely on ccoshl.
56497         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56498         Remove tests for FE_INVALID.
56499         * math/s_ccoshf.c: Likewise.
56500         * math/s_ccoshl.c: Likewise.
56501         * math/s_csin.c: Likewise.
56502         * math/s_csinf.c: Likewise.
56503         * math/s_csinh.c Likewise.
56504         * math/s_csinhf.c: Likewise.
56505         * math/s_csinhl.c: Likewise.
56506         * math/s_csinl.c: Likewise.
56507         * math/s_ctan.c: Likewise.
56508         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56509         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56510         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56512 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56515         compilation problems.
56517         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56518         __builtin_expect.
56520 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56522         * sysdeps/i386/configure.in: Test for -mfma4 option.
56523         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56524         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56525         COMMON_CPUID_INDEX_80000001.
56526         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56527         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56528         use it if FMA3 is not supported.
56529         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56531         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56532         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56534 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56536         [BZ #12892]
56537         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56538         it would create a cycle with a link time dependency.
56540 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56542         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56543         instruction.
56544         * string/Makefile (strop-tests): Add rawmemchr.
56545         * string/test-rawmemchr.c: New file.
56547         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56548         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56549         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56550         when compiling str{,n}casecmp and when AVX is available.  Hook up
56551         new optimized code in initializers.
56553 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56555         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56556         __feraiseexcept instead of feraiseexcept.
56558 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56560         * math/math_private.h: Define defaults for libc_fetestexcept and
56561         libc_feupdateenv.
56562         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56563         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56564         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56565         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56566         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56567         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56568         libc_fetestexcept and libc_feupdateenv.
56570         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56571         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56572         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56573         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56574         libc_feholdexcept_setround.
56576         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56577         Add s_nearbyint-c and s_nearbyintf-c.
56578         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56579         nearbyintf inlines.
56580         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56581         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56582         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56583         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56585         * math/math_private.h: Define defaults for libc_fegetround,
56586         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56587         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56588         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56589         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56590         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56591         standard functions.
56592         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56593         Remove comments and hacks for old compiler versions.
56594         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56595         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56596         libc_feholdexceptl.
56598 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56600         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56601         (__feraiseexcept_renamed): Add __NTH.
56602         (feraiseexcept): Add __NTH.  Rename local variables to fix
56603         namespace violations.
56605 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56607         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56609         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56611         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56612         recently added interfaces.
56613         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56615         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56616         about macro parameter expansion.
56618         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56619         __NO_MATH_INLINES is defined.  Cleanups.
56621         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56622         and __floorf is target has SSE4.1.
56623         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56624         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56625         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56626         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56628         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56629         name.
56630         (floorf): Likewise.
56632         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56634 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56636         * misc/sys/cdefs.h: Fix last change.
56638         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56639         database lookup.
56641 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56643         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56645         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56646         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56647         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56648         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56649         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56650         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56651         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56652         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56653         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56654         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56655         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56656         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56657         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56658         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56659         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56660         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56661         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56662         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56663         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56664         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56665         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56666         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56668         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56669         ceil, ceilf, floor, floorf.
56671         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56672         Perform IRELATIVE relocations last.
56674         * elf/do-rel.h: Add another parameter nrelative, replacing the
56675         local variable with the same name.  Change name of the function
56676         to end in Rel or Rela (uppercase).
56677         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56678         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56679         elf_dynamic_do_##reloc function.
56681 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56683         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56684         is sufficient, at least on modern CPUs.
56686         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56688         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56689         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56691         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56692         __expl_finite.
56693         * math/bits/math-finite.h: Add entries for exp.
56694         * math/e_expl.c: Add __*_finite alias.
56695         * sysdeps/i386/fpu/e_exp.S: Likewise.
56696         * sysdeps/i386/fpu/e_expf.S: Likewise.
56697         * sysdeps/i386/fpu/e_expl.c: Likewise.
56698         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56699         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56700         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56701         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56702         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56703         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56704         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56706         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56707         is sufficient, at least on modern CPUs.
56709         * ctype/ctype-info.c (__ctype_init): Define.
56710         * include/ctype.h (__ctype_init): Declare.
56711         (__ctype_b_loc): The variable is always initialized.
56712         (__ctype_toupper_loc): Likewise.
56713         (__ctype_tolower_loc): Likewise.
56714         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56715         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56717 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56719         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56721         * configure.in: Also look in $cxxmachine/include for C++ system
56722         headers.
56724 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56726         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56727         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56728         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56729         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56730         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56731         (USE_AS_WMEMCMP): New macro.
56732         Fixing indents.
56733         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56734         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56735         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56736         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56737         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56738         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56739         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56740         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56741         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56742         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56743         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56744         (USE_AS_WMEMCMP): New macro.
56745         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56746         * sysdeps/string/test-memcmp.c: Update.
56747         Fix simple_wmemcmp.
56748         Add new tests.
56749         * wcsmbs/wmemcmp.c: Update.
56750         (WMEMCMP): New macro.
56751         Fix overflow bug.
56753 2011-10-12  Andreas Jaeger  <aj@suse.de>
56755         [BZ #13268]
56756         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56758 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56760         * libio/iofwide.c (do_length): Avoid warning.
56762         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56764 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56766         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56768         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56769         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56770         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56771         * sysdeps/i386/i686/fpu/e_log.S: New file.
56772         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56773         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56775         * ctype/ctype.h: Add support for inlined isXXX functions when
56776         compiling C++ code.
56778 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56780         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56782         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56784 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56786         [BZ #13291]
56787         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56789 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56791         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56792         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56793         feraiseexcept.
56795         * sysdeps/x86_64/memrchr.S: Check for zero size.
56797         * string/stratcliff.c: Add memrchr tests.
56799 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56802         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56803         rawmemchr-sse2 rawmemchr-sse2-bsf.
56804         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56805         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56806         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56807         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56808         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56809         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56810         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56811         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56812         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56813         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56814         * string/memrchr.c (MEMRCHR): New macro.
56816 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56818         Add integration with gcc's -ffinite-math-only and optimize wrapper
56819         functions in libm.
56820         * Versions.def: Define GLIBC_2.15 version for libm.
56821         * math/Makefile (headers): Add bits/math-finite.h.
56822         * math/bits/math-finite.h: New file.
56823         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56824         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56825         * math/e_acoshl.c: Add __*_finite alias.
56826         * math/e_acosl.c: Likewise.
56827         * math/e_asinl.c: Likewise.
56828         * math/e_atan2l.c: Likewise.
56829         * math/e_atanhl.c: Likewise.
56830         * math/e_coshl.c: Likewise.
56831         * math/e_exp10.c: Likewise.
56832         * math/e_exp10f.c: Likewise.
56833         * math/e_exp10l.c: Likewise.
56834         * math/e_exp2l.c: Likewise.
56835         * math/e_fmodl.c: Likewise.
56836         * math/e_gammal_r.c: Likewise.
56837         * math/e_hypotl.c: Likewise.
56838         * math/e_j0l.c: Likewise.
56839         * math/e_j1l.c: Likewise.
56840         * math/e_jnl.c: Likewise.
56841         * math/e_lgammal_r.c: Likewise.
56842         * math/e_log10l.c: Likewise.
56843         * math/e_log2l.c: Likewise.
56844         * math/e_logl.c: Likewise.
56845         * math/e_powl.c: Likewise.
56846         * math/e_sinhl.c: Likewise.
56847         * math/e_sqrtl.c: Likewise.
56848         * math/e_scalb.c: Completely rewritten and optimized.
56849         * math/e_scalbf.c: Likewise.
56850         * math/e_scalbl.c: Likewise.
56851         * math/w_acos.c: Likewise.
56852         * math/w_acosf.c: Likewise.
56853         * math/w_acosl.c: Likewise.
56854         * math/w_acosh.c: Likewise.
56855         * math/w_acoshf.c: Likewise.
56856         * math/w_acoshl.c: Likewise.
56857         * math/w_asin.c: Likewise.
56858         * math/w_asinf.c: Likewise.
56859         * math/w_asinl.c: Likewise.
56860         * math/w_atan2.c: Likewise.
56861         * math/w_atan2f.c: Likewise.
56862         * math/w_atan2l.c: Likewise.
56863         * math/w_atanh.c: Likewise.
56864         * math/w_atanhf.c: Likewise.
56865         * math/w_atanhl.c: Likewise.
56866         * math/w_exp10.c: Likewise.
56867         * math/w_exp10f.c: Likewise.
56868         * math/w_exp10l.c: Likewise.
56869         * math/w_fmod.c: Likewise.
56870         * math/w_fmodf.c: Likewise.
56871         * math/w_fmodl.c: Likewise.
56872         * math/w_j0.c: Likewise.
56873         * math/w_j0f.c: Likewise.
56874         * math/w_j0l.c: Likewise.
56875         * math/w_j1.c: Likewise.
56876         * math/w_j1f.c: Likewise.
56877         * math/w_j1l.c: Likewise.
56878         * math/w_jn.c: Likewise.
56879         * math/w_jnf.c: Likewise.
56880         * math/w_log.c: Likewise.
56881         * math/w_logf.c: Likewise.
56882         * math/w_logl.c: Likewise.
56883         * math/w_log10.c: Likewise.
56884         * math/w_log10f.c: Likewise.
56885         * math/w_log10l.c: Likewise.
56886         * math/w_log2.c: Likewise.
56887         * math/w_log2f.c: Likewise.
56888         * math/w_log2l.c: Likewise.
56889         * math/w_pow.c: Likewise.
56890         * math/w_powf.c: Likewise.
56891         * math/w_powl.c: Likewise.
56892         * math/w_remainder.c: Likewise.
56893         * math/w_remainderf.c: Likewise.
56894         * math/w_remainderl.c: Likewise.
56895         * math/w_scalb.c: Likewise.
56896         * math/w_scalbf.c: Likewise.
56897         * math/w_scalbl.c: Likewise.
56898         * math/w_sqrt.c: Likewise.
56899         * math/w_sqrtf.c: Likewise.
56900         * math/w_sqrtl.c: Likewise.
56901         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56902         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56903         used.
56904         * math/math_private.h: Declare __kernel_standard_f.
56905         * math/w_cosh.c: Remove cruft and optimize a bit.
56906         * math/w_coshf.c: Likewise.
56907         * math/w_coshl.c: Likewise.
56908         * math/w_exp2.c: Likewise.
56909         * math/w_exp2f.c: Likewise.
56910         * math/w_exp2l.c: Likewise.
56911         * math/w_hypot.c: Likewise.
56912         * math/w_hypotf.c: Likewise.
56913         * math/w_hypotl.c: Likewise.
56914         * math/w_lgamma.c: Likewise.
56915         * math/w_lgamma_r.c: Likewise.
56916         * math/w_lgammaf.c: Likewise.
56917         * math/w_lgammaf_r.c: Likewise.
56918         * math/w_lgammal.c: Likewise.
56919         * math/w_lgammal_r.c: Likewise.
56920         * math/w_sinh.c: Likewise.
56921         * math/w_sinhf.c: Likewise.
56922         * math/w_sinhl.c: Likewise.
56923         * math/w_tgamma.c: Likewise.
56924         * math/w_tgammaf.c: Likewise.
56925         * math/w_tgammal.c: Likewise.
56926         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56927         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56928         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56929         Minor optimizations.  Pretty printing.  Remove cruft.
56930         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56931         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56932         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56933         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56934         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56935         * sysdeps/i386/fpu/e_asin.S: Likewise.
56936         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56937         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56938         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56939         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56940         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56941         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56942         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56943         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56944         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56945         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56946         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56947         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56948         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56949         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56950         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56951         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56952         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56953         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56954         * sysdeps/i386/fpu/e_log.S: Likewise.
56955         * sysdeps/i386/fpu/e_log10.S: Likewise.
56956         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56957         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56958         * sysdeps/i386/fpu/e_log2.S: Likewise.
56959         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56960         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56961         * sysdeps/i386/fpu/e_logf.S: Likewise.
56962         * sysdeps/i386/fpu/e_logl.S: Likewise.
56963         * sysdeps/i386/fpu/e_pow.S: Likewise.
56964         * sysdeps/i386/fpu/e_powf.S: Likewise.
56965         * sysdeps/i386/fpu/e_powl.S: Likewise.
56966         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56967         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56968         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56969         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56970         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56971         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56972         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56973         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56974         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56975         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56976         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56977         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56978         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56979         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56980         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56981         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56982         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56983         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56984         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56985         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56986         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56987         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56988         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56989         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56990         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56991         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56992         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56993         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56994         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56995         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56996         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56997         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56998         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56999         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57000         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57001         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57002         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57003         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57004         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57005         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57006         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57007         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57008         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57009         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57010         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57011         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57012         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57013         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57014         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57015         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57016         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57017         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57018         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57019         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57020         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57021         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57022         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57023         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57024         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57025         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57026         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57027         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57028         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57029         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57030         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57031         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57032         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57033         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57034         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57035         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57036         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57037         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57038         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57039         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57040         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57041         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57042         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57043         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57044         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57045         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57046         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57047         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57048         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57049         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57050         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57051         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57052         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57053         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57054         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57055         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57056         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57057         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57058         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57059         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57060         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57061         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57062         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57063         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57064         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57066         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57067         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57068         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57069         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57070         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57071         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57072         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57073         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57074         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57075         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57076         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57077         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57078         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57079         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57080         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57081         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57082         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57083         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57084         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57085         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57086         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57087         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57088         (__isnanf): Likewise.
57089         (__isinf_ns): Likewise.
57090         (__isinf_nsf): Likewise.
57091         (__finite): Likewise.
57092         (__finitef): Likewise.
57093         (__ieee754_sqrt): Define as macro.
57094         (__ieee754_sqrtf): Define as macro.
57095         (__ieee754_sqrtl): Define as macro.
57096         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57097         inlined copy.
57098         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57099         __FINITE_MATH_ONLY__ consistent.
57100         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57102 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57104         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57105         of rawmemchr.
57107         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57109 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57111         * po/ja.po: Update from translation team.
57113 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57115         * locale/programs/locarchive.c (prepare_address_space): New function.
57116         (create_archive, enlarge_archive, open_archive): Use it.
57118         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57119         inside [SHARED], where it is used.
57121         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57123         * nss/getent.c (netgroup_keys): Remove unused variable.
57124         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57126 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57128         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57129         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57130         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57131         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57132         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57133         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57134         * math/Makefile (libm-calls): Add s_isinf_ns.
57135         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57136         * math/multc3.c: Likewise.
57137         * math/s_casin.c: Likewise.
57138         * math/s_casinf.c: Likewise.
57139         * math/s_casinl.c: Likewise.
57140         * math/s_ccos.c: Likewise.
57141         * math/s_ccosf.c: Likewise.
57142         * math/s_ccosl.c: Likewise.
57143         * math/s_ctan.c: Likewise.
57144         * math/s_ctanf.c: Likewise.
57145         * math/s_ctanh.c: Likewise.
57146         * math/s_ctanhf.c: Likewise.
57147         * math/s_ctanhl.c: Likewise.
57148         * math/s_ctanl.c: Likewise.
57149         * math/w_fmod.c: Likewise.
57150         * math/w_fmodf.c: Likewise.
57151         * math/w_fmodl.c: Likewise.
57152         * math/w_remainder.c: Likewise.
57153         * math/w_remainderf.c: Likewise.
57154         * math/w_remainderl.c: Likewise.
57155         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57156         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57157         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57158         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57159         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57160         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57161         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57162         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57164         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57165         of the number.
57166         * stdio-common/printf_fphex.c: Likewise.
57167         * stdio-common/printf_size.c: Likewise.
57169         * math/e_exp10.c: Include math_private.h using <...> not "...".
57170         * math/e_exp10f.c: Likewise.
57171         * math/e_exp10l.c: Likewise.
57172         * math/e_exp2l.c: Likewise.
57173         * math/e_j0l.c: Likewise.
57174         * math/e_j1l.c: Likewise.
57175         * math/e_jnl.c: Likewise.
57176         * math/e_lgammal_r.c: Likewise.
57177         * math/e_rem_pio2l.c: Likewise.
57178         * math/e_scalb.c: Likewise.
57179         * math/e_scalbf.c: Likewise.
57180         * math/e_scalbl.c: Likewise.
57181         * math/k_cosl.c: Likewise.
57182         * math/k_sinl.c: Likewise.
57183         * math/k_tanl.c: Likewise.
57184         * math/s_cacoshf.c: Likewise.
57185         * math/s_catan.c: Likewise.
57186         * math/s_catanf.c: Likewise.
57187         * math/s_catanh.c: Likewise.
57188         * math/s_catanhf.c: Likewise.
57189         * math/s_catanhl.c: Likewise.
57190         * math/s_catanl.c: Likewise.
57191         * math/s_ccosh.c: Likewise.
57192         * math/s_ccoshf.c: Likewise.
57193         * math/s_ccoshl.c: Likewise.
57194         * math/s_cexp.c: Likewise.
57195         * math/s_cexpf.c: Likewise.
57196         * math/s_cexpl.c: Likewise.
57197         * math/s_clog.c: Likewise.
57198         * math/s_clog10.c: Likewise.
57199         * math/s_clog10f.c: Likewise.
57200         * math/s_clog10l.c: Likewise.
57201         * math/s_clogf.c: Likewise.
57202         * math/s_clogl.c: Likewise.
57203         * math/s_csin.c: Likewise.
57204         * math/s_csinf.c: Likewise.
57205         * math/s_csinh.c: Likewise.
57206         * math/s_csinhf.c: Likewise.
57207         * math/s_csinhl.c: Likewise.
57208         * math/s_csinl.c: Likewise.
57209         * math/s_csqrt.c: Likewise.
57210         * math/s_csqrtf.c: Likewise.
57211         * math/s_csqrtl.c: Likewise.
57212         * math/s_ctan.c: Likewise.
57213         * math/s_ctanf.c: Likewise.
57214         * math/s_ctanh.c: Likewise.
57215         * math/s_ctanhf.c: Likewise.
57216         * math/s_ctanhl.c: Likewise.
57217         * math/s_ctanl.c: Likewise.
57218         * math/s_ldexp.c: Likewise.
57219         * math/s_ldexpf.c: Likewise.
57220         * math/s_ldexpl.c: Likewise.
57221         * math/s_significand.c: Likewise.
57222         * math/s_significandf.c: Likewise.
57223         * math/s_significandl.c: Likewise.
57224         * math/w_acos.c: Likewise.
57225         * math/w_acosf.c: Likewise.
57226         * math/w_acosh.c: Likewise.
57227         * math/w_acoshf.c: Likewise.
57228         * math/w_acoshl.c: Likewise.
57229         * math/w_acosl.c: Likewise.
57230         * math/w_asin.c: Likewise.
57231         * math/w_asinf.c: Likewise.
57232         * math/w_asinl.c: Likewise.
57233         * math/w_atan2.c: Likewise.
57234         * math/w_atan2f.c: Likewise.
57235         * math/w_atan2l.c: Likewise.
57236         * math/w_atanh.c: Likewise.
57237         * math/w_atanhf.c: Likewise.
57238         * math/w_atanhl.c: Likewise.
57239         * math/w_cosh.c: Likewise.
57240         * math/w_coshf.c: Likewise.
57241         * math/w_coshl.c: Likewise.
57242         * math/w_dremf.c: Likewise.
57243         * math/w_exp10.c: Likewise.
57244         * math/w_exp10f.c: Likewise.
57245         * math/w_exp10l.c: Likewise.
57246         * math/w_exp2.c: Likewise.
57247         * math/w_exp2f.c: Likewise.
57248         * math/w_fmod.c: Likewise.
57249         * math/w_fmodf.c: Likewise.
57250         * math/w_fmodl.c: Likewise.
57251         * math/w_hypot.c: Likewise.
57252         * math/w_hypotf.c: Likewise.
57253         * math/w_hypotl.c: Likewise.
57254         * math/w_j0.c: Likewise.
57255         * math/w_j0f.c: Likewise.
57256         * math/w_j0l.c: Likewise.
57257         * math/w_j1.c: Likewise.
57258         * math/w_j1f.c: Likewise.
57259         * math/w_j1l.c: Likewise.
57260         * math/w_jn.c: Likewise.
57261         * math/w_jnf.c: Likewise.
57262         * math/w_jnl.c: Likewise.
57263         * math/w_lgamma.c: Likewise.
57264         * math/w_lgamma_r.c: Likewise.
57265         * math/w_lgammaf.c: Likewise.
57266         * math/w_lgammaf_r.c: Likewise.
57267         * math/w_lgammal.c: Likewise.
57268         * math/w_lgammal_r.c: Likewise.
57269         * math/w_log.c: Likewise.
57270         * math/w_log10.c: Likewise.
57271         * math/w_log10f.c: Likewise.
57272         * math/w_log10l.c: Likewise.
57273         * math/w_log2.c: Likewise.
57274         * math/w_log2f.c: Likewise.
57275         * math/w_log2l.c: Likewise.
57276         * math/w_logf.c: Likewise.
57277         * math/w_logl.c: Likewise.
57278         * math/w_pow.c: Likewise.
57279         * math/w_powf.c: Likewise.
57280         * math/w_powl.c: Likewise.
57281         * math/w_remainder.c: Likewise.
57282         * math/w_remainderf.c: Likewise.
57283         * math/w_remainderl.c: Likewise.
57284         * math/w_scalb.c: Likewise.
57285         * math/w_scalbf.c: Likewise.
57286         * math/w_scalbl.c: Likewise.
57287         * math/w_sinh.c: Likewise.
57288         * math/w_sinhf.c: Likewise.
57289         * math/w_sinhl.c: Likewise.
57290         * math/w_sqrt.c: Likewise.
57291         * math/w_sqrtf.c: Likewise.
57292         * math/w_sqrtl.c: Likewise.
57293         * math/w_tgamma.c: Likewise.
57294         * math/w_tgammaf.c: Likewise.
57295         * math/w_tgammal.c: Likewise.
57297         * po/ja.po: Update from translation team.
57299 2011-09-29  Andreas Jaeger  <aj@suse.de>
57301         [BZ #13179]
57302         * sunrpc/netname.c (netname2host): Fix logic.
57304         [BZ #6779]
57305         [BZ #6783]
57306         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57307         correctly.
57308         * math/w_remainder.c (__remainder): Likewise.
57309         * math/w_remainderf.c (__remainderf): Likewise.
57310         * math/libm-test.inc (remainder_test): Add test cases.
57312 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57314         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57315         sdiv_qrnnd.
57317 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57319         * string/test-memcmp.c: Avoid unncessary #defines.
57320         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57322 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57324         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57325         Use new sse2 version for core i3 - i7 as it's faster
57326         than sse42 version.
57327         (bit_Prefer_PMINUB_for_stringop): New.
57328         * sysdeps/x86_64/rawmemchr.S: Update.
57329         Replace with faster SSE2 version.
57330         * sysdeps/x86_64/memrchr.S: New file.
57331         * sysdeps/x86_64/memchr.S: Update.
57332         Replace with faster SSE2 version.
57334 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57336         * elf/dl-load.c (lose): Add cast to avoid warning.
57338 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57340         * po/ca.po: Update from translation team.
57342         * inet/getnetgrent_r.c: Hook up nscd.
57343         * nscd/Makefile (routines): Add nscd_netgroup.
57344         (nscd-modules): Add netgroupcache.
57345         (CFLAGS-netgroupcache.c): Define.
57346         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57347         (cache_search): Add const to second parameter.
57348         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57349         INNETGR.
57350         (dbs): Add netgrdb entry.
57351         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57352         (verify_persistent_db): Handle netgrdb.
57353         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57354         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57355         GETFDNETGR.
57356         (netgroup_response_header): Define.
57357         (innetgroup_response_header): Define.
57358         (datahead): Add netgroup_response_header and innetgroup_response_header
57359         elements.
57360         * nscd/nscd.conf: Add entries for netgroup cache.
57361         * nscd/nscd.h (dbtype): Add netgrdb.
57362         (_PATH_NSCD_NETGROUP_DB): Define.
57363         (netgroup_iov_disabled): Declare.
57364         (xmalloc, xcalloc, xrealloc): Move declarations here.
57365         (cache_search): Adjust prototype.
57366         Add netgroup-related prototypes.
57367         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57368         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57369         (__nscd_innetgr): Declare.
57370         * nscd/selinux.c (perms): Use access_vector_t as element type and
57371         add netgroup-related initializers.
57372         * nscd/netgroupcache.c: New file.
57373         * nscd/nscd_netgroup.c: New file.
57374         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57375         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57376         For four parameters use innetgr.
57377         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57378         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57379         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57380         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57382         * nscd/connections.c (register_traced_file): Don't register file
57383         for disabled databases.
57385 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57387         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57389         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57390         from tree and freeing node.
57392 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57394         * nss/nsswitch.c (__nss_database_lookup): Handle
57395         nss_parse_service_list out of memory case.
57397 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57399         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57400         out of memory case.
57402 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57404         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57405         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57406         pass it down.
57407         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57408         elf_machine_rela, elf_machine_lazy_rel.
57409         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57410         (ELF_DYNAMIC_DO_REL): Likewise.
57411         (ELF_DYNAMIC_DO_RELA): Likewise.
57412         (ELF_DYNAMIC_RELOCATE): Likewise.
57413         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57414         to ELF_DYNAMIC_DO_REL.
57415         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57416         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57417         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57418         elf_machine_rela.
57419         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57420         skip_ifunc, don't call ifunc function if non-zero.
57421         (elf_machine_rela): Likewise.
57422         (elf_machine_lazy_rel): Likewise.
57423         (elf_machine_lazy_rela): Likewise.
57424         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57425         (elf_machine_lazy_rel): Likewise.
57426         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57427         Likewise.
57428         (elf_machine_lazy_rel): Likewise.
57429         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57430         Likewise.
57431         (elf_machine_lazy_rel): Likewise.
57432         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57433         (elf_machine_lazy_rel): Likewise.
57434         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57435         (elf_machine_lazy_rel): Likewise.
57436         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57437         (elf_machine_lazy_rel): Likewise.
57438         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57439         (elf_machine_lazy_rel): Likewise.
57440         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57441         (elf_machine_lazy_rel): Likewise.
57442         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57443         (elf_machine_lazy_rel): Likewise.
57445 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57447         * nss/nss_files/files-init.c (_nss_files_init): Use static
57448         initialization for all the *_traced_file variables.
57450 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57452         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57454 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57456         [BZ #13226]
57457         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57459 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57461         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57462         Reread the line before reparsing it.
57464 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57466         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57468 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57469             Maxim Kuvyrkov  <maxim@codesourcery.com>
57470             Joseph Myers  <joseph@codesourcery.com>
57472         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57473         if needed for __stack_chk_guard.
57475 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57477         * sysdeps/posix/spawni.c (script_execute): Always define it.
57478         It will be optimized away if unused.
57479         (maybe_script_execute): New function.
57480         (__spawni): Call it.
57482         * Makerules: Don't include tls.make.
57483         (config-tls): Always set to thread.
57484         * tls.make.c: File removed.
57486 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57488         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57489         * config.make.in (CPPFLAGS-config): New substituted variable.
57491 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57493         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57495         [BZ #13192]
57496         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57497         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57499 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57501         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57502         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57504         (CALL_FAIL): Likewise.
57505         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57506         (CALL_FAIL): Macro removed.
57507         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57509 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57511         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57512         for __FINITE_MATH_ONLY__ == 1.
57514 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57516         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57517         __ieee754_sqrt instead of sqrt.
57518         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57519         __ieee754_sqrtf instead of sqrtf.
57520         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57521         __floorf instead of floorf.
57522         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57523         __floorf, __truncf instead of floorf, truncf.
57525 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57527         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57529         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57530         __extern_always_inline.
57531         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57532         32-bit.
57534 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57536         * elf/rtld.c (dl_main): Also relocate in dependency order when
57537         doing symbol dependency testing.
57539 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57542         Always define `refsym'.
57544 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57546         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57547         (__FD_ELT): Renamed from __FDELT.
57548         * misc/bits/select2.h (__FD_ELT): Likewise.
57549         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57550         __FD_MASK instead of __FDELT, __FDMASK.
57551         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57552         Likewise.
57553         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57554         Likewise.
57556         * elf/Makefile (gen-ldd): Fix pattern.
57558         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57559         (init_tls): Likewise.
57561 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57565 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57567         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57568         `struct cmsghdr *' instead of `void *'.
57569         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57570         Likewise.
57572 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57574         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57575         if non-absolute.
57576         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57577         ldd_rewrite_script.
57579 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57581         * configure.in: Remove --with-tls option.
57582         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57583         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57584         out in case it is missing.
57585         * sysdeps/ia64/elf/configure.in: Likewise.
57586         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57587         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57588         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57589         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57590         * sysdeps/sh/elf/configure.in: Likewise.
57591         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57592         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57593         * sysdeps/x86_64/elf/configure.in: Likewise.
57594         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57595         * sysdeps/mach/hurd/tls.h: Likewise.
57597         [BZ #13067]
57598         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57600         [BZ #13090]
57601         * configure.in: Fix use of AC_INIT.
57603         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57605 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57607         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57608         __set_errno.
57609         * malloc/hooks.c: Likewise.
57611         [BZ #11929]
57612         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57613         variables statically.
57614         (narenas): Initialize.
57615         (list_lock): Initialize.
57616         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57617         initializtion of main_arena and list_lock.  Small cleanups.
57618         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57619         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57620         Add initializers to main_arena and mp_.
57621         (malloc_state): Remove pagesize member.  Change all users to use
57622         GLRO(dl_pagesize).
57624         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57625         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57626         is always initialized.
57628         * malloc/malloc.c: Removed unused configurations and dead code.
57629         * malloc/arena.c: Likewise.
57630         * malloc/hooks.c: Likewise.
57631         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57633         * include/tls.h: Removed.  USE___THREAD must always be defined.
57634         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57635         * elf/dl-libc.c: Likewise.
57636         * elf/dl-tsd.c: Likewise.
57637         * include/errno.h: Likewise.
57638         * include/netdb.h: Likewise.
57639         * include/resolv.h: Likewise.
57640         * inet/herrno-loc.c: Likewise.
57641         * inet/herrno.c: Likewise.
57642         * malloc/arena.c: Likewise.
57643         * malloc/hooks.c: Likewise.
57644         * malloc/malloc.c: Likewise.
57645         * resolv/res-state.c: Likewise.
57646         * resolv/res_libc.c: Likewise.
57647         * sysdeps/i386/dl-machine.h: Likewise.
57648         * sysdeps/ia64/dl-machine.h: Likewise.
57649         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57650         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57651         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57652         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57653         * sysdeps/sh/dl-machine.h: Likewise.
57654         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57655         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57656         * sysdeps/unix/i386/sysdep.S: Likewise.
57657         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57658         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57660         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57662         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57663         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57664         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57667         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57668         * sysdeps/x86_64/dl-machine.h: Likewise.
57669         * tls.make.c: Likewise.
57671         * configure.in: Remove --with-__thread option.  Make tests for
57672         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57673         tls_model attribute fail if no support is available.  Remove
57674         USE_IN_LIBIO.
57675         * Makeconfig: Adjust for dropped configure option.  All features are
57676         now mandatory.
57677         * Makerules: Likewise.
57678         * Versions.def: Likewise.
57679         * argp/argp-fmtstream.c: Likewise.
57680         * argp/argp-fmtstream.h: Likewise.
57681         * argp/argp-help.c: Likewise.
57682         * assert/assert.c: Likewise.
57683         * config.h.in: Likewise.
57684         * config.make.in: Likewise.
57685         * configure: Likewise.
57686         * configure.in: Likewise.
57687         * csu/Versions: Likewise.
57688         * csu/init.c: Likewise.
57689         * elf/tst-audit2.c: Likewise.
57690         * elf/tst-tls10.c: Likewise.
57691         * elf/tst-tls10.h: Likewise.
57692         * elf/tst-tls11.c: Likewise.
57693         * elf/tst-tls12.c: Likewise.
57694         * elf/tst-tls14.c: Likewise.
57695         * elf/tst-tlsmod11.c: Likewise.
57696         * elf/tst-tlsmod12.c: Likewise.
57697         * elf/tst-tlsmod13.c: Likewise.
57698         * elf/tst-tlsmod13a.c: Likewise.
57699         * elf/tst-tlsmod14a.c: Likewise.
57700         * elf/tst-tlsmod15b.c: Likewise.
57701         * elf/tst-tlsmod16a.c: Likewise.
57702         * elf/tst-tlsmod16b.c: Likewise.
57703         * elf/tst-tlsmod7.c: Likewise.
57704         * elf/tst-tlsmod8.c: Likewise.
57705         * elf/tst-tlsmod9.c: Likewise.
57706         * gmon/gmon.c: Likewise.
57707         * grp/fgetgrent_r.c: Likewise.
57708         * grp/putgrent.c: Likewise.
57709         * hurd/fopenport.c: Likewise.
57710         * include/libc-symbols.h: Likewise.
57711         * include/tls.h: Likewise.
57712         * intl/gettextP.h: Likewise.
57713         * intl/loadinfo.h: Likewise.
57714         * locale/global-locale.c: Likewise.
57715         * locale/localeinfo.h: Likewise.
57716         * mach/devstream.c: Likewise.
57717         * malloc/arena.c: Likewise.
57718         * malloc/set-freeres.c: Likewise.
57719         * misc/err.c: Likewise.
57720         * misc/getttyent.c: Likewise.
57721         * misc/mntent_r.c: Likewise.
57722         * posix/getopt.c: Likewise.
57723         * posix/wordexp.c: Likewise.
57724         * pwd/fgetpwent_r.c: Likewise.
57725         * resolv/Versions: Likewise.
57726         * resolv/res_hconf.c: Likewise.
57727         * shadow/fgetspent_r.c: Likewise.
57728         * shadow/putspent.c: Likewise.
57729         * stdio-common/printf_fphex.c: Likewise.
57730         * stdio-common/tmpfile.c: Likewise.
57731         * stdlib/abort.c: Likewise.
57732         * stdlib/fmtmsg.c: Likewise.
57733         * sunrpc/auth_unix.c: Likewise.
57734         * sunrpc/clnt_perr.c: Likewise.
57735         * sunrpc/clnt_tcp.c: Likewise.
57736         * sunrpc/clnt_udp.c: Likewise.
57737         * sunrpc/clnt_unix.c: Likewise.
57738         * sunrpc/openchild.c: Likewise.
57739         * sunrpc/svc_simple.c: Likewise.
57740         * sunrpc/svc_tcp.c: Likewise.
57741         * sunrpc/svc_udp.c: Likewise.
57742         * sunrpc/svc_unix.c: Likewise.
57743         * sunrpc/xdr.c: Likewise.
57744         * sunrpc/xdr_array.c: Likewise.
57745         * sunrpc/xdr_rec.c: Likewise.
57746         * sunrpc/xdr_ref.c: Likewise.
57747         * sunrpc/xdr_stdio.c: Likewise.
57749 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57751         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57753 2011-07-03  Andreas Jaeger  <aj@suse.de>
57755         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57756         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57757         regenerate with gen-libm-tests.pl.
57759 2010-05-12  Petr Baudis  <pasky@suse.cz>
57761         [BZ #11589]
57762         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57763         around j0() zero points by switching to j1().
57764         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57765         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57766         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57767         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57769 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57771         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57772         instead of 0.
57773         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57774         instead of 0.
57775         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57776         Patch in part by Pavel Roskin <proski@gnu.org>.
57778         [BZ #13138]
57779         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57780         realloc.
57781         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57782         Free memory block if necessary.
57784         [BZ #12847]
57785         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57786         be NULL.  Don't lock in this case.
57788 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57790         * elf/elf.h (ELFOSABI_GNU): New macro.
57791         (ELFOSABI_LINUX): Define to that.
57793 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57795         * string/strncat.c (strncat): Undef the symbol in case it has been
57796         defined in bits/string.h.
57798 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57800         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57802         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57803         link map.
57805 2011-08-17  Andreas Jaeger  <aj@suse.de>
57807         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57809 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57810             Ian Lance Taylor  <iant@google.com>
57812         * math/libm-test.inc (lround_test): New testcase.
57813         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57815 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57817         * Makefile: Remove support for automatic cvs check-ins.
57818         * Makerules: Likewise.
57819         * config.make.in: Likewise.
57820         * configure.in: Likewise.
57821         * intl/Makefile: Likewise.
57822         * locale/Makefile: Likewise.
57823         * po/Makefile: Likewise.
57824         * posix/Makefile: Likewise.
57825         * sysdeps/gnu/Makefile: Likewise.
57826         * sysdeps/mach/hurd/Makefile: Likewise.
57827         * sysdeps/sparc/sparc32/Makefile: Likewise.
57829         [BZ #13118]
57830         * posix/Makefile (bug-regex32-ENV): Define.
57831         Patch by John Stanley <jpsinthemix@verizon.net>.
57833         * misc/Makefile (headers): Add bits/select2.h.
57834         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57835         * misc/bits/select2.h: New file.
57836         * include/bits/select2.h: New file.
57837         * debug/Makefile (routines): Add fdelt_chk.
57838         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57839         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57840         FD_ISSET.
57841         * debug/fdelt_chk.c: New file.
57843         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57844         * wcsmbs/test-wmemcmp.c: Likewise.
57845         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57846         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57848 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57850         * string/Makefile (strop-tests): Add memcmp.
57851         * string/test-wmemcmp.c: New file.
57852         * string/test-memcmp.c: Add wmemcmp support.
57854 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57856         [BZ #13153]
57857         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57858         2011-07-19 change.
57860         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57861         garbage value in a __mach_port_mod_refs call in the cases of the
57862         task-self and thread-self ports.
57864 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57866         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57868 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57870         * elf/dl-load.c (lose): Check for non-null L.
57872 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57874         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57876         * elf/dl-libc.c (dlerror_run): Pass back error code from
57877         dl_catch_error.
57879         [BZ #13123]
57880         * elf/dl-load.c (lose): Free l_origin if it is valid.
57882         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57883         names.
57884         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57885         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57886         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57887         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57888         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57889         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57891 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57893         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57894         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57895         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57896         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57897         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57898         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57899         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57900         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57901         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57902         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57904 2011-08-15  Alan Modra  <amodra@gmail.com>
57906         [BZ #13092]
57907         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57908         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57909         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57910         ppc_mcount to static-only-routines.
57911         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57912         __mcount_internal.
57913         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57914         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57916 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57918         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57919         for finite and infinity parameters.
57921 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57923         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57924         and add nop instructions for throughput optimization.
57925         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57927 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57929         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57930         aligned copy for power7 with vector-scalar instructions.
57931         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57933 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57935         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57936         AVX check.
57938 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57940         [BZ #13144]
57941         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57942         last change.
57944 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57946         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57947         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57948         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57949         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57950         clock_gettime.
57952 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57954         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57955         Forgot to demangle the pointer.
57957         * sysdeps/i386/sysdep.h: Define atom_text_section.
57958         * sysdeps/x86_64/sysdep.h: Likewise.
57959         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57960         section with atom_text_section.
57961         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57962         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57963         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57964         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57965         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57967         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57968         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57969         already be defined.  Change to take two parameters and don't assign
57970         result to variable.  Adjust all users.
57971         Define INTERNAL_GETTIME if not already defined.
57972         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57973         call.
57974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57975         HAVE_CLOCK_GETTIME_VSYSCALL.
57976         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57978         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57979         gettimeofday vsyscall, just use time.
57981 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57983         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57984         <errno.h>.
57986 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57988         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57989         syscall on x86-64.
57990         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57991         syscall.
57992         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57994         syscall if possible.
57996 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57998         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57999         e_ident.  Don't pass to find_mapsXX.
58000         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58002 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58004         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58005         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58006         * sysdeps/x86_64/multiarch/strchr.S: Update.
58007         Check bit_slow_BSF bit.
58008         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58009         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58010         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58012 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58014         [BZ #13134]
58015         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58016         before glibc 2.15.
58017         (tryshell): Define.
58018         (__spawni): Change last parameter to be flag.  Test
58019         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58020         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58021         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58022         * posix/spawni.c: Likewise.
58023         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58024         * posix/spawnp.c: Likewise.  Change normal version to use
58025         SPAWN_XFLAGS_USE_PATH.
58026         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58027         SPAWN_XFLAGS_TRY_SHELL.
58029         [BZ #13150]
58030         * posix/glob.h: Remove gcc 1.x support.
58032         [BZ #13068]
58033         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58035 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58037         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58038         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58039         strrchr-sse2-bsf
58040         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58041         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58042         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58043         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58044         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58045         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58047 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58049         * sysdeps/x86_64/wcscmp.S: New file.
58051         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58052         wcscmp-c wcscmp-sse2
58053         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58054         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58055         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58056         * wcsmbs/wcscmp.c: Allow renaming.
58058 2011-09-05  David S. Miller  <davem@davemloft.net>
58060         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58061         stack slot, rather than the struct return pointer slot.
58062         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58063         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58065         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58067 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58069         * po/ja.po: Update from translation team.
58071         [BZ #13144]
58072         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58073         kernel in 64-bit binaries.
58075 2011-09-01  David S. Miller  <davem@davemloft.net>
58077         * elf/elf.h (HWCAP_SPARC_*): Move to..
58078         * sysdeps/sparc/sysdep.h: this new file and add new values.
58079         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58080         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58081         _DL_HWCAP_COUNT to 24.
58082         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58083         entries.
58084         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58085         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58086         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58087         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58088         instead of magic constants.
58089         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58091 2011-08-31  David S. Miller  <davem@davemloft.net>
58093         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58095         Reimplement to do errno handling inline.
58096         (SYSCALL_ERROR_HANDLER): New macro.
58097         (__SYSCALL_STRING): Do not do errno handling in asm.
58098         (__CLONE_SYSCALL_STRING): Delete.
58099         (__INTERNAL_SYSCALL_STRING): Delete.
58100         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58101         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58102         (PSEUDO): Reimplement to do errno handling inline.
58103         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58104         (SYSCALL_ERROR_HANDLER): New macro.
58105         (__SYSCALL_STRING): Do not do errno handling in asm.
58106         (__CLONE_SYSCALL_STRING): Delete.
58107         (__INTERNAL_SYSCALL_STRING): Delete.
58108         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58109         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58110         i386.
58111         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58112         (inline_syscall*): Add 'err' argument.
58113         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58114         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58115         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58116         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58118         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58119         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58121 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58123         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58125 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58127         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58128         directive.
58130 2011-08-24  David S. Miller  <davem@davemloft.net>
58132         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58134 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58136         * elf/Makefile: Add rules to build and run unload8 test.
58137         * elf/unload8.c: New file.
58138         * elf/unload8mod1.c: New file.
58139         * elf/unload8mod1x.c: New file.
58140         * elf/unload8mod2.c: New file.
58141         * elf/unload8mod3.c: New file.
58143         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58144         it wasn't used.
58146 2011-08-23  David S. Miller  <davem@davemloft.net>
58148         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58149         subtract stack bias.
58150         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58151         %sp not %fp in calculations.
58152         (_JMPBUF_UNWINDS_ADJ): Likewise.
58154         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58155         (aio_suspend): Call it to force an exception region around the
58156         AIO_MISC_WAIT() invocation.
58158 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58160         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58161         backslash.
58163 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58165         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58166         protection macro.
58167         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58168         and <dl-machine.h>.
58169         (Elf64_FuncDesc): Remove.
58171 2011-08-22  David S. Miller  <davem@davemloft.net>
58173         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58174         sigaltstack check, add missing cfi directives.
58175         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58176         missing cfi directives, and sigaltstack handling.
58178 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58180         [BZ #11724]
58181         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58182         object is seen twice.
58183         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58185         * elf/Makefile (distribute): Add tst-initorder2.c.
58186         (tests): Add tst-initorder2.
58187         (modules-names): Add tst-initorder2a tst-initorder2b
58188         tst-initorder2c tst-initorder2d.  Add rules to build them.
58189         ($(objpfx)tst-initorder2.out): New rule.
58190         * elf/tst-initorder2.c: New file.
58191         * elf/tst-initorder2.exp: New file.
58193 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58195         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58197         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58198         dependencies back to end of function.
58200         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58201         $(elfobjdir)/ld.so.
58203 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58205         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58206         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58207         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58208         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58209         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58210         of __vdso_gettimeofday.
58211         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58212         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58213         attribute_hidden.
58214         (_libc_vdso_platform_setup): Remove initialization of
58215         __vdso_gettimeofday and __vdso_time.
58217 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58219         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58220         and fgetc_unlocked.
58221         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58222         getc_unlocked.
58224         * elf/dl-open.c (add_to_global): Report additions to the global scope
58225         for LD_DEBUG=scopes.
58226         (dl_open_worker): Also print scope of newly loaded dependencies.
58227         (_dl_show_scope): Indicate if there is no scope.
58229         [BZ #13114]
58230         * stdio-common/Makefile (tests): Add bug24.
58231         * stdio-common/bug24.c: New file.
58233 2011-08-19  Andreas Jaeger  <aj@suse.de>
58235         [BZ #13114]
58236         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58237         non-existant file when using close-on-exec mode.
58239 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58241         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58242         the very first instruction.
58244         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58245         the CFI state in the end.
58246         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58247         inclusion of dl-trampoline.h.
58248         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58250 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58252         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58253         expectations for long double.
58255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58256         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58258 2011-08-14  David S. Miller  <davem@davemloft.net>
58260         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58261         artificual limit depends upon the system page size.
58263 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58265         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58266         * resolv/Makefile: Define CFLAGS-libresolv.
58268 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58270         * nss/makedb.c (compute_tables): Make variables used in nested
58271         function static.
58273 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58275         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58276         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58277         if buffer was too small.
58279         * elf/pldd.c (main): Attach to all threads in the process.
58280         Rewrite /proc handling to use *at functions.
58282 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58284         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58285         specifies first scope to show.
58286         (dl_open_worker): Update callers.  Move printing scope of new
58287         object to before the relocation.
58288         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58289         * sysdeps/generic/ldsodefs.h: Update declaration.
58291         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58292         string for the scope number.
58294 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58296         * nscd/servicescache.c (cache_addserv): Make sure written is always
58297         initialized.
58299 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58301         * sysdeps/i386/i486/bits/atomic.h
58302         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58303         statement expression, so as to suppress "set but not used" warning.
58304         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58306         * string/strncat.c (STRNCAT): Use prototype definition.
58308         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58309         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58310         -Iprograms here.
58311         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58312         (localedef-modules): Add localedef.
58313         (locale-modules): Add locale.
58315         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58316         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58317         to avoid a warning.
58319 2011-08-14  David S. Miller  <davem@davemloft.net>
58321         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58322         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58324 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58326         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58327         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58328         * elf/rtld.c (dl_main): Set l_name of vDSO.
58329         Call _dl_show_scope when DL_DEBUG_SCOPES.
58330         (process_dl_debug): Recognize scopes flag and also set it for all.
58331         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58332         Declare _dl_show_scope.
58334         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58335         (do_dlopen): Pass caller_dlopen to dl_open.
58336         (__libc_dlopen_mode): Initialize caller_dlopen.
58338         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58339         of libc.  Make tolower call locale-independent.  Optimize a bit by
58340         using isdigit instead of isalnum.
58341         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58343 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58345         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58346         was a dependency or dynamically loaded.
58348 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58350         * intl/l10nflist.c: Allow architecture-specific pop function.
58351         * sysdeps/x86_64/l10nflist.c: New file.
58353         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58354         classification.
58356 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58358         * include/dirent.h: Add libc_hidden_proto for scandirat and
58359         scandirat64.  Don't declare __scandirat64.
58360         * dirent/scandirat.c: Add libc_hidden_def.
58361         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58362         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58364 2011-08-10  David S. Miller  <davem@davemloft.net>
58366         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58367         enum.
58368         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58369         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58370         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58372 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58374         * Versions.def [libc]: Add GLIBC_2.15.
58375         * dirent/Makefile (routines): Add scandirat and scandirat64.
58376         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58377         GLIBC_2.15.
58378         * dirent/dirent.h: Declare scandirat and scandirat64.
58379         * dirent/scandirat.c: New file.
58380         * dirent/scandirat64.c: New file.
58381         * sysdeps/wordsize-64/scandirat.c: New file.
58382         * sysdeps/wordsize-64/scandirat64.c: New file.
58383         * dirent/opendir.c: Define opendirat.
58384         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58385         using scandirat.
58386         * dirent/scandir64.c: Adjust for scandir.c change.
58387         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58388         __scandirat64, and __scandir_cancel_handler.
58389         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58390         additional parameter and use openat instead of open (outside of ld.so).
58391         Add new __opendir as wrapper around __opendirat.
58392         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58393         here without requiring old scandirat implementation.
58395 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58397         * dirent/scandir.c (cancel_handler): Renamed to
58398         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58399         defined.  Adjust users.
58400         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58401         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58403 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58405         * string/test-string.h (IMPL): Use __STRING to expand name and then
58406         stringify it.
58408         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58409         of cleanups.
58411 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58413         * string/Makefile: Update.
58414         (strop-tests): Append strncat.
58415         * string/test-wcscmp.c: New file.
58416         New comprehensive test for wcscmp.
58417         * string/test-strcmp.c: Update.
58418         (WIDE): New define.
58420 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58422         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58423         line.
58425 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58427         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58428         encoding to ACE if AI_IDN.
58430 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58432         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58433         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58435 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58437         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58438         Fix overflow bug in strncat.
58439         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58441         * string/test-strncat.c: Update.
58442         Add new tests for checking overflow bugs.
58444 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58447         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58448         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58449         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58450         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58451         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58452         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58453         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58454         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58456         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58457         (USE_AS_STRCAT): Define.
58458         Add strcat and strncat support.
58459         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58461 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58463         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58464         __n bigger than INT_MAX+1.
58465         (__strncmp_g): Likewise.
58467 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58469         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58470         * libio/stido.h: Likewise.
58472         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58473         (AF_NFC): Define.
58474         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58475         (AF_NFC): Define.
58477         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58478         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58479         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58480         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58481         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58483         [BZ #13021]
58484         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58485         installed.
58487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58488         typo.
58489         (_dl_x86_64_save_sse): Likewise.
58491 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58494         OSXSAVE.
58495         (_dl_x86_64_save_sse): Likewise.
58497         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58499         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58501 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58503         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58504         change.
58505         (_dl_x86_64_save_sse): Use correct AVX check.
58507 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58509         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58510         bug in strncpy/strncat.
58511         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58513 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58515         * string/tester.c (test_strcat): Add tests for different alignments
58516         of source and destination.
58517         (test_strncat): Likewise.
58519 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58521         [BZ #12852]
58522         * posix/glob.c (glob): Check passed in values before using them in
58523         expressions to avoid some overflows.
58524         (glob_in_dir): Likewise.
58526         [BZ #13007]
58527         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58528         check for AVX enablement so that we don't crash with old kernels and
58529         new hardware.
58530         * elf/tst-audit4.c: Add same checks here.
58531         * elf/tst-audit6.c: Likewise.
58533         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58535 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58537         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58539 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58541         * po/cs.po: Update from translation team.
58542         * po/bg.po: Likewise.
58544 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58546         * misc/sys/cdefs.h: Add support for const attribute.
58547         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58548         to gnu_dev_{major,minor,makedev} functions.
58550 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58552         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58554 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58556         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58557         strlen results.
58559 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58561         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58562         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58563         register in order to avoid conflicts with the soft frame pointer
58564         being held in r11 when necessary.
58565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58566         (INTERNAL_VSYSCALL_NCS): Likewise.
58568 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58570         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58571         * elf/dl-fini.c (_dl_fini): Adjust caller.
58572         * elf/dl-close.c (_dl_close_worker): Likewise.
58573         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58575 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58577         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58578         "aux_cache->nlibs < 0".
58580         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58581         in the reload-count case.
58583 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58586         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58587         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58588         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58589         * sysdeps/x86_64/multiarch/strcat.S: New file.
58590         * sysdeps/x86_64/multiarch/strncat.S: New file.
58591         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58592         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58593         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58594         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58595         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58596         (USE_AS_STRCAT): Define.
58597         Add strcat and strncat support.
58598         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58599         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58600         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58601         * string/strncat.c: Update.
58602         (USE_AS_STRNCAT): Define.
58603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58604         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58605         and i7.
58606         * sysdeps/x86_64/multiarch/init-arch.h
58607         (bit_Prefer_PMINUB_for_stringop): New.
58608         (index_Prefer_PMINUB_for_stringop): Likewise.
58609         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58610         bit_Prefer_PMINUB_for_stringop.
58612 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58614         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58615         buffer64.
58616         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58617         of casting of buffer.
58618         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58619         buffer32 and buffer64.
58620         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58621         writes instead of casting of buffer.
58622         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58623         buffer32.
58624         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58625         casting of buffer.
58627 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58629         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58631 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58633         * nscd/nscd.c (termination_handler): Don't do anything for a database
58634         if it has not yet been initialized.
58636 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58638         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58640 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58642         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58644 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58646         * po/nl.po: Update from translation team.
58647         * po/sv.po: Likewise.
58649 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58651         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58652         now disallowed by GCC.
58654         * configure.in (use-default-link): Default to yes if a test -shared
58655         link meets our qualifications.
58656         * configure: Regenerated.
58658         * config.make.in (output-format): New variable.
58659         * configure.in: Check for ld --print-output-format support.
58660         * configure: Regenerated.
58661         * Makerules ($(common-objpfx)format.lds)
58662         [$(output-format) != unknown]: Just use $(output-format),
58663         instead of the linker-script munging.
58665 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58667         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58668         of $(common-objpfx)shlib.lds.
58669         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58671         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58672         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58674         * configure.in (-z relro check): Adjust test code to add a large
58675         writable data section after it.
58676         * configure: Regenerated.
58678 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58680         * configure.in (-z relro check): Fix test code to make the variable
58681         truly const.
58682         * configure: Regenerated.
58684 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58686         * nscd/nscd.h (struct traced_file): Define.
58687         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58688         elements.  Add traced_files.
58689         (inotify_fd): Declare.
58690         (register_traced_file): Declare.
58691         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58692         (inotify_fd): Export.
58693         (resolv_conf_descr): Remove.
58694         (nscd_init): Move inotify descriptor creation to main.
58695         Don't register files for notification here.
58696         (register_traced_file): New function.
58697         (invalidate_cache): Don't use reset_res to determine whether to call
58698         res_init, go through the list of registered files.
58699         (main_loop_poll): The inotify descriptors are now stored in the
58700         structures for the traced files.
58701         (main_loop_epoll): Likewise
58702         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58703         to __nss_disable_nscd.
58704         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58705         for a database anymore.  Check the records for all the registered
58706         files instead.
58707         * nss/Makefile (libnss_files-routines): Add files-init.
58708         (libnss_db-routines): Add db-init.
58709         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58710         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58711         * nss/nss_db/db-init.c: New file.
58712         * nss/nss_files/files-init.c: New file.
58713         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58714         __nss_lookup_function.
58715         (__nss_lookup_function): Call nss_load_library.
58716         (nss_load_all_libraries): New function.
58717         (__nss_disable_nscd): Take parameter with callback function for files
58718         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58719         used for the cached services.
58720         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58721         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58722         options for features to all the files in nscd.
58724         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58726 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58728         * csu/elf-init.c (__libc_csu_init): Comment typo.
58730 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58732         * po/pl.po: Update from translation team.
58733         * po/ja.po: Likewise.
58734         * po/ru.po: Likewise.
58735         * po/ko.po: Likewise.
58736         * po/fr.po: Likewise.
58738 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58740         * configure.in (.ctors/.dtors header and trailer check):
58741         Use an empirical test on a built program.
58742         * configure: Regenerated.
58744         * configure.in (-z relro check): Use an empirical test on a built DSO.
58745         Detect, but do not require, on ia64.
58746         * configure: Regenerated.
58748         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58749         Update tests that use readelf to use $READELF instead.
58750         * configure: Regenerated.
58752 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58754         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58755         if the result is not used.
58757 2011-07-05  Andreas Jaeger  <aj@suse.de>
58759         [BZ#9696]
58760         * stdlib/tst-strtod.c: Add testcase.
58762 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58764         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58765         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58766         The latter has a higher limit.  Take additional parameter to pass to
58767         the new function.
58768         (__pathconf): Pass file to __statfs_link_max.
58769         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58770         __statfs_link_max.
58771         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58772         __statfs_link_max.
58774         [BZ #12868]
58775         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58776         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58777         Handle Lustre.
58778         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58779         (__statfs_filesize_max): Likewise.
58780         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58782 2011-07-05  Andreas Jaeger  <aj@suse.de>
58784         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58786 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58788         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58789         `status' variable.
58790         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58791         Likewise.
58793 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58795         * Makefile (strop-tests): Add strncat.
58796         * string/test-strncat.c: New file.
58798 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58800         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58802 2011-06-21  Andreas Jaeger  <aj@suse.de>
58804         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58805         Copy rule from iconvdata/Makefile.
58807 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58809         [BZ #12922]
58810         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58811         but no long options are defined, just return 'W'.
58813 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58815         [BZ #9696]
58816         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58818 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58820         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58821         netgroups to read.
58822         (innetgr): Likewise.
58824 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58826         * config.make.in (install_root): Default to $(DESTDIR).
58828 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58830         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58832 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58834         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58836         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58837         containing directory rather than embedding absolute directory names.
58839         * scripts/check-local-headers.sh: Rewritten using awk.
58840         Match by word, not by line.  Print error messages for matches.
58841         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58843         * Makerules [shlib-lds-flags empty]:
58844         ($(common-objpfx)libc_pic.opts): New target.
58845         ($(common-objpfx)libc_pic.os.clean): New target.
58846         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58848         * config.make.in (OBJCOPY): New variable.
58849         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58850         * configure: Regenerated.
58852         * config.make.in (use-default-link): New variable.
58853         * configure.in (use_default_link): Grok --with-default-link to set it.
58854         * configure: Regenerated.
58855         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58856         (shlib-lds, shlib-lds-flags): Define to empty.
58858         * Makerules (shlib-lds): New variable.
58859         (shlib-lds-flags): New variable.
58860         (build-shlib, build-moduile, build-module-asneeded): Use it.
58861         ($(common-objpfx)libc.so): Use $(shlib-lds).
58862         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58863         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58865         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58866         DT_FLAGS/DT_FLAGS_1 with zero flags.
58868         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58869         linker script munging.
58871 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58873         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58874         as 128-bit value.
58875         * crypt/sha512.c (sha512_process_block): Perform total addition using
58876         128-bit if possible.
58877         (__sha512_finish_ctx): Likewise.
58878         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58879         as 64-bit value.
58880         * crypt/sha256.c (SWAP64): Define.
58881         (sha256_process_block): Perform total addition using 64-bit if
58882         possible.
58883         (__sha256_finish_ctx): Likewise.
58885 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58887         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58888         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58889         * nscd/hstcache.c (cache_addhst): Likewise.
58890         * nscd/grpcache.c (cache_addgr): Likewise.
58891         * nscd/aicache.c (addhstaiX): Likewise
58892         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58894 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58896         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58897         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58898         * nscd/hstcache.c (cache_addhst): Likewise.
58899         * nscd/grpcache.c (cache_addgr): Likewise.
58900         * nscd/aicache.c (addhstaiX): Likewise
58902 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58904         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58905         domain only when needed.
58907 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58910         is always restored.
58912 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58914         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58915         are re-adding the entry.
58916         * nscd/servicescache.c (cache_addserv): Likewise.
58918 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58920         * sysdeps/generic/dl-irel.h: fix protection against multiple
58921         inclusions.
58922         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58924 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58926         [BZ #12935]
58927         * malloc/memusage.sh: Fix quoting in message.
58928         * debug/xtrace.sh: Likewise.
58930         * configure.in: Remove support for --experimental-malloc option, make
58931         it the default.
58932         * config.make.in: Likewise.
58933         * malloc/Makefile: Likewise.
58935 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58937         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58938         two-byte characters.
58940 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58942         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58943         AC_CACHE_CHECK invocation.
58944         * configure: Regenerated.
58946         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58948 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58950         [BZ #12350]
58951         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58952         bit from old_res_options.
58954         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58956         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58957         value type for setfct.
58959 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58961         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58962         __gettimeofday instead of gettimeofday.
58964 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58966         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58968 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58970         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58972         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58973         info.
58975 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58978         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58979         strcpy-sse2-unaligned strncpy-sse2-unaligned
58980         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58981         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58982         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58983         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58984         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58985         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58986         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58987         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58988         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58989         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58990         (STRCPY): Support SSE2 and SSSE3 versions.
58992 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58994         [BZ #12874]
58995         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58996         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58997         kernels which artificially limit size of requests.
58999 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59001         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59002         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59003         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59004         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59005         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59006         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59007         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59008         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59009         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59010         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59011         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59012         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59013         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59014         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59015         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59017         Enable unaligned load optimization for Intel Core i3, i5 and i7
59018         processors.
59019         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59020         Define.
59021         (index_Fast_Unaligned_Load): Define.
59022         (HAS_FAST_UNALIGNED_LOAD): Define.
59024 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59026         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59028 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59030         [BZ #12907]
59031         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59032         until it is clear that the information is realy needed.
59033         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59035 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59039 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59041         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59042         /sys/devices/system/cpu/online if it is usable.
59044         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59045         reading the information from the /proc filesystem to once a second.
59047 2011-06-21  Andreas Jaeger  <aj@suse.de>
59049         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59050         NULL after inclusion of kernel headers.
59052 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59054         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59055         calls to internal_setent.
59057         [BZ #12885]
59058         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59059         addresses using gethostbyname4_r ignore IPv4 addresses.
59061         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59062         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59064         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59066 2011-06-20  David S. Miller  <davem@davemloft.net>
59068         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59069         inclusions.
59070         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59072         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59073         (elf_irel): Use it.
59074         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59075         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59076         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59077         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59078         * sysdeps/x86_64/dl-irel.h: Likewise.
59080         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59081         * elf/dl-sym.c: Likewise.
59083 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59085         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59086         need to dereference resplen2.
59088 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59090         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59092 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59094         * Makeconfig: Define vardbdir and inst_vardbdir.
59095         * nss/Makefile: Add rules to install db-Makefile.
59097         * nss/nss_db/db-XXX.c: Cleanup.
59099         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59100         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59101         GLIBC_PRIVATE.
59102         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59103         * nss/makedb.c: Implement -g option to specify that value strings
59104         are generated and should not be added to table iterated over for
59105         get*ent calls.
59106         * nss/nss_db/db-initgroups.c: New file.
59108         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59109         interface.
59111         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59112         (internal_getgrouplist): Adjust to name change.
59113         Update use_initgroups_entry if this is not the first call.
59114         * nss/databases.def: Add initgroups entry.
59116         * nss/makedb.c (compute_tables): Check result of multiple hash table
59117         sizes to minimize maximum chain length.
59119 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59121         * Versions.def: Add entry for libnss_db.
59122         * shlib-versions: Likewise.
59123         * nss/Makefile: Add rules to build libnss_db.
59124         * nss/Versions: Add libnss_db information.  Organize libnss_files
59125         entries better.
59126         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59127         makedb progra.  Some minor improvements to generate smaller files.
59128         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59129         here from...
59130         * nss/makedb.c: ...here.
59131         Improve database format to be smaller and require less memory at
59132         runtime.
59133         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59134         db anymore.
59135         * nss/nss_db/db-netgrp.c: Likewise.
59136         * nss/nss_db/db-open.c: Likewise.
59137         * nss/nss_files/flies-XXX.x: Adjust comments.
59138         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59139         * nss/nss_files/files-grp.c: Likewise.
59140         * nss/nss_files/files-hosts.c: Likewise.
59141         * nss/nss_files/files-network.c: Likewise.
59142         * nss/nss_files/files-proto.c: Likewise.
59143         * nss/nss_files/files-pwd.c: Likewise.
59144         * nss/nss_files/files-rpc.c: Likewise.
59145         * nss/nss_files/files-service.c: Likewise.
59146         * nss/nss_files/files-sgrp.c: Likewise.
59147         * nss/nss_files/files-spwd.c: Likewise.
59148         * nss/nss_db/db-alias.c: Removed.
59149         * nss/nss_db/dummy-db.h: Removed.
59151 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59153         * nss/makedb.c: Rewritten to not use database library.
59154         * nss/Makefile: Update to build new makedb program.
59156 2011-06-14  Andreas Jaeger  <aj@suse.de>
59158         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59159         memset declaration.
59161 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59164         tmpbuf.
59166 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59168         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59169         * elf/Makefile ($(objpfx)ld.so): Likewise.
59171         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59172         Don't list ld.so twice in dependencies.
59174         * posix/bug-regex31.c: Include <stdlib.h>.
59176         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59178         * nis/nss_compat/compat-spwd.c
59179         (getspent_next_nss_netgr): Remove unused variable.
59180         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59182         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59183         nonmembers" output to use the right array.
59185         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59187         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59189         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59190         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59191         * catgets/gencat.c (read_input_file): Likewise.
59192         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59194         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59195         variable definition inside #if's controlling its use.
59197         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59199         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59201         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59203         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59204         unreachable code.
59206         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59208         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59209         * configure: Regenerated.
59211         * Makerules: Revert last change.
59212         * elf/Makefile: Likewise.
59214 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59216         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59217         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59218         (reloc-link): Likewise.
59220 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59222         * elf/Makefile: Add rules to build pldd.
59223         * elf/pldd.c: New file.
59224         * elf/pldd-xx.c: New file.
59226 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59228         * version.h: Update for 2.15 development version.
59230 2011-06-07  David S. Miller  <davem@davemloft.net>
59232         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59233         ifuncs.
59234         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59235         elf_machine_lazy_rel): Likewise.
59236         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59237         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59238         elf_machine_lazy_rel): Likewise.
59239         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59240         dl_hwcap via passed in argument.
59241         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59242         Likewise.
59244 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59246         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59248 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59250         [BZ #12849]
59251         * manual/fdl-1.1.texi: New file, verbatim from:
59252         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59253         * manual/lgpl-2.1.texi: New file, verbatim from:
59254         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59255         * manual/Makefile (licenses): New variable, list those new file names.
59256         (texis): Use it.
59257         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59259         * manual/fdl.texi: File removed.
59260         * manual/lesser.texi: File removed.
59261         * manual/libc.texinfo (Copying, Documentation License):
59262         Use new @include file names, put @appendix directive before @include.
59264 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59266         [BZ #12841]
59267         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59268         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59269         (mq_open): Add __NTH.
59271 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59274         Assume Intel Core i3/i5/i7 processor if AVX is available.
59276 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59278         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59279         typo.
59281 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59283         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59284         memory.  Use alloca_account.  Fix memory leak when retrying.
59286 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59288         * version.h (RELEASE): Bump for 2.14 release.
59289         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59291         * config.make.in (RANLIB): Remove entry.
59293 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59295         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59296         (libc.pot): Work around missing support for .ksh extension in xgettext.
59298         [BZ #12684]
59299         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59300         if both request failed.
59301         (send_dg): In case of server errors clear resplen or *resplen2.
59303         [BZ #12454]
59304         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59305         when there are multiple maps.
59306         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59307         (_dl_fini): Remove test here.
59309         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59311 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59313         [BZ #12350]
59314         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59315         bit from old_res_options.
59316         (gaih_inet): Likewise.
59318         [BZ #11099]
59319         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59320         as signed.
59322         * resolv/res_init.c (res_setoptions): Make the code more compact.
59324         [BZ #11558]
59325         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59326         set RES_USEVC.
59328         [BZ #11634]
59329         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59331         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59333         [BZ #11781]
59334         * malloc/malloc.h: Declare malloc hook variables as volatile.
59336         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59337         in last patch.
59339         [BZ #11799]
59340         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59341         raise in the comment.
59342         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59343         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59344         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59346 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59348         [BZ #12811]
59349         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59350         grow the buffers more if it already has to be sufficient.
59351         (build_wcs_upper_buffer): Likewise.
59352         * posix/regexec.c (check_matching): Likewise.
59353         (clean_state_log_if_needed): Likewise.
59354         (extend_buffers): Don't enlarge buffers beyond size of the input
59355         buffer.
59356         Patches mostly by Emil Wojak <emil@wojak.eu>.
59357         * posix/bug-regex32.c: New file.
59358         * posix/Makefile (tests): Add bug-regex32.
59360         * locale/findlocale.c (_nl_find_locale): Return right away if
59361         _nl_explode_name failed.
59362         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59364         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59366         * debug/xtrace.sh: Unify messages.
59367         * malloc/memusage.sh: Likewise.
59369         [BZ #12813]
59370         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59371         time symbol from vDSO.  Substitute with vsyscall if not available.
59372         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59373         __vdso_time.
59375         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59376         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59377         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59378         Add sendmmsg and internal_sendmmsg.
59379         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59380         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59381         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59383         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59384         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59385         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59387 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59389         [BZ #12813]
59390         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59391         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59392         available.
59393         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59394         __vdso_getcpu.
59396         [BZ #12814]
59397         * iconvdata/Makefile (tests): Add bug-iconv9.
59398         * iconvdata/bug-iconv9.c: New file.
59400 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59402         [BZ #12814]
59403         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59405 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59407         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59408         (struct user_regs_struct): Change intcs field back to cs.
59410 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59412         * po/ja.po: Update from translation team.
59414 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59416         [BZ #12795]
59417         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59418         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59420 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59422         * stdlib/longlong.h: Update from GCC.
59424 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59426         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59427         parameter name.
59428         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59429         Add parameter name.
59430         (__sysconf): Pass it down.
59432 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59434         [BZ #12671]
59435         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59436         some situations.
59437         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59438         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59439         add in in __libc_use_alloca calls.  Adjust callers.
59440         (glob): Use malloc in some situations.
59442         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59443         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59444         pltexit.
59446 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59448         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59449         and CLOCK_BOOTTIME_ALARM.
59451         [BZ #12782]
59452         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59453         is returned.
59455         * string/_strerror.c (__strerror_r): Print negative errors as signed
59456         numbers.
59458         [BZ #12777]
59459         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59460         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59461         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59463         * configure.in: Fix typo in redirection and correct removal of test
59464         files in two cases.
59466         [BZ #12788]
59467         * locale/setlocale.c (new_composite_name): Fix test to check for
59468         identical name of all categories.
59470         [BZ #12792]
59471         * libio/filedoalloc.c (local_isatty): New function.
59472         (_IO_file_doallocate): Use local_isatty.
59473         * stdio-common/perror.c (perror): In case a new stream is used
59474         forward the stream error.
59475         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59476         error flag.
59478 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59480         [BZ #11869]
59481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59482         alloca.
59483         * include/alloca.h (extend_alloca_account): Define.
59485         [BZ #11857]
59486         * posix/regex.h: Fix comments with documentation of user-accessible
59487         fields after compilation and describe correct free'ing of pattern
59488         after re_compile_pattern.
59489         Patch by Reuben Thomas <rrt@sc3d.org>.
59491 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59493         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59494         and -mno-altivec to prevent the compiler from using Altivec and/or
59495         VSX instructions when the corresponding registers are not available.
59497 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59499         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59501 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59503         * libio/freopen.c (freopen): Use __dup2, not dup2.
59504         * libio/freopen64.c (freopen64): Likewise.
59506 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59508         [BZ #12775]
59509         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59510         * math/Makefile (tests): Add test-powl.
59511         (CFLAGS-test-powl.c): Define.
59512         * math/test-powl.c: New file.
59514 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59516         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59518 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59520         [BZ #11837]
59521         * iconvdata/gb18030.c: Update to GB18020-2005.
59523 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59525         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59526         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59527         Patch by Aharon Robbins <arnold@skeeve.com>.
59529         [BZ #11892]
59530         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59531         on the stack.
59533         [BZ #11895]
59534         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59535         through underflows.
59537         [BZ #12766]
59538         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59539         point to strings before performing equality test for error_one_per_line
59540         mode.
59542         [BZ #11697]
59543         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59545         [BZ #11820]
59546         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59547         (struct user_fpregs_struct): Avoid __uint*_t types.
59549         [BZ #6420]
59550         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59551         symbol info.  Use it instead of calling _dl_addr locally.
59552         (lock_and_info): New function.
59553         (tr_freehook): Call lock_and_info and pass symbol info as additional
59554         parameter to tr_where.
59555         (tr_mallochook): Likewise.
59556         (tr_reallochook): Likewise.
59557         (tr_memalignhook): Likewise.
59559         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59560         used and couldn't be at all thread-safe.
59562 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59564         * libio/freopen.c (freopen): Don't close old file descriptor
59565         before the new one is opened.  Instead dup the new file descriptor
59566         to the old one after the new stream is created.
59567         * libio/freopen64.c (freopen64): Likewise.
59568         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59569         * libio/fileops.c (_IO_new_file_close_it): Handle new
59570         _IO_FLAGS2_NOCLOSE flag.
59571         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59572         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59573         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59574         _IO_FLAGS2_NOCLOSE flag.
59575         * include/unistd.h: Add hidden_proto for dup3.
59576         Define __have_dup3.
59577         * io/dup3.c: Define hidden symbol.
59578         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59580         [BZ #7101]
59581         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59582         when an incomplete long option is used.
59583         * posix/tst-getopt_long1.c: New file.
59584         * posix/Makefile (tests): Add tst-getopt_long1.
59586         [BZ #10138]
59587         * scripts/config.guess: Update from autoconf-2.68.
59588         * scripts/config.sub: Likewise.
59590         [BZ #10157]
59591         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59592         tests into ...
59593         (has_cpuclock): ...this.  New function.
59594         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59595         macro here based on has_cpuclock code.
59597         [BZ #10149]
59598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59599         First byte (not low byte) is now always NUL.
59600         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59603         Use non-cancelable interfaces.
59605         [BZ #9809]
59606         * locale/iso-639.def: Add entry for Sorani.
59608         [BZ #11901]
59609         * include/stdlib.h: Move include protection to the right place.
59610         Define abort_msg_s.  Declare __abort_msg with it.
59611         * stdlib/abort.c (__abort_msg): Adjust type.
59612         * assert/assert.c (__assert_fail_base): New function.  Majority
59613         of code from __assert_fail.  Allocate memory for __abort_msg with
59614         mmap.
59615         (__assert_fail): Now call __assert_fail_base.
59616         * assert/assert-perr.c: Remove bulk of implementation.  Use
59617         __assert_fail_base.
59618         * include/assert.hL Declare __assert_fail_base.
59619         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59620         mmap.
59621         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59623 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59625         [BZ #11952]
59626         [BZ #12453]
59627         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59628         until all modules are registered in the DTV.
59629         * elf/Makefile: Add rules to build and run tst-tls19.
59630         * elf/tst-tls19.c: New file.
59631         * elf/tst-tls19mod1.c: New file.
59632         * elf/tst-tls19mod2.c: New file.
59633         * elf/tst-tls19mod3.c: New file.
59634         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59636         [BZ #12083]
59637         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59638         correctly.
59640         [BZ #12601]
59641         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59642         two-byte sequence errors.
59643         * iconvdata/Makefile (tests): Add bug-iconv8.
59644         * iconvdata/bug-iconv8.c: New file.
59646         [BZ #12626]
59647         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59648         buf2 definition.
59650         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59652         [BZ #12432]
59653         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59654         (dummy_getcfa): New function.
59655         (init): Get _Unwind_GetCFA address, use dummy if not found.
59656         (backtrace_helper): In recursion check, also check whether CFA changes.
59657         (__backtrace): Completely initialize arg.
59659         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59660         storing incomplete byte sequence in state object.  Avoid testing for
59661         guaranteed too small input if we know there is enough data available.
59663 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59665         * Makeconfig (+link-pie): Indent.
59666         * Rules (binaries-pie): Define if $(have-fpie) and
59667         $(build-shared).
59668         (binaries-shared): Also filter out $(binaries-pie).
59669         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59670         * nscd/Makefile (others-pie): Add nscd.
59671         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59672         ($(objpfx)nscd): Remove command override.
59673         * login/Makefile (others-pie): Add pt_chown.
59674         ($(objpfx)pt_chown): Remove command override.
59675         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59676         remove command overrides.
59678 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59680         * libio/tst_putwc.c: Fix error messages.
59682         [BZ #12724]
59683         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59684         currently writing and seek to current position when not.
59685         * libio/Makefile (tests): Add bug-fclose1.
59686         * libio/bug-fclose1.c: New file.
59688 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59690         [BZ #12511]
59691         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59692         don't set DF_1_NODELETE here.
59693         (do_lookup_x): When entering new entry test for copy relocation
59694         and if necessary set DF_1_NODELETE flag.
59695         * elf/tst-unique4.cc: New file.
59696         * elf/tst-unique4.h: New file.
59697         * elf/tst-unique4lib.cc: New file.
59698         * elf/Makefile: Add rules to build and run tst-unique4.
59699         Patch by Piotr Bury <pbury@goahead.com>.
59701 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59703         [BZ #12052]
59704         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59706         [BZ #12625]
59707         * misc/mntent_r.c (addmntent): Flush the stream after the output
59709         [BZ #12393]
59710         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59711         (is_trusted_path_normalize): Skip initial colon.  Append slash
59712         to empty buffer.  Duplicate is_trusted_path code but allow
59713         constructed patch to be prefix.
59714         (is_dst): Allow $ORIGIN followed by /.
59715         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59716         Correct testing of result of is_trusted_path_normalize
59717         (decompose_rpath): Fix warning.
59719 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59721         [BZ #11257]
59722         * grp/initgroups.c (internal_getgrouplist): When we found the service
59723         list through the initgroups entry in nsswitch.conf do not always
59724         continue on a successful lookup.  Don't always use the
59725         __nss_group_database value if it is set.
59726         * nss/nsswitch.conf (initgroups): Change action for successful db
59727         lookup to continue for compatibility.
59729 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59731         [BZ #11532]
59732         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59733         and CP774 modules.
59734         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59735         and CP774 modules.
59736         * iconvdata/tst-tables.sh: Likewise.
59737         * iconvdata/cp770.c: New file.
59738         * iconvdata/cp771.c: New file.
59739         * iconvdata/cp772.c: New file.
59740         * iconvdata/cp773.c: New file.
59741         * iconvdata/cp774.c: New file.
59742         * iconvdata/testdata/CP770: New file.
59743         * iconvdata/testdata/CP770..UTF8: New file.
59744         * iconvdata/testdata/CP771: New file.
59745         * iconvdata/testdata/CP771..UTF8: New file.
59746         * iconvdata/testdata/CP772: New file.
59747         * iconvdata/testdata/CP772..UTF8: New file.
59748         * iconvdata/testdata/CP773: New file.
59749         * iconvdata/testdata/CP773..UTF8: New file.
59750         * iconvdata/testdata/CP774: New file.
59751         * iconvdata/testdata/CP774..UTF8: New file.
59753         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59754         END CHARMAP line.
59755         * iconvdata/gen-8bit-gap.sh: Likewise.
59756         * iconvdata/gen-8bit.sh: Likewise.
59758         * locale/iso-639.def: Add ary entry.
59760         [BZ #11258]
59761         * locale/C-translit.h.in: Add U20A1 transliteration.
59763         [BZ #12178]
59764         * locale/iso-639.def: Add wae entry.
59765         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59767         [BZ #12545]
59768         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59769         for n.
59771         [BZ #12711]
59772         * locale/C-translit.h.in: Add entry for U20B9.
59773         Patch by pravin.d.s@gmail.com.
59775 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59777         [BZ #12713]
59778         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59779         ENAMETOOLONG use generic getcwd.
59780         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59781         in rtld.  Use *stat64.
59782         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59783         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59784         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59785         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59786         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59787         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59788         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59789         __fstatat64 macros.
59790         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59791         * dirent/rewinddir.c: Add libc_hidden_def.
59792         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59793         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59795         * include/dirent.h (__alloc_dir): Add flags parameter.
59796         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59797         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59798         __alloc_dir.
59799         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59800         from fdopendir if O_CLOEXEC is already set.
59802 2011-03-15  Alan Modra  <amodra@gmail.com>
59804         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59805         l_tls_firstbyte_offset non-zero.  Save padding offset in
59806         l_tls_firstbyte_offset for later use.
59807         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59808         freeing static tls block.
59810 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59812         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59813         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59814         being defined by the kernel headers.
59816 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59818         [BZ #12734]
59819         * resolv/resolv.h: Define RES_NOTLDQUERY.
59820         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59821         no-tld-query and set RES_NOTLDQUERY.
59822         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59823         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59824         modern BIND to search name as TLD unless forbidden.
59826 2011-05-07  Petr Baudis  <pasky@suse.cz>
59827             Ulrich Drepper  <drepper@gmail.com>
59829         [BZ #12393]
59830         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59831         (is_trusted_path): ...to here.
59832         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59833         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59834         using is_trusted_path_normalize() in setuid scripts.
59836 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59838         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59839         __BEGIN/__END_DECLS.
59841 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59843         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59844         NSS_STATUS_NOTFOUND if no record was found.
59846 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59848         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59849         (headers-not-in-tirpc): Remove rpc/netdb.h
59850         * resolv/netdb.h: Revert last change.
59852 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59854         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59855         circular dependency between libgcc.a and libc.a.
59857 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59859         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59860         * nis/Makefile: Don't install rpcsvc/*.
59861         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59862         instead of <rpc/types.h>.
59863         (MAXHOSTNAMELEN): Define.
59865 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59867         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59869 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59871         [BZ #12714]
59872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59873         gethostbyname4_r when IPv6 results are possible.
59875 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59877         [BZ #12723]
59878         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59879         _PC_PIPE_BUF handling.
59881 2011-04-30  Bruno Haible  <bruno@clisp.org>
59883         [BZ #12717]
59884         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59885         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59886         to 'int'.
59887         * inet/getnameinfo.c (getnameinfo): Likewise.
59889 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59891         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59892         to groups setting in database lookup.
59893         * nss/nsswitch.conf: Add initgroups entry.
59895 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59897         [BZ #12685]
59898         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59899         mode string.
59900         Patch by Eric Blake <eblake@redhat.com>.
59902 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59904         * sunrpc/Makefile (need-export-routines): Add svc_run.
59905         (routines): Remove svc_run.
59906         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59907         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59908         * sunrpc/svc_run.c (svc_run): Likewise.
59909         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59911 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59913         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59914         problem in reallocation in last patch.
59916 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59918         * sunrpc/Makefile: Move inclusion of Rules.
59920 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59922         * nss/nss_files/files-initgroups.c: New file.
59923         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59924         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59925         _nss_files_initgroups_dyn.
59927 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59929         * elf/elf.h (R_ARM_IRELATIVE): Define.
59931 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59933         * po/ru.po: Update from translation team.
59935 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59937         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59938         dependencies.
59940 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59942         [BZ #12653]
59943         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59944         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59945         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59946         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59947         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59949 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59951         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59952         differing bytes.
59953         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59954         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59955         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59957 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59959         [BZ #12420]
59960         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59961         storing it.
59962         * stdlib/bug-getcontext.c: New file.
59963         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59965 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59967         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59968         instructions into .machine "z9-109".
59969         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59970         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59972 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59974         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59975         between environment variables and auxiliary vector.
59977 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59979         * Makefile: Add rules to build linkobj/libc.so.
59980         * include/libc-symbols.h: Define libc_hidden_nolink.
59981         * include/rpc/auth.h: Mark functions which are to be hidden.
59982         * include/rpc/auth_des.h: Likewise.
59983         * include/rpc/auth_unix.h: Likewise.
59984         * include/rpc/clnt.h: Likewise.
59985         * include/rpc/des_crypt.h: Likewise.
59986         * include/rpc/key_prot.h: Likewise.
59987         * include/rpc/pmap_clnt.h: Likewise.
59988         * include/rpc/pmap_prot.h: Likewise.
59989         * include/rpc/pmap_rmt.h: Likewise.
59990         * include/rpc/rpc_msg.h: Likewise.
59991         * include/rpc/svc.h: Likewise.
59992         * include/rpc/svc_auth.h: Likewise.
59993         * include/rpc/xdr.h: Likewise.
59994         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59995         * nss/Makefile: Likewise.
59996         * sunrpc/Makefile: Don't install headers.  Build library with normal
59997         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59998         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59999         for the compat linking library.  Remove use of INTDEF/INTUSE.
60000         * sunrpc/auth_none.c: Likewise.
60001         * sunrpc/auth_unix.c: Likewise.
60002         * sunrpc/authdes_prot.c: Likewise.
60003         * sunrpc/authuxprot.c: Likewise.
60004         * sunrpc/clnt_gen.c: Likewise.
60005         * sunrpc/clnt_perr.c: Likewise.
60006         * sunrpc/clnt_raw.c: Likewise.
60007         * sunrpc/clnt_simp.c: Likewise.
60008         * sunrpc/clnt_tcp.c: Likewise.
60009         * sunrpc/clnt_udp.c: Likewise.
60010         * sunrpc/clnt_unix.c: Likewise.
60011         * sunrpc/des_crypt.c: Likewise.
60012         * sunrpc/des_soft.c: Likewise.
60013         * sunrpc/get_myaddr.c: Likewise.
60014         * sunrpc/key_call.c: Likewise.
60015         * sunrpc/key_prot.c: Likewise.
60016         * sunrpc/netname.c: Likewise.
60017         * sunrpc/pm_getmaps.c: Likewise.
60018         * sunrpc/pm_getport.c: Likewise.
60019         * sunrpc/pmap_clnt.c: Likewise.
60020         * sunrpc/pmap_prot.c: Likewise.
60021         * sunrpc/pmap_prot2.c: Likewise.
60022         * sunrpc/pmap_rmt.c: Likewise.
60023         * sunrpc/publickey.c: Likewise.
60024         * sunrpc/rpc_cmsg.c: Likewise.
60025         * sunrpc/rpc_common.c: Likewise.
60026         * sunrpc/rpc_dtable.c: Likewise.
60027         * sunrpc/rpc_prot.c: Likewise.
60028         * sunrpc/rpc_thread.c: Likewise.
60029         * sunrpc/rtime.c: Likewise.
60030         * sunrpc/svc.c: Likewise.
60031         * sunrpc/svc_auth.c: Likewise.
60032         * sunrpc/svc_authux.c: Likewise.
60033         * sunrpc/svc_raw.c: Likewise.
60034         * sunrpc/svc_run.c: Likewise.
60035         * sunrpc/svc_simple.c: Likewise.
60036         * sunrpc/svc_tcp.c: Likewise.
60037         * sunrpc/svc_udp.c: Likewise.
60038         * sunrpc/svc_unix.c: Likewise.
60039         * sunrpc/svcauth_des.c: Likewise.
60040         * sunrpc/xcrypt.c: Likewise.
60041         * sunrpc/xdr.c: Likewise.
60042         * sunrpc/xdr_array.c: Likewise.
60043         * sunrpc/xdr_float.c: Likewise.
60044         * sunrpc/xdr_intXX_t.c: Likewise.
60045         * sunrpc/xdr_mem.c: Likewise.
60046         * sunrpc/xdr_rec.c: Likewise.
60047         * sunrpc/xdr_ref.c: Likewise.
60048         * sunrpc/xdr_sizeof.c: Likewise.
60049         * sunrpc/xdr_stdio.c: Likewise.
60051 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60053         [BZ #12650]
60054         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60055         * sysdeps/ia64/dl-tls.h: Likewise.
60056         * sysdeps/powerpc/dl-tls.h: Likewise.
60057         * sysdeps/s390/dl-tls.h: Likewise.
60058         * sysdeps/sh/dl-tls.h: Likewise.
60059         * sysdeps/sparc/dl-tls.h: Likewise.
60060         * sysdeps/x86_64/dl-tls.h: Likewise.
60061         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60063 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60065         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60066         rpath element also skip the following colon.
60067         (expand_dynamic_string_token): Add is_path parameter and pass
60068         down to DL_DST_REQUIRED and _dl_dst_substitute.
60069         (decompose_rpath): Call expand_dynamic_string_token with
60070         non-zero is_path.  Ignore empty rpaths.
60071         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60072         with zero is_path.
60074 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60077         Make cancelable.
60079 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60081         [BZ #12655]
60082         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60083         Patch by Filipe David Manana <fdmanana@apache.org>.
60085 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60087         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60088         Maintain aligned stack.
60089         (CHECK_RSP): Remove unused macro.
60091 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60093         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60094         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60096 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60098         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60100         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60102 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60104         [BZ #12518]
60105         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60106         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60107         * sysdeps/x86_64/memmove.c: New file.
60108         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60109         (memcpy): Renamed to ...
60110         (__new_memcpy): This.
60111         (memcpy): Provide GLIBC_2_14 memcpy.
60112         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60113         (memcpy): Provide GLIBC_2_2_5 memcpy.
60115 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60117         [BZ #12631]
60118         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60120 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60122         * misc/syncfs.c: New file.
60123         * misc/Makefile (routines): Add syncfs.
60124         * posix/unistd.h: Declare syncfs.
60125         * sysdeps/unix/syscalls.list: Add syncfs.
60127 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60129         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60130         open_by_handle_at.
60131         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60132         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60133         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60134         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60136         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60137         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60139 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60141         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60142         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60143         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60144         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60145         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60147         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60149         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60150         sync_file_range.c with -fexceptions.
60151         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60152         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60153         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60154         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60155         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60156         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60157         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60158         sync_file_range as cancellation point
60159         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60160         now a wrapper around __call_sync_file_range with cancellation handling.
60161         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60162         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60163         function name to __call_sync_file_range.
60164         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60165         Add call_sync_file_range.
60167 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60170         bits/timex.h.
60172 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60174         * iconv/iconv.h: Fix typo in comment.
60175         * io/fcntl.h: Likewise.
60176         * libio/stdio.h: Likewise.
60177         * posix/spawn.h: Likewise.
60178         * posix/unistd.h: Likewise.
60179         * stdlib/stdlib.h: Likewise.
60180         * time/time.h: Likewise.
60181         * wcsmbs/wchar.h: Likewise.
60183         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60184         open_by_handle): Add.
60185         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60186         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60187         Augment a few comments.
60188         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60189         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60190         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60192         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60193         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60194         open_by_handle.
60196         * io/fcntl.h (AT_EMPTY_PATH): Define.
60198 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60200         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60201         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60202         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60203         to...
60204         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60205         * Versions.def: Add GLIBC_2.14.
60206         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60207         Export.
60209 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60211         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60212         round counter.
60213         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60215 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60217         [BZ #12597]
60218         * string/test-strncmp.c (do_page_test): New function.
60219         (check2): Likewise.
60220         (test_main): Call check2.
60221         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60223 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60225         [BZ #12587]
60226         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60227         Handle cache information in CPU leaf 4.
60228         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60230 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60232         [BZ #12583]
60233         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60234         character representation.
60235         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60237 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60239         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60240         END(__isnan) to END(__isnanf) to match function entry point/label
60241         EALIGN(__isnanf,...).
60243 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60245         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60247 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60249         [BZ #12510]
60250         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60251         copy from the symbol referenced in the relocation to initialize the
60252         used variable.
60253         Patch by Piotr Bury <pbury@goahead.com>.
60254         * elf/Makefile: Add rules to build and tst-unique3.
60255         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60256         * elf/tst-unique3.cc: New file.
60257         * elf/tst-unique3.h: New file.
60258         * elf/tst-unique3lib.cc: New file.
60259         * elf/tst-unique3lib2.cc: New file.
60261         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60263 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60265         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60266         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60267         to _start.
60269 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60271         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60272         to-be-loaded object along a path to loader is ld.so.
60274 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60275             Ulrich Drepper  <drepper@gmail.com>
60277         * sysdeps/x86_64/memset.S: After aligning destination, code
60278         branches to different locations depending on the value of
60279         misalignment, when multiarch is enabled. Fix this.
60281 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60283         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60284         Set _x86_64_preferred_memory_instruction for AMD processsors.
60285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60286         Set bit_Prefer_SSE_for_memop for AMD processors.
60288 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60290         * libio/fmemopen.c (fmemopen): Optimize a bit.
60292 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60294         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60296 2011-03-03  Roland McGrath  <roland@redhat.com>
60298         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60300 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60302         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60303         __bzero_ultra1 instead of __memset_ultra1.
60305 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60306             Ulrich Drepper  <drepper@gmail.com>
60308         [BZ #12509]
60309         * include/link.h (struct link_map): Add l_orig_initfini.
60310         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60311         returning unsuccessfully.
60312         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60313         close of a file loaded at startup, restore the original l_initfini
60314         list.
60315         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60316         list, store the pointer.
60317         * elf/Makefile ($(objpfx)noload-mem): New rule.
60318         (noload-ENV): Define.
60319         (tests): Add $(objpfx)noload-mem.
60320         * elf/noload.c: Include <memcheck.h>.
60321         (main): Call mtrace.  Close all opened handles.
60323 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60325         [BZ #12454]
60326         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60327         dependencies are missing.
60329 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60331         Fix __if_freereq crash: Unlike the generic version which uses free,
60332         Hurd needs munmap.
60333         * sysdeps/mach/hurd/ifreq.h: New file.
60335 2011-01-27  Petr Baudis  <pasky@suse.cz>
60336             Ulrich Drepper  <drepper@gmail.com>
60338         [BZ 12445]#
60339         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60340         to extend_alloca().
60341         * stdio-common/bug23.c: New file.
60342         * stdio-common/Makefile (tests): Add bug23.
60344 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60345             Ulrich Drepper  <drepper@gmail.com>
60347         [BZ #12489]
60348         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60349         before performing relro protection.  At old place add assertion
60350         to make sure nothing changed.
60352 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60353             Glauber de Oliveira Costa  <glommer@gmail.com>
60355         * elf/elf.h: Add new ARM TLS relocs.
60357 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60360         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60361         cast from r3.
60362         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60363         'tests' variable.
60364         * sysdeps/wordsize-64/tst-writev.c: New file.
60366 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60368         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60369         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60370         insns in _dl_start to prevent a TOC reference before relocs are
60371         resolved.
60373 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60375         [BZ #12469]
60376         * Makeconfig: Remove RANLIB definition.
60377         * Makerules: Don't use RANLIB.
60378         * aclocal.m4: Remove ranlib test.
60379         * configure.in: No need to check for ranlib.
60380         * elf/rtld-Rules: Don't use RANLIB.
60382 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60384         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60385         protection macro.
60386         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60387         inclusion protection macro.
60389         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60390         SIGRTMIN and SIGRTMAX and print information in that case only when
60391         SIGRTMIN is defined.
60393 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60395         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60396         arginfo fn returning -1.
60398         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60399         and thousands string is zero terminated.
60401 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60403         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60404         sysdeps/unix/sysv/linux/bits/socket.h.
60406 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60408         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60409         (__CPU_COUNT): Remove old macros.
60410         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60411         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60412         (__CPU_ALLOC, __CPU_FREE): Add macros.
60413         (__sched_cpualloc, __sched_cpufree): Add declarations.
60415 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60417         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60418         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60419         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60420         (readdhstai): Return value of addhstaiX call.
60421         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60422         (addgrbyX): Return value returned by cache_addgr.
60423         (readdgrbyname): Return value returned by addgrbyX.
60424         (readdgrbygid): Likewise.
60425         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60426         (addpwbyX): Return value returned by cache_addpw.
60427         (readdpwbyname): Return value returned by addhstbyX.
60428         (readdpwbyuid): Likewise.
60429         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60430         (addservbyX): Return value returned by cache_addserv.
60431         (readdservbyname): Return value returned by addservbyX:
60432         (readdservbyport): Likewise.
60433         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60434         (addhstbyX): Return value returned by cache_addhst.
60435         (readdhstbyname): Return value returned by addhstbyX.
60436         (readdhstbyaddr): Likewise.
60437         (readdhstbynamev6): Likewise.
60438         (readdhstbyaddrv6): Likewise.
60439         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60440         (readdinitgroups): Return value returned by addinitgroupsX.
60441         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60442         (prune_cache): Keep track of timeout value of re-added entries.
60443         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60444         * nscd/nscd.h: Adjust prototypes of readd* functions.
60446 2011-02-04  Roland McGrath  <roland@redhat.com>
60448         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60449         (nis_stats): Likewise.
60450         * nis/nis_modify.c (nis_modify): Likewise.
60451         * nis/nis_remove.c (nis_remove): Likewise.
60452         * nis/nis_add.c (nis_add): Likewise.
60454         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60456         * posix/fnmatch_loop.c: Add some consts.
60458         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60460 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60462         [BZ #12460]
60463         * config.make.in (config-cflags-novzeroupper): Define.
60464         * configure.in: Substitute libc_cv_cc_novzeroupper.
60465         * elf/Makefile (AVX-CFLAGS): Define.
60466         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60467         (CFLAGS-tst-auditmod4a.c): Likewise.
60468         (CFLAGS-tst-auditmod4b.c): Likewise.
60469         (CFLAGS-tst-auditmod6b.c): Likewise.
60470         (CFLAGS-tst-auditmod6c.c): Likewise.
60471         (CFLAGS-tst-auditmod7b.c): Likewise.
60472         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60474 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60476         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60477         function to the callback.
60478         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60480 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60482         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60483         of errno.
60485 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60487         [BZ #11724]
60488         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60489         of constructors.
60490         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60491         of destructors.
60492         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60494         [BZ #11724]
60495         * elf/Makefile: Add rules to build and run new test.
60496         * elf/tst-initorder.c: New file.
60497         * elf/tst-initorder.exp: New file.
60498         * elf/tst-initordera1.c: New file.
60499         * elf/tst-initordera2.c: New file.
60500         * elf/tst-initordera3.c: New file.
60501         * elf/tst-initordera4.c: New file.
60502         * elf/tst-initorderb1.c: New file.
60503         * elf/tst-initorderb2.c: New file.
60504         * elf/tst-order-a1.c: New file.
60505         * elf/tst-order-a2.c: New file.
60506         * elf/tst-order-a3.c: New file.
60507         * elf/tst-order-a4.c: New file.
60508         * elf/tst-order-b1.c: New file.
60509         * elf/tst-order-b2.c: New file.
60510         * elf/tst-order-main.c: New file.
60511         New test case by George Gensure <werkt0@gmail.com>.
60513 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60516         decoding ACE if AI_CANONIDN.
60518 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60520         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60522 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60524         * version.h (RELEASE): Bump for 2.13 release.
60525         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60527         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60529         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60530         MADV_NOHUGEPAGE.
60531         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60532         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60533         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60534         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60535         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60536         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60538         * posix/getconf.c: Update copyright year.
60539         * catgets/gencat.c: Likewise.
60540         * csu/version.c: Likewise.
60541         * debug/catchsegv.sh: Likewise.
60542         * debug/xtrace.sh: Likewise.
60543         * elf/ldconfig.c: Likewise.
60544         * elf/ldd.bash.in: Likewise.
60545         * elf/sprof.c (print_version): Likewise.
60546         * iconv/iconv_prog.c: Likewise.
60547         * iconv/iconvconfig.c: Likewise.
60548         * locale/programs/locale.c: Likewise.
60549         * locale/programs/localedef.c: Likewise.
60550         * malloc/memusage.sh: Likewise.
60551         * malloc/mtrace.pl: Likewise.
60552         * nscd/nscd.c (print_version): Likewise.
60553         * nss/getent.c: Likewise.
60555         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60556         PF_CAIF, and PF_ALG.
60557         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60559 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60561         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60562         (modules-names): Use them.
60563         (ifunc-test-modules, ifunc-pie-tests): Define.
60564         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60565         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60566         (test-extras): Likewise.
60567         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60568         $(compile-command.c).
60569         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60570         (all-built-dso): Define.
60571         (check-textrel.out, check-execstack.out): Depend on it.
60573         * configure.in: Don't override --enable-multi-arch.
60575 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60577         [BZ #6812]
60578         * nscd/hstcache.c (tryagain): Define.
60579         (cache_addhst): Return tryagain not notfound for temporary errors.
60580         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60581         failed.
60583 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60585         [BZ #10563]
60586         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60587         to make the syscall.
60588         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60590         [BZ #12378]
60591         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60592         and fall back to matching as normal character if the string ends before
60593         the matching ']' is found.  This is what POSIX requires.
60594         * posix/testfnm.c: Adjust test result.
60595         * posix/globtest.sh: Adjust test result.  Add new test.
60596         * posix/tst-fnmatch.input: Likewise.
60597         * posix/tst-fnmatch2.c: Add new test.
60599 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60601         * elf/Makefile (check-execstack): Revert last change.  Depend on
60602         check-execstack.h.
60603         (check-execstack.h): New target.
60604         (generated): Add check-execstack.h.
60605         * elf/check-execstack.c: Include "check-execstack.h".
60606         (main): Revert last change.
60607         (handle_file): Return zero if GNU_STACK is absent and
60608         DEFAULT_STACK_PERMS doesn't include PF_X.
60610 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60612         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60613         in child fails because the descriptor is already closed.
60614         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60615         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60616         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60618         [BZ #12397]
60619         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60620         syscall.
60622         [BZ #10484]
60623         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60624         temporary buffer used to handle multi lookups locally.
60625         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60627 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60629         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60630         loader is ld.so.
60632 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60634         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60635         alignment for SSE2.
60637 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60639         [BZ #12394]
60640         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60641         characters.  When rounding increased number of integer digits recompute
60642         number of groups.
60643         * stdio-common/tst-grouping.c: New file.
60644         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60646 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60648         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60649         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60651         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60652         void.
60653         * bits/select.h: Likewise.
60655 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60657         * po/ja.po: Update from translation team.
60659 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60661         [BZ #11155]
60662         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60663         implementation just like for lxstat, fxstatat, et al.
60665 2010-12-27  Jim Meyering  <meyering@redhat.com>
60667         [BZ #12348]
60668         * posix/regexec.c (build_trtable): Return failure indication upon
60669         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60671 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60673         [BZ #12201]
60674         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60675         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60676         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60677         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60679         [BZ #12207]
60680         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60682         [BZ #12204]
60683         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60684         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60686 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60688         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60689         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60690         script has SORT_BY_INIT_PRIORITY.
60691         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60692         NO_CTORS_DTORS_SECTIONS is defined.
60693         * elf/soinit.c: Likewise.
60694         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60695         NO_CTORS_DTORS_SECTIONS is defined.
60696         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60697         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60698         * sysdeps/sh/init-first.c: Likewise.
60699         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60701 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60703         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60704         always use the slow path.
60706 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60708         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60709         similar rule which adds the sysdep directories to the header search in
60710         order to pick up the correct platform stackinfo.h.
60711         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60712         perform test if it is, otherwise return successfully without testing.
60713         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60714         DEFAULT_STACK_PERMS define in stackinfo.h.
60715         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60716         defined in stackinfo.h.
60717         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60718         DEFAULT_STACK_PERMS defined in stackinfo.h.
60719         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60720         * sysdeps/ia64/stackinfo.h: Likewise.
60721         * sysdeps/s390/stackinfo.h: Likewise.
60722         * sysdeps/sh/stackinfo.h: Likewise.
60723         * sysdeps/sparc/stackinfo.h: Likewise.
60724         * sysdeps/x86_64/stackinfo.h: Likewise.
60725         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60726         PF_X for powerpc64.  Retain PF_X for powerpc32.
60728 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60730         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60731         accurately.
60732         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60733         GETDENTS_64BIT_ALIGNED.
60735 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60737         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60739 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60741         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60742         _GNU_SOURCE.
60744         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60745         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60746         Remove __restrict.
60747         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60748         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60750 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60752         [BZ #11655]
60753         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60754         are initialized.
60756 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60758         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60760 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60762         * po/it.po: Update from translation team.
60764 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60767         unused codes.
60769 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60771         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60773 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60775         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60776         specially.
60777         (gaih_getanswer_slice): Likewise.
60779 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60783 2010-05-31  Petr Baudis  <pasky@suse.cz>
60785         [BZ #11149]
60786         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60787         silently even in the chroot mode.
60789 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60791         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60792         last patch a bit.  Pretty printing
60794 2010-05-31  Petr Baudis <pasky@suse.cz>
60796         [BZ #10085]
60797         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60798         initialization of skip_initgroups_dyn.
60800 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60802         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60803         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60805 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60807         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60809 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60811         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60812         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60813         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60814         ($(objpfx)tst-fnmatch-mem): New rule.
60815         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60816         * posix/tst-fnmatch.c (main): Call mtrace.
60818 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60821         Support Intel processor model 6 and model 0x2c.
60823 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60825         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60826           signed comparison.
60828 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60830         [BZ #12205]
60831         * string/test-strncasecmp.c (check_result): New function.
60832         (do_one_test): Use it.
60833         (check1): New function.
60834         (test_main): Use it.
60835         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60836         Support strcasecmp and strncasecmp.
60838 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60840         [BZ #12194]
60841         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60842         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60844 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60846         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60847         IFUNC support.
60848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60849         memset-x86-64.
60850         * sysdeps/x86_64/multiarch/bzero.S: New file.
60851         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60852         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60853         * sysdeps/x86_64/multiarch/memset.S: New file.
60854         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60856         Set bit_Prefer_SSE_for_memop for Intel processors.
60857         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60858         Define.
60859         (index_Prefer_SSE_for_memop): Define.
60860         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60862 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60864         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60865         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60867 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60869         [BZ #12191]
60870         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60871         (__x86_64_raw_data_cache_size_half): Likewise.
60872         (__x86_64_raw_shared_cache_size): Likewise.
60873         (__x86_64_raw_shared_cache_size_half): Likewise.
60875         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60876         (__x86_64_raw_data_cache_size_half): Likewise.
60877         (__x86_64_raw_shared_cache_size): Likewise.
60878         (__x86_64_raw_shared_cache_size_half): Likewise.
60879         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60880         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60881         and __x86_64_raw_shared_cache_size_half.  Round
60882         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60883         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60884         to multiple of 256 bytes.
60886 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60888         [BZ #12167]
60889         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60890         of inacessible symlinks.  Verify result of symlink before returning it.
60891         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60892         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60894 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60896         * math/math.h (isinf): Fix typo in comment.
60898 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60900         * po/da.po: Update from translation team.
60902 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60904         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60905         is added to the list.
60907 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60908             Ulrich Drepper  <drepper@gmail.com>
60910         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60911         the global list here.  Move code to...
60912         (_dl_add_to_namespace_list): ...here.  New function.
60913         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60914         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60915         * elf/dl-load.c (lose): Don't remove the element from the list.
60916         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60917         (_dl_map_object): Likewise.
60919 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60921         [BZ #12159]
60922         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60923         into all bytes of SSE register.
60924         Patch by Richard Li <richardpku@gmail.com>.
60926 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60928         [BZ #12140]
60929         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60930         perturbing.
60932 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60934         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60935         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60936         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60937         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60939         submachine.
60940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60942 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60944         * include/dlfcn.h (__RTLD_SECURE): Define.
60945         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60946         mode & __RTLD_SECURE instead.
60947         (open_path): Rename preloaded parameter to secure.
60948         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60949         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60950         * elf/dl-deps.c (openaux): Likewise.
60951         * elf/rtld.c (struct map_args): Remove is_preloaded.
60952         (map_doit): Don't use it.
60953         (dl_main): Likewise.
60954         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60955         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60957 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60959         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60960         (sysd-rules-targets): Remove duplicates.
60961         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60962         rtld-%.$o dependency.
60964 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60966         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60967         _dl_map_object do it.
60969 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60971         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60972         fast fma builtins, define the macros in the C99 standard.
60973         (FP_FAST_FMAF): Likewise.
60974         (FP_FAST_FMAL): Likewise.
60975         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60977         * bits/mathdef.h: Update copyright year.
60978         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60980 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60982         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60983         builtins, define the macros in the C99 standard.
60984         (FP_FAST_FMAF): Likewise.
60985         (FP_FAST_FMAL): Likewise.
60986         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60987         multiply/add.
60988         (FP_FAST_FMAF): Likewise.
60990 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60992         [BZ #3268]
60993         * math/libm-test.inc (fma_test): Some new testcases.
60994         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60995         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60996         y and infinite z.  Do multiplication by C already in long double.
60997         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60999         y and infinite z.  Do bitwise or of inexact bit into u.d.
61000         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61001         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61002         * sysdeps/i386/fpu/s_fma.S: Removed.
61003         * sysdeps/i386/fpu/s_fmal.S: Removed.
61005 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61007         [BZ #3268]
61008         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61009         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61010         computation is not scheduled after fetestexcept.  Fix value
61011         of minimum denormal long double.
61013 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61015         [BZ #3268]
61016         * math/libm-test.inc (fma_test): Add some more tests.
61017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61018         correctly.
61020 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61022         * scripts/data/localplt-s390-linux-gnu.data: New file.
61023         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61025 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61027         [BZ #3268]
61028         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61029         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61030         instead of dbl-64.
61031         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61032         inlines.
61033         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61035         if one of x and y is very large and the other is subnormal.
61036         * sysdeps/s390/fpu/s_fmaf.c: New file.
61037         * sysdeps/s390/fpu/s_fma.c: New file.
61038         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61039         * sysdeps/powerpc/fpu/s_fma.S: New file.
61040         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61041         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61042         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61044 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61046         [BZ #3268]
61047         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61048         fma tests.
61049         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61050         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61051         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61052         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61053         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61054         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61055         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61057 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61059         [BZ #12078]
61060         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61061         * posix/bug-regex31.input: Add test case.
61063 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61065         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61066         * posix/bug-regex31.input: New file.
61068         [BZ #12078]
61069         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61070         (parse_sub_exp): Fix last change, use postorder.
61072         * posix/bug-regex31.c: New file.
61073         * posix/Makefile: Add rules to build and run bug-regex31.
61075         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61077         [BZ #12078]
61078         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61080         [BZ #12108]
61081         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61082         to have entries in sys_siglist.
61084         [BZ #12093]
61085         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61086         be NULL.
61088 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61090         [BZ #3268]
61091         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61092         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61093         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61094         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61095         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61096         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61097         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61098         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61099         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61100         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61101         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61102         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61103         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61104         * math/ftestexcept.c (fetestexcept): Likewise.
61105         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61106         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61107         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61108         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61109         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61110         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61111         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61113 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61115         [BZ #12107]
61116         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61117         newline.
61119 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61121         * string/bug-strstr1.c: New file.
61122         * string/Makefile: Add rules to build and run bug-strstr1.
61124 2010-10-05  Eric Blake  <eblake@redhat.com>
61126         [BZ #12092]
61127         * string/str-two-way.h (two_way_long_needle): Always clear memory
61128         when skipping input due to the shift table.
61130 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61132         [BZ #12005]
61133         * malloc/mcheck.c: Handle large requests.
61135         [BZ #12077]
61136         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61137         for strncmp and strncasecmp.
61138         * string/stratcliff.c: Add tests for strcmp and strncmp.
61139         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61141 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61143         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61144         __set_fpscr.
61146 2010-09-30  Andreas Jaeger  <aj@suse.de>
61148         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61149         (CGROUP_SUPER_MAGIC): Define.
61150         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61151         Handle btrfs and cgroup file systems.
61152         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61153         Likewise.
61155 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61157         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61158         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61160 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61162         [BZ #12067]
61163         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61164         trying to locate the ELF header.
61166 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61168         [BZ #11611]
61169         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61170         Mask out sign-bit copies when constructing f_fsid.
61172 2010-09-24  Petr Baudis <pasky@suse.cz>
61174         * debug/stack_chk_fail_local.c: Add missing licence exception.
61175         * debug/warning-nop.c: Likewise.
61177 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61179         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61180         implementing getdents64 using getdents syscall, set d_type if
61181         __ASSUME_GETDENTS32_D_TYPE.
61183 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61185         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61186         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61188 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61190         [BZ #12037]
61191         * posix/unistd.h: Undo change of feature selection for ftruncate from
61192         2010-01-11.
61194 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61196         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61197         detection.
61199 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61201         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61202         fanotify_mark.
61203         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61205 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61207         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61208         variables after CHECK_SP call.
61209         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61211 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61212             Ulrich Drepper  <drepper@redhat.com>
61214         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61215         re-relocationg ld.so.
61216         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61217         _dl_init_paths call.
61218         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61219         here anymore.
61221 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61223         * resolv/res_init.c (__res_vinit): Count the default server we added.
61225 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61226             Ulrich Drepper  <drepper@redhat.com>
61228         [BZ #11968]
61229         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61230         (____longjmp_chk): Use %ebx for saving value across system call.
61231         Add unwind info.
61233 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61235         * manual/Makefile: Don't mix pattern rules with normal rules.
61237 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61239         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61240         operation.
61241         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61242         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61243         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61244         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61245         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61246         Likewise.
61248 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61250         [BZ #11979]
61251         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61252         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61254 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61256         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61257         * sysdeps/x86_64/addmul_1.S: Likewise.
61258         * sysdeps/x86_64/lshift.S: Likewise.
61259         * sysdeps/x86_64/mul_1.S: Likewise.
61260         * sysdeps/x86_64/rshift.S: Likewise.
61261         * sysdeps/x86_64/sub_n.S: Likewise.
61262         * sysdeps/x86_64/submul_1.S: Likewise.
61264 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61266         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61267         Define __sched_param instead of SCHED_* and sched_param when
61268         <bits/sched.h> is included with __need_schedparam defined.
61269         * bits/sched.h [__need_schedparam]
61270         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61271         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61272         (__defined_schedparam): Define to 1.
61273         (__sched_param): New structure, identical to sched_param.
61274         (__need_schedparam): Undefine.
61276 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61278         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61279         (epoll_create1): Declare.
61281         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61283 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61285         [BZ #7066]
61286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61287         shifting retval into place.
61289 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61291         * nis/rpcsvc/nis.h: Update copyright notice.
61292         * nis/rpcsvc/nis.x: Likewise.
61293         * nis/rpcsvc/nis_callback.h: Likewise.
61294         * nis/rpcsvc/nis_callback.x: Likewise.
61295         * nis/rpcsvc/nis_object.x: Likewise.
61296         * nis/rpcsvc/nis_tags.h: Likewise.
61297         * nis/rpcsvc/yp.h: Likewise.
61298         * nis/rpcsvc/yp.x: Likewise.
61299         * nis/rpcsvc/ypupd.h: Likewise.
61300         * nis/yp_xdr.c: Likewise.
61301         * nis/ypupdate_xdr.c: Likewise.
61303         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61304         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61305         (pmap_getport): Use __libc_rpc_getport.
61306         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61307         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61308         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61310 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61313         fanotify_mark.
61315 2010-08-27  Roland McGrath  <roland@redhat.com>
61317         * sysdeps/i386/i686/multiarch/Makefile
61318         (CFLAGS-varshift.c): New variable.
61320 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61322         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61323         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61325         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61327         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61329 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61331         * sysdeps/x86_64/strlen.S: Unroll the loop.
61332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61333         strlen-sse2 strlen-sse2-bsf.
61334         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61335         __strlen_no_bsf if bit_Slow_BSF is set.
61336         (__strlen_sse42): Removed.
61337         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61338         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61340 2010-08-25  Roland McGrath  <roland@redhat.com>
61342         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61343         * sysdeps/x86_64/multiarch/varshift.c: New file.
61344         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61345         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61346         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61347         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61349 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61351         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61352         strlen-sse2 strlen-sse2-bsf.
61353         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61354         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61355         (__strlen_sse2): Removed.
61356         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61357         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61359         bit_Slow_BSF for Atom.
61360         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61361         (index_Slow_BSF): Define.
61362         (HAS_SLOW_BSF): Define.
61364 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61366         [BZ #10851]
61367         * resolv/res_init.c (__res_vinit): When no server address at all
61368         is given default to loopback.
61370 2010-08-24  Roland McGrath  <roland@redhat.com>
61372         * configure.in: Remove config-name.h generation.
61373         * configure: Regenerated.
61374         * config-name.in: File removed.
61375         * scripts/config-uname.sh: New file.
61376         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61377         ($(objdir)config-name.h): New target.
61379         * sunrpc/rpc_parse.h: Avoid nested comment.
61381 2010-08-24  Richard Henderson  <rth@redhat.com>
61382             Ulrich Drepper  <drepper@redhat.com>
61383             H.J. Lu  <hongjiu.lu@intel.com>
61385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61387         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61388         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61389         _mm_alignr_epi8 with _mm_loadu_si128.
61390         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61391         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61392         (__m128i_shift_right): Removed.
61393         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61394         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61395         * sysdeps/x86_64/multiarch/varshift.h: New file.
61396         * sysdeps/x86_64/multiarch/varshift.S: New file.
61398 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61400         * configure.in: Move assembler checks to before sysdep dir checking.
61402 2010-08-20  Petr Baudis  <pasky@suse.cz>
61404         * LICENSES: Sync the sunrpc license.
61406 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61408         * sunrpc/auth_des.c: Update copyright notice once again.
61409         * sunrpc/auth_none.c: Likewise.
61410         * sunrpc/auth_unix.c: Likewise.
61411         * sunrpc/authdes_prot.c: Likewise.
61412         * sunrpc/authuxprot.c: Likewise.
61413         * sunrpc/bindrsvprt.c: Likewise.
61414         * sunrpc/clnt_gen.c: Likewise.
61415         * sunrpc/clnt_perr.c: Likewise.
61416         * sunrpc/clnt_raw.c: Likewise.
61417         * sunrpc/clnt_simp.c: Likewise.
61418         * sunrpc/clnt_tcp.c: Likewise.
61419         * sunrpc/clnt_udp.c: Likewise.
61420         * sunrpc/clnt_unix.c: Likewise.
61421         * sunrpc/des_crypt.c: Likewise.
61422         * sunrpc/des_soft.c: Likewise.
61423         * sunrpc/get_myaddr.c: Likewise.
61424         * sunrpc/getrpcport.c: Likewise.
61425         * sunrpc/key_call.c: Likewise.
61426         * sunrpc/key_prot.c: Likewise.
61427         * sunrpc/openchild.c: Likewise.
61428         * sunrpc/pm_getmaps.c: Likewise.
61429         * sunrpc/pm_getport.c: Likewise.
61430         * sunrpc/pmap_clnt.c: Likewise.
61431         * sunrpc/pmap_prot.c: Likewise.
61432         * sunrpc/pmap_prot2.c: Likewise.
61433         * sunrpc/pmap_rmt.c: Likewise.
61434         * sunrpc/rpc/auth.h: Likewise.
61435         * sunrpc/rpc/auth_unix.h: Likewise.
61436         * sunrpc/rpc/clnt.h: Likewise.
61437         * sunrpc/rpc/des_crypt.h: Likewise.
61438         * sunrpc/rpc/key_prot.h: Likewise.
61439         * sunrpc/rpc/netdb.h: Likewise.
61440         * sunrpc/rpc/pmap_clnt.h: Likewise.
61441         * sunrpc/rpc/pmap_prot.h: Likewise.
61442         * sunrpc/rpc/pmap_rmt.h: Likewise.
61443         * sunrpc/rpc/rpc.h: Likewise.
61444         * sunrpc/rpc/rpc_des.h: Likewise.
61445         * sunrpc/rpc/rpc_msg.h: Likewise.
61446         * sunrpc/rpc/svc.h: Likewise.
61447         * sunrpc/rpc/svc_auth.h: Likewise.
61448         * sunrpc/rpc/types.h: Likewise.
61449         * sunrpc/rpc/xdr.h: Likewise.
61450         * sunrpc/rpc_clntout.c: Likewise.
61451         * sunrpc/rpc_cmsg.c: Likewise.
61452         * sunrpc/rpc_common.c: Likewise.
61453         * sunrpc/rpc_cout.c: Likewise.
61454         * sunrpc/rpc_dtable.c: Likewise.
61455         * sunrpc/rpc_hout.c: Likewise.
61456         * sunrpc/rpc_main.c: Likewise.
61457         * sunrpc/rpc_parse.c: Likewise.
61458         * sunrpc/rpc_parse.h: Likewise.
61459         * sunrpc/rpc_prot.c: Likewise.
61460         * sunrpc/rpc_sample.c: Likewise.
61461         * sunrpc/rpc_scan.c: Likewise.
61462         * sunrpc/rpc_scan.h: Likewise.
61463         * sunrpc/rpc_svcout.c: Likewise.
61464         * sunrpc/rpc_tblout.c: Likewise.
61465         * sunrpc/rpc_util.c: Likewise.
61466         * sunrpc/rpc_util.h: Likewise.
61467         * sunrpc/rpcinfo.c: Likewise.
61468         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61469         * sunrpc/rpcsvc/key_prot.x: Likewise.
61470         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61471         * sunrpc/rpcsvc/mount.x: Likewise.
61472         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61473         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61474         * sunrpc/rpcsvc/rex.x: Likewise.
61475         * sunrpc/rpcsvc/rstat.x: Likewise.
61476         * sunrpc/rpcsvc/rusers.x: Likewise.
61477         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61478         * sunrpc/rpcsvc/spray.x: Likewise.
61479         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61480         * sunrpc/rtime.c: Likewise.
61481         * sunrpc/svc.c: Likewise.
61482         * sunrpc/svc_auth.c: Likewise.
61483         * sunrpc/svc_authux.c: Likewise.
61484         * sunrpc/svc_raw.c: Likewise.
61485         * sunrpc/svc_run.c: Likewise.
61486         * sunrpc/svc_simple.c: Likewise.
61487         * sunrpc/svc_tcp.c: Likewise.
61488         * sunrpc/svc_udp.c: Likewise.
61489         * sunrpc/svc_unix.c: Likewise.
61490         * sunrpc/svcauth_des.c: Likewise.
61491         * sunrpc/xcrypt.c: Likewise.
61492         * sunrpc/xdr.c: Likewise.
61493         * sunrpc/xdr_array.c: Likewise.
61494         * sunrpc/xdr_float.c: Likewise.
61495         * sunrpc/xdr_mem.c: Likewise.
61496         * sunrpc/xdr_rec.c: Likewise.
61497         * sunrpc/xdr_ref.c: Likewise.
61498         * sunrpc/xdr_sizeof.c: Likewise.
61499         * sunrpc/xdr_stdio.c: Likewise.
61501         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61502         handling.
61504 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61506         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61508 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61510         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61511         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61512         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61513         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61514         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61515         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61516         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61517         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61518         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61519         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61520         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61521         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61522         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61523         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61525 2010-07-26  Anton Blanchard  <anton@samba.org>
61527         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61528         * malloc/arena.c (heap_trim): Likewise.
61530 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61532         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61533         here.  Not...
61534         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61535         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61537 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61539         * sysdeps/i386/elf/Makefile: New file.
61541 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61543         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61544         from fanotify_init.
61545         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61546         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61548 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61550         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61551         of strncasecmp_l.
61552         * sysdeps/multiarch/strcmp.S: Likewise.
61554 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61556         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61557         strncase_l-nonascii.
61558         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61559         Add strncase_l-ssse3.
61560         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61561         * sysdeps/x86_64/strcmp.S: Likewise.
61562         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61563         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61564         * sysdeps/x86_64/strncase.S: New file.
61565         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61566         * sysdeps/x86_64/strncase_l.S: New file.
61567         * string/Makefile (strop-tests): Add strncasecmp.
61568         * string/test-strncasecmp.c: New file.
61570         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61571         warning.
61573         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61574         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61576 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61578         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61580 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61582         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61583         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61584         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61586 2010-05-01  Alan Modra  <amodra@gmail.com>
61588         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61589         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61590         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61591         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61592         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61593         tidying.  Don't tail-call __sigjmp_save for static lib.
61594         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61595         save location.
61596         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61597         (CALL_MCOUNT): Add eh info, and nop after bl.
61598         (TAIL_CALL_SYSCALL_ERROR): New macro.
61599         (PSEUDO_RET): Use it.
61600         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61601         Correct save location of integer regs and cr.
61602         (_dl_profile_resolve): Correct cr save location.  Delete nops
61603         after bl when SHARED.  Reduce cfi size a little by better
61604         placement of cfi directives.
61605         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61606         make a stack frame.  Instead use parm save area as a temp.
61607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61608         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61610         Don't make a stack frame for parent, use parm save area.
61611         Increase child stack frame to 112 bytes.  Don't save unused reg,
61612         and adjust reg usage.  Set up cfi on error recovery and
61613         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61615         (__makecontext): Add dummy nop after jump to exit.
61616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61617         Use correct parm save area and cr save, reduce stack frame.
61618         Correct cfi for possible PSEUDO_RET frame setup.
61619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61620         Branch to local label emitted by PSEUDO_RET rather than
61621         __syscall_error.
61623 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61625         [BZ #11904]
61626         * locale/programs/locale.c (print_assignment): New function.
61627         (show_locale_vars): Use it.
61629 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61631         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61632         field.
61633         (struct statfs64): Likewise.
61634         (_STATFS_F_FLAGS): Define.
61635         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61636         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61637         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61638         (ST_VALID): Define locally.
61639         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61640         __statvfs_getflags, use the provided value.
61641         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61642         __ASSUME_STATFS_F_FLAGS.
61644         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61646         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61647         Add sys/fanotify.h.
61648         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61649         fanotify_mask for GLIBC_2.13.
61650         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61651         fanotify_init and fanotify_mark.
61652         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61653         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61655         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61656         Add prlimit.
61657         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61658         prlimit64 for GLIBC_2.13.
61659         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61660         prlimit64.
61661         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61662         syscall.
61663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61664         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61665         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61666         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61667         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61668         add prlimit alias.
61669         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61671         [BZ #11903]
61672         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61673         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61675         * nss/Makefile: Add rules to build and run tst-nss-test1.
61676         * shlib-versions: Add entry for libnss_test1.
61677         * nss/nss_test1.c: New file.
61678         * nss/tst-nss-test1.c: New file.
61680         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61681         (__nss_configure_lookup): Set appropriate entry in
61682         __nss_configure_lookup to true.
61683         * nss/nsswitch.h: Define enum with indeces of databases in
61684         databases and __nss_database_custom arrays.  Declare
61685         __nss_database_custom.
61686         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61687         to avoid using nscd when custom rules are installed.
61688         * nss/getXXbyYY_r.c: Likewise.
61689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61691         * nss/nss_files/files-parse.c: Whitespace fixes.
61693 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61695         [BZ #11883]
61696         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61697         * posix/fnmatch_loop.c: Likewise.
61699 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61701         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61702         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61703         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61704         * Versions.def [GLIBC_2.13]: Add.
61706 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61708         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61709         Also fail if tpwd after pwuid call is NULL.
61711 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61713         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61714         when converting to ms.
61716 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61718         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61719         EOPNOTSUPP errors with ENOTTY.
61720         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61721         EOPNOTSUPP errors with ENOTTY.
61723 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61725         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61726         Add strcasecmp_l-ssse3.
61727         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61728         strcasecmp.
61729         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61730         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61731         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61733 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61735         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61737         * string/Makefile (strop-tests): Add strcasecmp.
61738         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61739         strcasecmp_l-nonascii.
61740         (gen-as-const-headers): Add locale-defines.sym.
61741         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61742         * sysdeps/x86_64/strcasecmp.S: New file.
61743         * sysdeps/x86_64/strcasecmp_l.S: New file.
61744         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61745         * sysdeps/x86_64/locale-defines.sym: New file.
61746         * string/test-strcasecmp.c: New file.
61748         * string/test-strcasestr.c: Test both ends of the range of characters.
61749         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61751 2010-07-29  Roland McGrath  <roland@redhat.com>
61753         [BZ #11856]
61754         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61756 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61758         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61759         for ld.so.
61761 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61763         * manual/memory.texi (Malloc Tunable Parameters): Document
61764         M_PERTURB.
61766 2010-07-26  Roland McGrath  <roland@redhat.com>
61768         [BZ #11840]
61769         * configure.in (-fgnu89-inline check): Set and substitute
61770         gnu89_inline, not libc_cv_gnu89_inline.
61771         * configure: Regenerated.
61772         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61774 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61776         * string/test-strnlen.c: New file.
61777         * string/Makefile (strop-tests): Add strnlen.
61778         * string/tester.c (test_strnlen): Add a few more test cases.
61779         * string/tst-strlen.c: Better error reporting.
61781         * sysdeps/x86_64/strnlen.S: New file.
61783 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61785         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61786         lower-latency instructions.
61788 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61790         * string/test-strcasestr.c: New file.
61791         * string/test-strstr.c: New file.
61792         * string/Makefile (strop-tests): Add strstr and strcasestr.
61793         * string/str-two-way.h: Don't undefine MAX.
61794         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61796 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61798         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61799         strcasestr-nonascii.
61800         (CFLAGS-strcasestr-nonascii.c): Define.
61801         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61802         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61803         Remove unused attribute.
61805 2010-07-20  Roland McGrath  <roland@redhat.com>
61807         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61808         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61809         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61810         like LD_HWCAP_MASK can disable hwcaps.
61812 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61814         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61816 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61818         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61819         call in strcasestr.
61820         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61821         __strcasestr_sse42_nonascii.
61822         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61823         strcasestr-nonascii.c.
61824         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61826 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61828         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61829         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61830         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61831         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61833 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61835         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61836         fcntl.
61838 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61840         [BZ #11577]
61841         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61842         dl_signal_cerror.
61844 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61846         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61847         _PC_PIPE_BUF using F_GETPIPE_SZ.
61849 2010-07-05  Roland McGrath  <roland@redhat.com>
61851         * manual/arith.texi (Rounding Functions): Fix rint description
61852         implicit in round description.
61854 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61856         * elf/Makefile: Fix linking for a few tests to make recent linker
61857         happy.
61859 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61861         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61862         $(common-objpfx)libc_nonshared.a.
61864 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61866         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61867         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61868         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61869         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61870         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61871         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61872         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61873         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61888         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61889         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61890         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61891         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61892         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61893         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61894         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61895         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61896         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61897         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61898         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61899         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61915 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61917         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61918         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61919         * string/memmove.c (memmove): Renamed to ...
61920         (MEMMOVE): ...this.  Default to memmove.
61921         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61922         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61923         (END_CHK): Define.
61924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61925         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61926         mempcpy-ssse3-back memmove-ssse3-back.
61927         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61928         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61929         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61930         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61931         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61932         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61933         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61934         * sysdeps/x86_64/multiarch/memmove.c: New file.
61935         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61936         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61937         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61938         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61939         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61940         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61941         Define.
61942         (index_Fast_Copy_Backward): Define.
61943         (HAS_ARCH_FEATURE): Define.
61944         (HAS_FAST_REP_STRING): Define.
61945         (HAS_FAST_COPY_BACKWARD): Define.
61947 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61949         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61950         Restore proper fallback handling.
61952 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61954         [BZ #11701]
61955         * posix/group_member.c (__group_member): Correct checking loop.
61957         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61958         OOM in getpwuid_r correctly.  Return error number when the caller
61959         should return, otherwise -1.
61960         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61961         call returning > 0 value.
61962         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61964 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61966         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61967         libc_nonshared.a from targets in modules-names.
61969 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61971         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61972         requires it.
61974 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61976         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61977         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61978         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61979         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61981 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61983         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61985 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61987         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61988         and F_GETPIPE_SZ.
61989         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61990         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61991         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61993         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61994         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61996 2010-06-14  Roland McGrath  <roland@redhat.com>
61998         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62000 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62002         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62003         __REDIRECT followed by __THROW.
62004         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62005         * posix/getopt.h (getopt): Likewise.
62007 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62009         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62010         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62011         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62012         in AT_FLAGS.
62013         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62014         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62016 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62018         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62020 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62022         [BZ #11640]
62023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62024         Properly check family and model.
62026 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62028         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62030 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62032         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62034 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62036         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62037         symbol reference.
62039 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62041         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62042         symbol reference.
62044 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62046         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62047         and internal_recvmmsg.
62048         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62049         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62050         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62051         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62053         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62054         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62055         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62057 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62059         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62061 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62063         POWER7 optimizations.
62064         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62065         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62067 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62069         * version.h: Update for 2.13 development version.
62071 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62073         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62074         exceptions.  Return 0.
62076 2010-05-07  Roland McGrath  <roland@redhat.com>
62078         * elf/ldconfig.c (main): Add a const.
62080 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62082         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62083         (args_options): Add no-idn option.
62084         (ahosts_keys_int): Add idn_flags to ai_flags.
62085         (parse_option): Handle 'i' option to clear idn_flags.
62087         * malloc/malloc.c (_int_free): Possible race in the most recently
62088         added check.  Only act on the data if no current modification
62089         happened.
62091 See ChangeLog.17 for earlier changes.